<html><head><meta http-equiv="Content-Type" content="text/html; charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Fixed.<div class="">Mario G<br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Oct 4, 2018, at 5:30 AM, . <<a href="mailto:joes.mailing.lists@gmail.com" class="">joes.mailing.lists@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div dir="ltr" class=""><div dir="ltr" class=""><div class="">Hi,</div><div class=""><br class=""></div><div class="">I wanted to report an error/typo in the confluence wiki related to 'originate', and its use together with the socket application. <br class=""></div><div class=""><br class=""></div><div class="">Apologies, I don't have access to the wiki, but thought this was worth passing on, so here it is:</div><div class=""><ul class=""><li class=""><span class="gmail-gI"><span class=""><a href="https://freeswitch.org/confluence/display/FREESWITCH/mod_commands#mod_commands-originate" class="">https://freeswitch.org/confluence/display/FREESWITCH/mod_commands#mod_commands-originate</a></span></span></li></ul><div class=""><div class="">The wiki example for ring_ready also includes the socket application and is written as:</div><div class=""><ul class=""><li class=""><pre class="">originate {return_ring_ready=true}sofia/gateway/someprovider/919246461929 &socket(<a href="http://127.0.0.1:8082/" class="">127.0.0.1:8082</a> async full)</pre></li></ul><div class="">however this hangs forever if used as written. Eventually, after several hours of hair tearing and googling, I stumbled on this thread:</div><div class=""><ul class=""><li class=""><a href="https://freeswitch.org/jira/si/jira.issueviews:issue-html/FS-3591/FS-3591.html" class="">https://freeswitch.org/jira/si/jira.issueviews:issue-html/FS-3591/FS-3591.html</a></li></ul><div class="">Indeed this is the problem. The correct syntax for the socket component is:<br class=""></div><div class=""><ul class=""><li class=""><pre class="">&socket('<a href="http://127.0.0.1:8082/" class="">127.0.0.1:8082</a> async full')</pre></li><ul class=""><li class="">Specifically single quotes around the command so that it is treated as a single string.</li></ul></ul><div class="">After making this change there is no more hanging on the outbound calls and all events come through in a timely fashion.</div><div class=""><br class=""></div><div class="">Cheers,</div><div class="">Joe<br class=""></div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div></div></div></div></div></div></div></div>
_________________________________________________________________________<br class="">Professional FreeSWITCH Services<br class=""><a href="mailto:sales@freeswitch.com" class="">sales@freeswitch.com</a><br class="">https://freeswitch.com<br class=""><br class="">Official FreeSWITCH Sites<br class="">https://freeswitch.com/oss<br class="">https://freeswitch.org/confluence<br class="">https://cluecon.com<br class=""><br class="">FreeSWITCH-users mailing list<br class="">FreeSWITCH-users@lists.freeswitch.org<br class="">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users<br class="">UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users<br class="">https://freeswitch.com</div></blockquote></div><br class=""></div></body></html>