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

Dante Alzamora DA at McfsCorp.Com
Fri Sep 26 11:59:06 MST 2003


That did the trick.

Thanks Steven,

Dante

-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com]On Behalf Of Steven
Critchfield
Sent: Friday, September 26, 2003 2:04 PM
To: asterisk-users at lists.digium.com
Subject: Re: [Asterisk-Users] dialing out with the outgoing queue
problem.


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>

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users




More information about the asterisk-users mailing list