Summary:ASTERISK-02119: Dial always goes to busy, never to unavailable
Reporter:inspired (inspired)Labels:
Date Opened:2004-07-27 09:53:56Date Closed:2011-06-07 14:10:31
Versions:Frequency of
Description:This extension should go to unavailable if user 4002 is not logged in or doesn't answer in 12 seconds. Instead it always goes to busy if 4002 is not logged in. If 4002 is logged in, his phone rings.

exten => 4002,1,Dial(SIP/${EXTEN},12)
exten => 4002,2,Voicemail(u${EXTEN})
exten => 4002,102,Voicemail(b${EXTEN})
exten => 4002,103,Hangup
-- Executing Dial("SIP/4000-f2f7", "SIP/4001|20") in new stack
Jul 27 16:26:15 NOTICE[15374]: app_dial.c:706 dial_exec: Unable to create channel of type 'SIP'

I use the latest cvs. This problem has annoyed me for a long time.
Comments:By: Mark Spencer (markster) 2004-07-27 10:16:41

With respect to n+101, no channel available is treated as BUSY.  Fortunately, you can also use ${DIALSTATUS} in handling the return code.  See the new stdexten macro ([macro-stdexten]) in configs/extensions.conf.sample.