Jola SIP Trunk - Asterisk

Jola SIP Trunk - Asterisk

Chan_SIP Configuration

There are two different ways you can connect, IP Auth SIP trunk and Username/Password Registration Trunk.


IP Auth Configuration

Add the following lines to sip.conf, change the values as required.



host=<SIP Gateway IP>
context=sip-in
type=peer
nat=yes


Username/Password Configuration

Add the following lines to sip.conf, change the values as required.



host=registrar.zapappi.net
fromdomain=registrar.zapappi.net
type=peer
disallow=all
allow=ulaw
allow=alaw
uesrname=<Username Provided>
defaultuser=<Username Provided>
secret=<Password Provided>
context=sip-in
sendrpid=yes
insecure=port,invite
directmedia=no
nat=yes


Now we need to add a registration statement to tell Asterisk to register the SIP trunk. This enables you to receive calls from that trunk.


In sip.conf add the following line (replace where required).

register => <user>:<secret>@registrar.zapappi.net


Now either restart asterisk or login to the asterisk console and do 'reload'.


Firewall Settings (Guideline)

Below is a guideline for firewall settings for IP Authenticated SIP trunks using Asterisk. The standard RTP ports for Asterisk are 10,000-20,000, however, if you've changed them in rtp,conf, you should open the range you've set there and not the ones outlines below.


Protocol
Direction
Port Range
Source
Destination
Description
UDP
Inbound
10,000-20,000
Anywhere (0.0.0.0)
LAN IP of Asterisk
RTP Media Range
UDP
Inbound
5060
SIP Gateway Assigned to Customer
LAN IP of Asterisk
SIP Signalling Port

    • Related Articles

    • Jola SIP Trunk - 3CX

      Create your SIP Trunk on 3CX first. In the 3CX Management Console menu, select “SIP Trunks” > “Add SIP Trunk.” Select the Country that the VoIP provider operates in. Select the “Generic” option in Country drop-down menu and then choose between ...
    • SIP Manager Teams Purchase and Config v3

      Guide to using SIP Manager and the Microsoft 365 Admin Centre to Order and Configure Teams ‘Direct Routing’ There are 8 stages in the Teams Purchase wizard on SIP Manager: 1. Provisioning Pre-Requisites 2. Tenant Details 3. Tenant Details ...
    • Jola SIP Restrictions

      We do restrict SIP Trunks to a Price Per call bar, to opt out of this please contact Support@jola.co.uk There are also restrictions on calling specific countries, this is to prevent any fraudulent calls. This list consists of the following countries; ...
    • SIP Overlay Technicolor Interoperability

      SIP Overlay Interoperability of Technicolor Routers The following guide explains how to enable Jola SIP Overlay on Technicolor routers. Please note that Jola may provide technical support, however, we are not responsible for the compatibility of ...
    • Guide to Jola SIP Manager SMS 2FA

      Guide to Jola SIP Manager SMS Two-Factor Authentication Jola SMS Two-Factor Authentication is a feature on the SIP Manager portal that adds additional layer of security beyond just a password, making it harder for unauthorised users to gain access to ...