JIO pjsip Carrier details:
DID numbers
Pilot numberSIP 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.
[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,Dial(PJSIP/${EXTEN:1}@jiosiptrunk,30,Tto)
exten => _9X.,n,Hangup()
dialpal for plain asterisk users
exten => _9X.,1,Dial(PJSIP/${EXTEN:1}@jiosiptrunk,30,Tto)
exten => _9X.,n,Hangup()
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: manish.kadiya
Comments
Post a Comment