[Asterisk-Users] dialing out with the outgoing queue problem.

Steven Critchfield critch at basesys.com
Fri Sep 26 11:04:10 MST 2003


On Fri, 2003-09-26 at 12:35, Dante Alzamora wrote:
> extensions:
> [callme]
> ...
> exten => 800,1,Dial(Zap/1/19548738986)
> exten => 800,2,BackGround(demo-congrats)
> exten => 800,3,BackGround(demo-instruct)
> ...
>  
> 1.call:
> Channel: Zap/1
> MaxRetries: 2
> RetryTime: 60
> WaitTime: 30
> Context: callme
> Extension: 800
> ...
>  
>  
> cp /tmp/1.call  /var/spool/asterisk/outgoing
>     -- Attempting call on Zap/1 for 800 at callme:1 (Retry 1)
>     -- Executing Dial("Zap/1-1", "Zap/1/195487389xx") in new stack
> NOTICE[360464]: File app_dial.c, Line 499 (dial_exec): Unable to
> create channel of type 'Zap'
>   == Everyone is busy at this time
>     -- Executing BackGround("Zap/1-1", "demo-congrats") in new stack
>     -- Playing 'demo-congrats'

This is is pretty straight forward, you are using Zap/1 to pickup and
your dial command is also trying to use Zap/1. You have it busy in one
part of the call and the second part can't do it's job.

BTW, you should not have a extension layout that is a dial, then
background commands. The normal end of a dial command is a hangup or
busy. 

What you probably want is something along the ways of this for your
1.call

Channel: Zap/1/19548738986
MaxRetries: 2
RetryTime: 60
WaitTime: 30
Context: callme
Extension: 800
Priority: 2

This will make the outbound call and the play your messages.
 
-- 
Steven Critchfield  <critch at basesys.com>




More information about the asterisk-users mailing list