<div dir="ltr"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="font-size:12.8000001907349px">I think you may try to save uuid somewhere in database (for exapmle with LUA) while call is in progress, and when you need to do something, call sched_del and sched_hangup using API call or EventSocket.</span> </blockquote><div>This is that i&#39;ll try.</div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="font-size:12.8000001907349px">In my view, and with my experiance it is not a good idea to be connected to FS all time. </span></blockquote><div>Why? For whole call life control is good approach, because external application know all information about call state and events.  Or all events external application, that receives and fires events to FS  - this is my way.</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span style="font-size:12.8000001907349px">Better to use one time connection to execute some commands.</span></blockquote><div>Hmm, this takes extra overhead for creation\closing connections. By the way, for outbound socket connection FS use persistent connection or per event connection ? </div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 11, 2015 at 12:05 PM, Kamil Nigmatullin <span dir="ltr">&lt;<a href="mailto:kamil.nigmatullin@gmail.com" target="_blank">kamil.nigmatullin@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span class=""><div class="gmail_extra"><br><div class="gmail_quote">2015-06-11 14:41 GMT+06:00 Vlad Fabi <span dir="ltr">&lt;<a href="mailto:vaad.fabi@gmail.com" target="_blank">vaad.fabi@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">solution except delete and add new task that in</blockquote></div><br></div></span><div class="gmail_extra">I think you may try to save uuid somewhere in database (for exapmle with LUA) while call is in progress, and when you need to do something, call sched_del and sched_hangup using API call or EventSocket. In my view, and with my experiance it is not a good idea to be connected to FS all time. Better to use one time connection to execute some commands.<br></div><span class=""><div class="gmail_extra"><br clear="all"><br>-- <br><div><div dir="ltr">Kamil Nigmatullin<br>Tel: 77272323748<br>mob: 7 (707) 2517003<br>Skype: kamil.nigmatullin</div></div>
</div></span></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" 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.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>