Skip to content

how to configure JIO PJSIP trunk in asterisk vicidial freepbx

    how to configure JIO PJSIP trunk in asterisk vicidial freepbx

    Step by step guide to configure the JIO PJSIP trunk in asterisk vicidial freepbx. if you have purchased JIO PJSIP trunk and facing trouble in configuring the trunk in asterisk based dialers and pbx like vicidial, goautodial, freepbx then this article is for you, flow the below steps to configure the JIO VOIP pjsip trunk

    Who is JIO? 

        If you are looking for JIO PJSIP trunk configuration in asterisk or vicidial then this blog post is for you. In this tutorial i have provided asterisk pjsip configuration for JIO PJSIP trunk.

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

    JIO PJSIP Network Settings:

        JIO PJSIP trunk is provided with a dedicated network from JIO network service, that is you will be provided with a router with dedicated subnet, either you need to have two ethernet interface in your dialer to connect to jio network and also connect to your existing network, or you need to have a router which can support two networks with proper routing.

    Check out by jio sip trunk configuration blog for Network connectivity required for the JIO network and Asterisk server.

    JIO pjsip Carrier details:

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

    DID numbers

    Pilot number
    SIP gateway IP & Media IP
    Jio Network subnet range (server IP,subnet, gateway IP)

    Asterisk – Vicidial PJSIP Settings for JIO

        If you are using Plain asterisk or configuring the trunks in command line, then add the below PJSIP settings in pjsip.conf which is located in the /etc/asterisk/ folder.

        If you are using vicidial then add all the pjsip settings mentioned here under the same carrier Account settings.

    Note:  you no need to add any registration string for the pjsip trunks.

                Replace IP address 

    [jiosiptrunk]
    type=aor
    qualify_frequency=60
    contact=sip:jiosiptrunk@100.64.24.4:5060

    [jiosiptrunk]
    type=endpoint

    transport=0.0.0.0-udp
    context=from-trunk
    disallow=all
    allow=ulaw,alaw,gsm,g726,g722
    aors=jiosiptrunk
    send_connected_line=false
    language=en
    t38_udptl=no
    t38_udptl_ec=none
    fax_detect=no

    trust_id_inbound=no
    t38_udptl_nat=no
    direct_media=no
    rtp_symmetric=yes
    dtmf_mode=rfc4733

    [jiosiptrunk]
    type=identify
    endpoint=jiosiptrunk
    match=100.64.24.4

    Asterisk PJSIP Dialplan

        Use the below dialplan to dial over the jio trunk with PJSIP dialplan application.

    If you are using the Asterisk and manging over command line, then add this dialplan in extensions.conf under your preferred outbound context,  

    For vicidial users add this dialplan in same carriers settings under Dialplan Entry

    dial plan for Vicidial Users

    exten => _9X.,1,AGI(agi://127.0.0.1:4577/call_log) 

    exten => _9X.,n,Hangup()

    dialpal for plain asterisk users

    exten => _9X.,1,Dial(PJSIP/${EXTEN:1}@jiosiptrunk,30,Tto) 

    Conclusion:

        Hope this article is helpful for you, if you like this post kindly share and follow.

    Still you are facing issue or need a professional support reach out to be me on skype or telegram – id: striker24x7

    Leave a Reply

    Your email address will not be published. Required fields are marked *