I have the following settings in my carrier .. its working fine, but I am not sure they are completely correct .. not sure how to use the Global String .. also I think there are lots of extra entries in the Account Entry
Carrier ID: 1001
Carrier Name: MyCarrier01
Registration String: register => UXXX:PYYY@IP:5040/UXXX
Account Entry
- Code: Select all
[T1001]
disallow=all
allow=alaw
allow=ulaw
allow=g729
type=friend
username=UXXX
secret=PYYY
host=IP
port=5040
dtmfmode=rfc2833
qualify=yes
insecure=very
nat=no
Protocol: SIP
Globals String: GS_ABC = SIP/T1001
Dialplan Entry:
- Code: Select all
exten => _944XXXXXXXX.,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _944XXXXXXXX.,2,Dial(SIP/${EXTEN:1}@T1001,20,tTor)
exten => _944XXXXXXXX.,3,Hangup
I know the common saying "if it ain't broke, don't fix it", but we are going to deploy a 10 servers cluster, so want to make sure its optimize.