JIO SIP trunk configuration in Asterisk PBX
TOPIC : How to configure JIO sip trunk in asterisk
About JIO SIP trunk :
JIO sip trunk details:
Once you have purchased the new jio sip trunk, you will be provided with below details
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: JIO SIP Proxy Static route
SIP proxy ip :100.64.216.4Media IP :100.64.216.4
ServerIP : 100.65.161.116
gateway ip :100.65.161.113
interface : Eth1
ip route add 100.64.216.4 via 100.65.161.113 dev eth1ip route add 100.64.216.5 via 100.65.161.113 dev eth1
ip route showorroute -n
Step 3: JIO SIP peer configuration sip.conf
Step 4: asterisk dialplan for jio sip
Note: The key factor to dial out via JIO , you need to set proper caller-id while dialing out.Use the below dialplan , alter according to your requirement.
For vanilla Asterisk :
exten => _X.,1,Set(CALLERID(num)=+914412345678);+914412345678 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
exten => _X.,1,AGI(agi://127.0.0.1:4577/call_log)exten => _X.,2,Set(CALLERID(num)=+914412345678)exten => _X.,3,Dial(SIP/jiosiptrunk/${EXTEN},,tTo)exten => _X.,4,Hangup
If you want individual CID for each user make sure each user extension is configured with outbound callerid with there DID number.
For Freepbx, you need create outbound route , with necessary Dial pattern and make sure to set the ROUTE CID (either pilot or DID numbers)
Conclusion:
Hope the above tutorial is helpful to configure the JIO siptrunk in your sip server.
For professional support reach me via skype: striker24x7
Youtube Channel : https://www.youtube.com/c/striker24x7