[Asterisk-Users] IAX Dialstatus

Trevor Peirce tpeirce at digitalcon.ca
Sat Nov 20 14:35:07 MST 2004


Hello,

I've got some SIP clients, and an IAX2 long distance provider.  Ideally, 
when a the dialed number is busy I will hear a busy signal.  Instead, I 
get Congestion even though * knows it's busy.  Is this a bug or am I 
missing something?

The dial plan, in basically this

Dial(IAX2/user at provider/19995551234,,)
Goto(failedcall-${DIALSTATUS})

failedcall-CONGESTION plays congestion
failedcall-CHANUNAVAIL plays congestion
failedcall-BUSY plays busy
everything else loops back to congestion

Here's the output from the * console, with most provate data 
search/replaced.

   -- Executing Dial("SIP/dc1-aa6a", "IAX2/user at provider/19995551234") 
in new stack
   -- Called user at provider/19995551234
   -- Call accepted by 1.2.3.4 (format ULAW)
   -- Format for call is ULAW
   -- IAX2/provider/1 is making progress passing it to SIP/dc1-aa6a
   -- IAX2/provider/1 is busy
   -- Hungup 'IAX2/provider/1'
 == Everyone is busy/congested at this time
   -- Executing Goto("SIP/dc1-aa6a", "failedcall-CHANUNAVAIL|1") in new 
stack
   -- Goto (trevsip,failedcall-CHANUNAVAIL,1)
   -- Executing Congestion("SIP/dc1-aa6a", "") in new stack
 == Spawn extension (trevsip, failedcall-CONGESTION, 1) exited non-zero 
on 'SIP/dc1-aa6a'

Any hints would be appreciated...

Thanks,
Trevor Peirce



More information about the asterisk-users mailing list