JIO SIP Trunk configuration in asterisk based Telephony servers

1 Answer(s)

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 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 2: 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 3: Dialplan to dial out

Note: 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


For Freepbx, you need create outbound route , with necessary Dial pattern and make sure to set the ROUTE CID (either pilot or DID numbers)

if  you want individual CID for each user make sure each user extension is configured with outbound callerid with there DID number.


Answered on January 10, 2021.
Add Comment

Your Answer

By posting your answer, you agree to the privacy policy and terms of service.