On 10/11/07, James FitzGibbon <[EMAIL PROTECTED]> wrote:

> What you do in between is up to you.  Many people use something like
> Wait(2) to give a "comfort ring", since PRI-connected incoming calls can
> often be set up nearly instantaneously.  You'd want to limit the time
> obviously, and have proper exception handling in case whatever you're doing
> between Ringing() and Answer() fails.
>

I should add that some applications (usually ones dealing with audio) will
answer the channel for you, so you do have to be cognizant of that.  If what
you're doing in between is information processing, you should be OK, but I
believe calling an AGI will auto-answer the channel, limiting what you can
do somewhat.

-- 
j.
_______________________________________________
--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