To configure JIO sip trunk in asterisk (vicidial/freepbx)- CloudsDial

  • Reliance JIO SIP Trunk configuration in asterisk based Telephony servers.

    JIO SIP trunk:

    Reliance Jio Leading telecom vendor in INDIA, who also provides ISDN/E1 trunk via Ethernet in SIP Protocol (ie VOIP) to customer similar to SIP trunk provided by TATA/AIRTEL.

    As shown in the picture below JIO provides a dedicate network to connect to there SIP gateway to register the SIP trunk.

    Either you need to have dedicate ethernet port in asterisk server to connect to jio network, or redesign the network setup to opt to JIO subnet.

    Details provided by Jio:

    Once you have purchased  the new jio sip trunk, you will be provided with below details

    1. DID numbers

    2. Pilot number

    3. SIP gateway IP

    4. Jio Network subnet range

    Step 1: Network Connection

    As show in picture above ,connect your Asterisk server to the JIO network and assign the IP address from the subnet provided by jio either to a second ethernet or existing ethernet port(based on your network design). The network configuration is not covered here , it might defer between OS type you are using, but concept is same.

    Step 2:  Network route to JIO gateway (optional)

    If you are connecting JIO to your existing networks as pre the picture shown, then you might need a dedicate route to reach the JIO gateway and also media ip. Strict RTP switching to RTP target address. Check your OS network settings to set static route to jio network.

    Step 3: SIP trunk peer settings.

    Once you have setup the network , make sure you are able to reach the JIO gateway and SIP gateway ip by ping command.

    enter the below sip settings in you asterisk sip.conf,  if are using Freepbx you can create the same in Gui trunk settings, similar for vicidial/goautodial under carrier settings.








    host=100.XXX.XXX.XXX ;this is jio sip gateway ip

    fromdomain=100.XXX.XXX.XXX ;this is jio sip gateway ip




    context=from-trunk  ;context to receive inbound calls




    Step 4: Dialplan to dial out

    The key factor to dial out via JIO , you need to set proper callerid while dialing out.

    Use the below dialplan , alter according to your requirement.

    For Vanilla Asterisk :


    exten => _X.,1,Set(CALLERID(num)=+914412345678)

    ;4412345678 is my pilot no, you have to enter your pilot no or any number from the DID range

    exten => _X.,2,Dial(SIP/jiosiptrunk/${EXTEN})

    exten => _X.,3,Hangup


    Vicidial / Goautodial


    exten => _X.,1,AGI(agi://

    exten => _X.,2,Set(CALLERID(num)=4412345678)

    ;4412345678 is my pilot no, you have to enter your pilot no or any number from the DID range

    exten => _X.,3,Dial(SIP/jiosiptrunk/${EXTEN},,tTo)

    exten => _X.,4,Hangup


    Thanks for reading our content. to know more about our services, kindly visit our website:

    CloudsDial Solutions Pvt Ltd

    Mail: [email protected]

    Skype ID: sivakumar.s07

    Youtube Link:


    NO:85 3rd FLOOR,



    PORUR, CHENNAI 600116.
    Contact-No: 8608522333