SBC IP:- 100.64.216.4
PORT:- 5060
CUBE/CLIENT IP:- 100.65.130.205
NET MASK :- 255.255.255.240
GATEWAY:- 100.65.130.193
[JIOSIP]
disallow=all
allow=ulaw
allow=alaw
type=friend
dtmfmode=rfc2833
context=trunkinbound
qualify=yes
insecure=port
nat=yes
host=100.64.216.4
fromdomain=100.65.130.205 ; required for DID num
username=7935344XXX
fromuser=+917935344XXX
sendrpid=yes
trustrpid=yes
canreinvite=no
exten => _9X.,1,AGI(agi://127.0.0.1:
exten => _9X.,2,Set(CALLERID(num)= +7935344XXX)
;or if you want to use Camp Callerid or CID group
;exten => _9X.,2,Set(CALLERID(num)=+${CALLERID(num)})
exten => _9X.,3,Dial(SIP/0${EXTEN:1}@JIOSIP,,tTo)
exten => _9X.,4,Hangup
Add below entry in crontab change eth0 according your NIC.
@reboot /usr/bin/route add 100.64.216.4 gw 100.65.130.193 dev eth0
@reboot /usr/bin/route add 100.64.216.5 gw 100.65.130.193 dev eth0
@reboot /usr/bin/route add 100.64.216.0 gw 100.65.130.193 dev eth0
Comments
Post a Comment