<div dir="ltr">hm... thnks a lot! It is goos solution for me)</div><div class="gmail_extra"><br><div class="gmail_quote">2016-12-19 18:43 GMT+03:00 Stanislav Sinyagin <span dir="ltr">&lt;<a href="mailto:ssinyagin@gmail.com" target="_blank">ssinyagin@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">you can set channel variables that will trigger corresponding actions:<br>
<br>
execute_on_answer<br>
execute_on_media<br>
execute_on_media_timeout<br>
execute_on_pre_answer<br>
execute_on_ring<br>
<br>
they are well documented in the wiki.<br>
<br>
In more complex cases, you can set up an event listener via an ESL<br>
socket, and process the call state events at your wish.<br>
<div><div class="h5"><br>
<br>
<br>
On Mon, Dec 19, 2016 at 3:59 PM, Yuriy Gorlichenko &lt;<a href="mailto:ovoshlook@gmail.com">ovoshlook@gmail.com</a>&gt; wrote:<br>
&gt; I just found only<br>
&gt; session:answered method but i suppose it not works if i ll use it in a<br>
&gt; dialplan scripting<br>
&gt; because i tried add it in my dialplan nad saw to reaction on it<br>
&gt;<br>
&gt; 2016-12-19 17:36 GMT+03:00 Yuriy Gorlichenko &lt;<a href="mailto:ovoshlook@gmail.com">ovoshlook@gmail.com</a>&gt;:<br>
&gt;&gt;<br>
&gt;&gt; Hi. I want to make some staff (inserting in database sоme data and then<br>
&gt;&gt; transfer call) after it was answered by dialplan(does not matter is it lua<br>
&gt;&gt; dialplan or something other).<br>
&gt;&gt; I have experience with other products (pushing handlers after 200<br>
&gt;&gt; arrived), but in freeSwitch i found only hangup_hook for handling call after<br>
&gt;&gt; it was hanged up<br>
&gt;&gt;<br>
&gt;&gt; Is it have method to do this?<br>
&gt;<br>
&gt;<br>
&gt;<br>
</div></div>&gt; ______________________________<wbr>______________________________<wbr>_____________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
&gt; <a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
&gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
&gt; <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<br>
______________________________<wbr>______________________________<wbr>_____________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.<wbr>freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.<wbr>org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.<wbr>freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/<wbr>mailman/listinfo/freeswitch-<wbr>users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.<wbr>freeswitch.org/mailman/<wbr>options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a></blockquote></div><br></div>