[Freeswitch-users] execute_on_answer_n and execute_on_answer
Michael Collins
msc at freeswitch.org
Thu May 12 20:26:17 MSD 2011
On Thu, May 12, 2011 at 5:48 AM, Yehavi Bourvine
<yehavi.bourvine at gmail.com>wrote:
> Hello,
> According to the wiki, starting from April there is an additional syntax
> for execute_on_answer which is execute_on_answer_1 (and 2 and on).
>
>
> If I want to use the new syntax, how shall I do it? Use only
> execute_on_answer_1,2,... or first use execute_on_answer and the following
> statements will use the numbered format? What happens if I mix the two? What
> happens if I miss a number (i.e. use _1 and then _3)?
>
You can mix all you want. I have not tried execute_on_answer and
execute_on_answer_x but you can try it and see what happens. Also, there is
no need to restrict your use to numbers:
execute_on_answer_1
execute_on_answer_foo
execute_on_answer_whatever
The order of execution is the order in which you set or pass the variables.
-MC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110512/02a40438/attachment.html
More information about the FreeSWITCH-users
mailing list