On Tue, 4 Dec 2007, Stefan Guenther wrote:

> For whatever reason I have to insert a WAIT(1) in front of every 
> application that returns an output. Well, now the context looks like 
> this and it works:
>
>        exten => 202,1,ANSWER()
>        exten => 202,2,WAIT(1)
>        exten => 202,3,PLAYBACK(tt-monkeys)
>        exten => 202,4,HANGUP()
>
> Does anyone have an explanation why I need the WAIT() ?

Wait can give the PSTN/TDM world a chance to settle before proceeding with 
your dialplan. Your wording implies that you need wait() as follows:

        exten = 202,1,          answer
        exten = 202,n,          wait(1)
        exten = 202,n,          playback(tt-monkeys)
        exten = 202,n,          wait(1)
        exten = 202,n,          playback(demo-congrats)
        exten = 202,n,          hangup

Which is probably not true. It's probably more accurate to say "I need 
wait() after every answer."

> BTW: As far as I can see, no one answered the question that I entered in
> the subject line: Do I need a sound card in the server, does it have any
> effect?

You only need a sound card if you are using Asterisk console commands like 
dial. Note this is different than "dialplan applications like dial."

Thanks in advance,
------------------------------------------------------------------------
Steve Edwards      [EMAIL PROTECTED]      Voice: +1-760-468-3867 PST
Newline                                             Fax: +1-760-731-3000

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

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

Reply via email to