[asterisk-users] Mask Initial Processing with Ring Back Tone
James FitzGibbon
james.fitzgibbon at gmail.com
Thu Oct 11 13:55:24 CDT 2007
On 10/11/07, Victor <voicecomputing at gmail.com> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20071011/f934a8c2/attachment.htm
More information about the asterisk-users
mailing list