On 10/11/07, <b class="gmail_sendername">Victor</b> <<a href="mailto:voicecomputing@gmail.com">voicecomputing@gmail.com</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I need to process a number of lines of code in the dialplan before answering a<br>call. Can standard ring back tones be played to the caller while this is<br>happening prior to answering the call. Which commands would facilitate this?
</blockquote><div><br>You start sending ringback with Ringing()<br><br>You answer with Answer()<br><br>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.
<br></div></div><br>-- <br>j.