register => +917949031XXX@gj.ims.airtel.in:XXXXXne#1:+917949031XXX@gj.ims.airtel.in@10.5.110.101/+917949031XXX
[AirtelSIP]
disallow=all
allow=all
type=friend
dtmfmode=rfc2833
qualify=yes
nat=force_rport,comedia
insecure=invite,port
host=gj.ims.airtel.in
username=+917949031XXX@gj.ims.airtel.in
secret=XXXXX#1
fromdomain=gj.ims.airtel.in
defaultexpirey=120
canreinvite=no
context=trunkinbound
maxexpiry=600
progressinband=yes
exten => _65X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _65X.,n,SipAddHeader(P-Preferred-Identity: <sip:+917949031XXX@gj.ims.airtel.in>)
exten => _65X.,n,Progress()
exten => _65X.,n,Dial(SIP/${EXTEN:2}@AirtelSIP,,tTo)
exten => _65X.,n,Hangup()
for custom callerid
;;;;USE CALLER IN HEADER as AIRTEL REQUIRED CID IN HEADER
exten => _67X.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _67X.,n,Set(CALLERID(num)=+${CALLERID(num)})
exten => _67X.,n,SipAddHeader(P-Preferred-Identity:<sip:+${CALLERID(num)}@mu.ims.airtel.in>)
exten => _67X.,n,Progress()
exten => _67X.,n,Dial(SIP/0${EXTEN:2}@AirtelSIP,,tTo)
exten => _67X.,n,Hangup()
Comments
Post a Comment