[asterisk-users] Busy app timeout
Julian Lyndon-Smith
asterisk at dotr.com
Thu Oct 1 06:13:25 CDT 2009
Using 1.4 svn, I want to implent the busy application.
With the following dialplan:
[inboundqueue]
exten => _X.,1,Answer()
exten => _X.,n,Goto(dropcall,1)
...
exten => dropcall,1,Busy(10)
exten => dropcall,n,hangup()
If I call any number in the inboundqueue, I get the following:
[Oct 1 12:06:44] -- Executing [444678 at isdnspan1:1]
Answer("Zap/1-1", "") in new stack
[Oct 1 12:06:44] -- Executing [444678 at inboundqueue:2]
Goto("Zap/1-1", "1?dropcall|1") in new stack
[Oct 1 12:06:44] -- Goto (inboundqueue,dropcall,1)
[Oct 1 12:06:44] -- Executing [dropcall at inboundqueue:1]
Busy("Zap/1-1", "10") in new stack
[Oct 1 12:06:44] == Spawn extension (inboundqueue, dropcall, 1)
exited non-zero on 'Zap/1-1'
why does the busy not wait for 10 seconds before dropping the zap channel ?
show application Busy
foxtrot*CLI>
-= Info about application 'Busy' =-
[Synopsis]
Indicate the Busy condition
[Description]
Busy([timeout]): This application will indicate the busy condition to
the calling channel. If the optional timeout is specified, the calling channel
will be hung up after the specified number of seconds. Otherwise, this
application will wait until the calling channel hangs up.
More information about the asterisk-users
mailing list