<div dir="ltr">when I'm playing moh I'm listening for events. I think if async is removed I can not do something like this? can I?</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 7, 2015 at 12:57 PM, Igor Olhovskiy <span dir="ltr"><<a href="mailto:igorolhovskiy@gmail.com" target="_blank">igorolhovskiy@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Try to remove async.</div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">2015-07-07 11:21 GMT+03:00 Babak Yakhchali <span dir="ltr"><<a href="mailto:babak.freeswitch@gmail.com" target="_blank">babak.freeswitch@gmail.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi<br>I'm using event socket to do something like freeswitch callcenter module. members(aleg) call and are connected to socket application, this is my dialplan:<br><div><extension name="socket"></div><div> <condition field="destination_number" expression="^999$"></div><div><span style="white-space:pre-wrap">        </span> <action application="set" data="socket_resume=true"/><span style="white-space:pre-wrap">        </span> </div><div> <action application="socket" data="<a href="http://172.16.90.1:8084" target="_blank">172.16.90.1:8084</a> async full"/> </div><div><span style="white-space:pre-wrap"> </span><action application="info"/><span style="white-space:pre-wrap">        </span> </div><div> </condition></div><div> </extension></div><div>these are executed using socket:<br>connect<br>myevents<br>set park_after_bridge=true<br>answer</div><div>playback local_stream://moh<br><br>now a new channel is originated to agent(bleg) and on answer I'm calling intercept on aleg from socket to bridge it to agent channel. if I set socket_resume=true in dialplan, after intercept both legs are stuck (dead silent). if I do not set socket_resume=true legs are bridged but execution continues through dialplan (I placed info to test this). <br>problem is if socket_resume=false and agent transfers the call to 999 during the call (same socket app) call hangsup. but if socket_resume=true intercept is not working as expected but transfer is done. how can I solve this?<br>thanks</div><div><br></div></div>
<br></div></div>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.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.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" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><span class="HOEnZb"><font color="#888888"><br></font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr">Best regards,<div>Igor</div></div></div>
</font></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" rel="noreferrer" target="_blank">http://www.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.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.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>