Because playback is forcing an answer() before it starts;  goto does not (no
implied media need).

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Warren Selby
Sent: Tuesday, November 15, 2011 2:39 PM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [asterisk-users] Goto Queue, does not work, it should play
message or any thing

 

On Tue, Nov 15, 2011 at 4:56 AM, bilal ghayyad <[email protected]> wrote:

Hi All;

When the call coming via the E1 dahdi and I handle the call (as first step)
by exten => 5631040,1,Goto(OrangeCMG,s,1) it is not working and the call
will be disconnected instead of queued.

But, when I handle the call (as first step) by playing any sound file and
then send for the queue, then it is working fine, WHY?

exten => 5631040,1,Playback(WelcomeMessage)
exten => 5631040,2,Goto(OrangeCMG,s,1)


So how I can overcome this?


Show us the CLI output of a call that's not doing what you want and a call
that is, and we can compare the differences.  My guess is it has something
to do with Playback having an automatic Answer(), and whatever you're
Goto'ing doesn't...

-- 
Thanks,
--Warren Selby, dCAP
http://www.SelbyTech.com

--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to