On 10/11/07, Victor <[EMAIL PROTECTED]> wrote: > > I need to process a number of lines of code in the dialplan before > answering a > call. Can standard ring back tones be played to the caller while this is > happening prior to answering the call. Which commands would facilitate > this?
You start sending ringback with Ringing() You answer with Answer() 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. -- 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
