<div dir="ltr"><div>Using the socket app with the "async" option will cause that channel's events to be sent.<br></div>-MC<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 26, 2015 at 7:43 PM, Kamil Nigmatullin <span dir="ltr"><<a href="mailto:kamil.nigmatullin@gmail.com" target="_blank">kamil.nigmatullin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">Yes if you want monitor and catch events you need to use inbound socket</p>
<div class="gmail_quote">26 янв. 2015 г. 21:58 пользователь "Duvid Rottenberg" <<a href="mailto:adrottenberg@gmail.com" target="_blank">adrottenberg@gmail.com</a>> написал:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I am pretty sure that with outbound socket as long as you don't send any commands back to Freeswitch, it will just execute whatever is in the xml dialplan. <div><br></div><div>Thanks,</div><div>Duvid Rottenberg</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 25, 2015 at 6:19 PM, Michael Collins <span dir="ltr"><<a href="mailto:msc@freeswitch.org" target="_blank">msc@freeswitch.org</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"><div><div>In event socket outbound the listening server controls the call. In your case you just want to get the events associated with that call? I've never actually tried it but maybe you could do something like:<br><br><pre><action application="socket" data="<a href="http://127.0.0.1:8084" target="_blank">127.0.0.1:8084</a> async"/></pre><br></div>And then after the socket app answers have it issue the linger command, then transfer or execute_extension to send the call off to do something. Watch your socket connection for events and see happens. If you get it to work please let us know. :)<br><br></div>-Michael<br><div><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 25, 2015 at 7:17 AM, Shai Perelman <span dir="ltr"><<a href="mailto:groysem@gmail.com" target="_blank">groysem@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"><br clear="all"><div>hi, I am using</div><div><a href="https://wiki.freeswitch.org/wiki/Event_Socket_Outbound" target="_blank">https://wiki.freeswitch.org/wiki/Event_Socket_Outbound</a><br></div><div>my goal is to monitor what happens on the extension but without affecting the normal behaviour. </div><div><br></div><div>I have this dialplan.</div><div><br></div><div><table style="font-family:arial" border="0" cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td colspan="6" style="color:rgb(95,95,95);font-size:12px;font-family:arial"><table cellpadding="0" cellspacing="0" width="100%"><tbody><tr></tr><tr><th style="border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,153);color:rgb(49,100,173);font-size:13px;padding:4px 10px;border-top-left-radius:7px" align="center" width="90px;">Tag</th><th style="border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,153);color:rgb(49,100,173);font-size:13px;padding:4px 10px" align="center" width="150px;">Type</th><th style="border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,153);color:rgb(49,100,173);font-size:13px;padding:4px 10px" align="center" width="70%">Data</th><th style="border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,153);color:rgb(49,100,173);font-size:13px;padding:4px 10px;border-top-right-radius:7px" align="center">Order</th><td style="font-family:arial" align="right" width="42"><a href="http://148.251.142.45/app/dialplan/dialplan_detail_edit.php?id2=8a56aba2-5cf2-40e7-b5d2-ce0073baa3ef&app_uuid=742714e5-8cdf-32fd-462c-cbe7e3d655db" alt="Add" style="color:rgb(0,64,131);width:auto" target="_blank"><img src="http://148.251.142.45/themes/enhanced/images/icon_plus.png" alt="add" style="border:none" border="0" height="17" width="17"></a></td></tr><tr></tr><tr><td style="color:rgb(68,68,68);font-family:arial;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,153);padding:4px 7px;background-image:url(http://148.251.142.45/themes/enhanced/images/background_cell.gif)" valign="top"> condition</td><td style="color:rgb(68,68,68);font-family:arial;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,153);padding:4px 7px;background-image:url(http://148.251.142.45/themes/enhanced/images/background_cell.gif)" valign="top"> username</td><td style="color:rgb(68,68,68);font-family:arial;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,153);padding:4px 7px;background-image:url(http://148.251.142.45/themes/enhanced/images/background_cell.gif)" valign="top"> 9998</td><td style="color:rgb(68,68,68);font-family:arial;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,153);padding:4px 7px;background-image:url(http://148.251.142.45/themes/enhanced/images/background_cell.gif)" valign="top"> 1</td><td style="font-family:arial" align="right" nowrap valign="top"><a href="http://148.251.142.45/app/dialplan/dialplan_detail_edit.php?id=02e9a3bf-15cb-4ddf-a6bf-7fc1624eca22&id2=8a56aba2-5cf2-40e7-b5d2-ce0073baa3ef&app_uuid=742714e5-8cdf-32fd-462c-cbe7e3d655db" alt="Edit" style="color:rgb(0,64,131);width:auto" target="_blank"><img src="http://148.251.142.45/themes/enhanced/images/icon_e.png" alt="edit" style="border:none" border="0" height="17" width="17"></a> <a href="http://148.251.142.45/app/dialplan/dialplan_detail_delete.php?id=02e9a3bf-15cb-4ddf-a6bf-7fc1624eca22&id2=8a56aba2-5cf2-40e7-b5d2-ce0073baa3ef&app_uuid=742714e5-8cdf-32fd-462c-cbe7e3d655db" alt="Delete" style="color:rgb(0,64,131);width:auto" target="_blank"><img src="http://148.251.142.45/themes/enhanced/images/icon_x.png" alt="delete" style="border:none" border="0" height="17" width="17"></a></td></tr><tr><td style="color:rgb(68,68,68);font-family:arial;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,153);padding:4px 7px;background-image:url(http://148.251.142.45/themes/enhanced/images/background_cell.gif)" valign="top"> action</td><td style="color:rgb(68,68,68);font-family:arial;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,153);padding:4px 7px;background-image:url(http://148.251.142.45/themes/enhanced/images/background_cell.gif)" valign="top"> socket</td><td style="color:rgb(68,68,68);font-family:arial;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,153);padding:4px 7px;background-image:url(http://148.251.142.45/themes/enhanced/images/background_cell.gif)" valign="top"> <a href="http://109.65.149.22:9999" target="_blank">109.65.149.22:9999</a> async</td><td style="color:rgb(68,68,68);font-family:arial;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgb(153,153,153);padding:4px 7px;background-image:url(http://148.251.142.45/themes/enhanced/images/background_cell.gif)" valign="top"> 3</td><td style="font-family:arial" align="right" nowrap valign="top"><a href="http://148.251.142.45/app/dialplan/dialplan_detail_edit.php?id=0ca4a9d4-020f-418c-b0aa-388bc6bf4ad5&id2=8a56aba2-5cf2-40e7-b5d2-ce0073baa3ef&app_uuid=742714e5-8cdf-32fd-462c-cbe7e3d655db" alt="Edit" style="color:rgb(0,64,131);width:auto" target="_blank"><img src="http://148.251.142.45/themes/enhanced/images/icon_e.png" alt="edit" style="border:none" border="0" height="17" width="17"></a> <a href="http://148.251.142.45/app/dialplan/dialplan_detail_delete.php?id=0ca4a9d4-020f-418c-b0aa-388bc6bf4ad5&id2=8a56aba2-5cf2-40e7-b5d2-ce0073baa3ef&app_uuid=742714e5-8cdf-32fd-462c-cbe7e3d655db" alt="Delete" style="color:rgb(0,64,131);width:auto" target="_blank"><img src="http://148.251.142.45/themes/enhanced/images/icon_x.png" alt="delete" style="border:none" border="0" height="17" width="17"></a></td></tr><tr><td colspan="6" style="font-family:arial"><table cellpadding="0" cellspacing="0" width="100%"><tbody><tr><td style="font-family:arial" nowrap width="33.3%"> <br><br>I am calling *9664 (music on hold)<br>and the call is blocking while wating for commands from my side.<br><br></td></tr></tbody></table></td></tr></tbody></table></td></tr></tbody></table></div>I want it to answer automatticaly like it would do with out the socket module, and just send me the events regarding that extension
<div><br></div><div>thanks</div><div>Shai</div><div>ITD Communications</div></div>
<br>_________________________________________________________________________<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" 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" target="_blank">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>
<br>_________________________________________________________________________<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" 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" target="_blank">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>
<br>_________________________________________________________________________<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" 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" target="_blank">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>_________________________________________________________________________<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>