I've been trying to figure out what's wrong in this setting , whenever i tried to dial out , I'm ending with auto-congestion , I already tried setting qualify=(specific number ) or no but still having problems. This same trunk is being used on a FreePBX and working , my problem was making it work on our vicidial dialer. I already specify ulaw as codec on soft phone and IP phone
- Code: Select all
[trunkname]
username=username
type=peer
secret=password
reinvite=yes
realm=voice.mibroadband.com.au
qualify=yes
insecure=invite,port
host=trunk.engin.com.au
fromdomain=trunk.engin.com.au
fromuser=xxxxxxxx
disallow=all
allow=ulaw
dtmfmode=rfc2833
auth=md5
canreinvite=no
- Code: Select all
register => username:password@trunk.engin.com.au/xxxxxxx
- Code: Select all
engin2 = SIP/trunkname
- Code: Select all
Dial Plan
exten => _80XXXXXXXXX,1,AGI(agi://127.0.0.1:4577/call_log)
exten => _80XXXXXXXXX,2,Dial(SIP/engin2/${EXTEN:1},,tTor)
exten => _80XXXXXXXXX,3,Hangup
- Code: Select all
[Aug 16 20:49:05] NOTICE[18523]: chan_sip.c:13822 handle_response_peerpoke: Peer 'trunkname' is now Reachable. (341ms / 2000ms)
SIP show peers
trunkname/username 203.161.160.71 N 5060 OK (341 ms)
SIP show registry
trunk.engin.com.au:5060 username 3585 Registered Fri, 16 Aug 2013 20:49:01 [color=#FF0000]<< does this mean something? Refresh is 3585[/color]
- Code: Select all
[b]CLI LOG[/b]
-- Executing [80XXXXXXXXX@default:1] AGI("SIP/2010-00000002", "agi://127.0.0.1:4577/call_log") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log completed, returning 0
-- Executing [80XXXXXXXXX@default:2] Dial("SIP/2010-00000002", "SIP/engin2/0XXXXXXXXX||tTor") in new stack
-- Called engin2/0734145060
[Aug 16 20:37:42] NOTICE[14437]: chan_sip.c:3245 auto_congest: Auto-congesting SIP/engin2-00000003
-- SIP/engin2-00000003 is circuit-busy
== Everyone is busy/congested at this time (1:0/1/0)
-- Executing [80XXXXXXXXX@default:3] Hangup("SIP/2010-00000002", "") in new stack
== Spawn extension (default, 80XXXXXXXXX, 3) exited non-zero on 'SIP/2010-00000002'
-- Executing [h@default:1] DeadAGI("SIP/2010-00000002", "agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----CONGESTION----------") in new stack
-- AGI Script agi://127.0.0.1:4577/call_log--HVcauses--PRI-----NODEBUG-----16-----CONGESTION---------- completed, returning 0