<div dir="ltr"><div dir="ltr">Because the &app method has been deprecated for a while now and the way you should accomplish this is via inline dialplan <div><br></div><div><a href="https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+Inline+Dialplan">https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+Inline+Dialplan</a><br></div><div><br></div><div>Its actualy more powerful.</div></div></div><br><div class="gmail_quote"><div dir="ltr">On Mon, Oct 8, 2018 at 11:05 AM Michael Avers <<a href="mailto:michael@mailworks.org">michael@mailworks.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>





<div><div style="font-family:Arial">Hi Brian can you please clarify what you mean by online dialplan? Why shouldn't &app be used anymore?<br></div>
<div style="font-family:Arial"><br></div>
<div style="font-family:Arial">Thank you<br></div>
<div style="font-family:Arial">Mike</div>
<div><br></div>
<div><br></div>
<div>On Mon, Oct 8, 2018, at 3:13 AM, Brian West wrote:<br></div>
<blockquote type="cite"><div><div>The &app notation shouldn’t be used anymore the inline dialplan is the appropriate way to do this moving forward.<br></div>
</div>
<div><br></div>
<div>/b<br></div>
<div><div style="font-family:Arial"><br></div>
<div><div dir="ltr">On Fri, Oct 5, 2018 at 6:41 PM Mario <<a href="mailto:mario_fs@mgtech.com" target="_blank">mario_fs@mgtech.com</a>> wrote:<br></div>
<blockquote style="margin-top:0px;margin-right:0px;margin-bottom:0px;margin-left:0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div><div style="font-family:Arial">Fixed.<br></div>
<div>Mario G<br></div>
</div>
<div><div><div style="font-family:Arial"><br></div>
<div><div style="font-family:Arial"><br></div>
<blockquote type="cite"><div>On Oct 4, 2018, at 5:30 AM, . <<a href="mailto:joes.mailing.lists@gmail.com" target="_blank">joes.mailing.lists@gmail.com</a>> wrote:<br></div>
<div style="font-family:Arial"><br></div>
<div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi,<br></div>
<div><br></div>
<div>I wanted to report an error/typo in the confluence wiki related to 'originate', and its use together with the socket application.  <br></div>
<div><br></div>
<div>Apologies, I don't have access to the wiki, but thought this was worth passing on, so here it is:<br></div>
<div><ul><li><span><span><a href="https://freeswitch.org/confluence/display/FREESWITCH/mod_commands#mod_commands-originate" target="_blank">https://freeswitch.org/confluence/display/FREESWITCH/mod_commands#mod_commands-originate</a></span></span><br></li></ul><div><div>The wiki example for ring_ready also includes the socket application and is written as:<br></div>
<div><ul><li><pre>originate {return_ring_ready=true}sofia/gateway/someprovider/919246461929 &socket(<a href="http://127.0.0.1:8082/" target="_blank">127.0.0.1:8082</a> async full)<br></pre></li></ul><div>however this hangs forever if used as written. Eventually, after several hours of hair tearing and googling, I stumbled on this thread:<br></div>
<div><ul><li><a href="https://freeswitch.org/jira/si/jira.issueviews:issue-html/FS-3591/FS-3591.html" target="_blank">https://freeswitch.org/jira/si/jira.issueviews:issue-html/FS-3591/FS-3591.html</a><br></li></ul><div>Indeed this is the problem.  The correct syntax for the socket component is:<br></div>
<div><ul><li><pre>&socket('<a href="http://127.0.0.1:8082/" target="_blank">127.0.0.1:8082</a> async full')<br></pre></li><ul><li>Specifically single quotes around the command so that it is treated as a single string.<br></li></ul></ul><div>After making this change there is no more hanging on the outbound calls and all events come through in a timely fashion.<br></div>
<div><br></div>
<div>Cheers,<br></div>
<div>Joe<br></div>
</div>
<div><br></div>
<div><br></div>
<div><br></div>
<div><br></div>
<div><br></div>
<div><br></div>
<div><br></div>
<div><br></div>
<div><br></div>
<div><br></div>
<div><br></div>
<div><br></div>
<div><br></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div style="font-family:Arial">_________________________________________________________________________<br></div>
<div style="font-family:Arial">Professional FreeSWITCH Services<br></div>
<div style="font-family:Arial"><a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br></div>
<div style="font-family:Arial"><a href="https://freeswitch.com" target="_blank">https://freeswitch.com</a><br></div>
<div style="font-family:Arial"><br></div>
<div style="font-family:Arial">Official FreeSWITCH Sites<br></div>
<div style="font-family:Arial"><a href="https://freeswitch.com/oss" target="_blank">https://freeswitch.com/oss</a><br></div>
<div style="font-family:Arial"><a href="https://freeswitch.org/confluence" target="_blank">https://freeswitch.org/confluence</a><br></div>
<div style="font-family:Arial"><a href="https://cluecon.com" target="_blank">https://cluecon.com</a><br></div>
<div style="font-family:Arial"><br></div>
<div style="font-family:Arial">FreeSWITCH-users mailing list<br></div>
<div style="font-family:Arial"><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br></div>
<div style="font-family:Arial"><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br></div>
<div style="font-family:Arial">UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br></div>
<div style="font-family:Arial"><a href="https://freeswitch.com" target="_blank">https://freeswitch.com</a><br></div>
</div>
</blockquote></div>
<div style="font-family:Arial"><br></div>
</div>
</div>
<div style="font-family:Arial">_________________________________________________________________________<br></div>
<div style="font-family:Arial"> Professional FreeSWITCH Services<br></div>
<div style="font-family:Arial"> <a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br></div>
<div style="font-family:Arial"> <a href="https://freeswitch.com" target="_blank">https://freeswitch.com</a><br></div>
<div style="font-family:Arial"> <br></div>
<div style="font-family:Arial"> Official FreeSWITCH Sites<br></div>
<div style="font-family:Arial"> <a href="https://freeswitch.com/oss" target="_blank">https://freeswitch.com/oss</a><br></div>
<div style="font-family:Arial"> <a href="https://freeswitch.org/confluence" target="_blank">https://freeswitch.org/confluence</a><br></div>
<div style="font-family:Arial"> <a href="https://cluecon.com" target="_blank">https://cluecon.com</a><br></div>
<div style="font-family:Arial"> <br></div>
<div style="font-family:Arial"> FreeSWITCH-users mailing list<br></div>
<div style="font-family:Arial"> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br></div>
<div style="font-family:Arial"> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br></div>
<div style="font-family:Arial"> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br></div>
<div style="font-family:Arial"> <a href="https://freeswitch.com" target="_blank">https://freeswitch.com</a><br></div>
</blockquote></div>
</div>
<div style="font-family:Arial">-- <br></div>
<div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-size:12.8px"><span class="m_3296488162331213946colour" style="color:rgb(0,0,0)"><img src="https://www.fastmailusercontent.com/proxy/74637ab3ef1cde17acbb1ff694ca32696947ff9eb01c6f1acd290e8eec2d36d6/8647470737a3f2f286960736861647e266275656377796473686e2f62776f26696c65637f213f293131313f277035674f4a797f46597a51546d476f256d61696c6f5c6f676f6e207e676/email_logo.png" width="200" height="66"></span><br></div>
<div style="font-size:12.8px"><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:4.5pt"><span class="m_3296488162331213946size" style="font-size:12.8px"><span class="m_3296488162331213946highlight" style="background-color:transparent"><span class="m_3296488162331213946font" style="font-family:Arial"><span class="m_3296488162331213946size" style="font-size:8pt"><span class="m_3296488162331213946colour" style="color:rgb(0,0,0)">Brian West | Co-founder and Developer</span></span></span></span></span><br></p><p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:4.5pt"><span class="m_3296488162331213946size" style="font-size:12.8px"><span class="m_3296488162331213946highlight" style="background-color:transparent"><span class="m_3296488162331213946font" style="font-family:Arial"><span class="m_3296488162331213946size" style="font-size:8pt"><span class="m_3296488162331213946colour" style="color:rgb(0,0,0)">Need Commercial support? email <a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a></span></span></span></span></span><br></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:4.5pt"><span class="m_3296488162331213946size" style="font-size:12.8px"><span class="m_3296488162331213946highlight" style="background-color:transparent"><span class="m_3296488162331213946font" style="font-family:Arial"><span class="m_3296488162331213946size" style="font-size:8pt"><span class="m_3296488162331213946colour" style="color:rgb(0,0,0)">FreeSWITCH Solutions | <a href="https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g" style="color:rgb(17,85,204)" target="_blank">17345 Civic Drive #2531 Brookfield, WI 53045</a></span></span></span></span></span><br></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:4.5pt"><span class="m_3296488162331213946size" style="font-size:12.8px"><span class="m_3296488162331213946colour" style="color:rgb(0,0,0)"><span class="m_3296488162331213946highlight" style="background-color:transparent"><span class="m_3296488162331213946font" style="font-family:Arial"><span class="m_3296488162331213946size" style="font-size:8pt">Email: </span></span></span><span class="m_3296488162331213946highlight" style="background-color:transparent"><span class="m_3296488162331213946colour" style="color:rgb(17,85,204)"><span class="m_3296488162331213946font" style="font-family:Arial"><span class="m_3296488162331213946size" style="font-size:8pt"><a href="mailto:brian@freeswitch.com" target="_blank">brian@freeswitch.com</a></span></span></span></span></span></span><br></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:4.5pt"><span class="m_3296488162331213946size" style="font-size:12.8px"><span class="m_3296488162331213946highlight" style="background-color:transparent"><span class="m_3296488162331213946font" style="font-family:Arial"><span class="m_3296488162331213946size" style="font-size:8pt"><span class="m_3296488162331213946colour" style="color:rgb(0,0,0)">Mobile: 918-424-9378</span></span></span></span></span><br></p><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:4.5pt"><span class="m_3296488162331213946size" style="font-size:12.8px"><span class="m_3296488162331213946colour" style="color:rgb(0,0,0)"><span class="m_3296488162331213946highlight" style="background-color:transparent"><span class="m_3296488162331213946font" style="font-family:Arial"><span class="m_3296488162331213946size" style="font-size:8pt">Website: </span></span></span><a href="https://www.freeswitch.com/" style="color:rgb(17,85,204)" target="_blank"><span class="m_3296488162331213946highlight" style="background-color:transparent"><span class="m_3296488162331213946font" style="font-family:Arial"><span class="m_3296488162331213946size" style="font-size:8pt">https://www.FreeSWITCH.com</span></span></span></a></span></span><br></p><p dir="ltr" style="line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span class="m_3296488162331213946size" style="font-size:12.8px"><span class="m_3296488162331213946highlight" style="background-color:transparent"><span class="m_3296488162331213946colour" style="color:rgb(0,0,0)"><span class="m_3296488162331213946font" style="font-family:Arial"><span class="m_3296488162331213946size" style="font-size:9pt"><a href="https://www.facebook.com/freeswitch" target="_blank"><img alt="https://www.facebook.com/signalwireinc?src=email" src="https://www.fastmailusercontent.com/proxy/dd719eea414ccf1da8658892b1bd64113e9f8a0d5a09f998d9cd04d73e917fb7/8647470737a3f2f2c68663e276f6f676c6565737562736f6e64756e647e236f6d6f214956625f635e41644e447d40525d4566705e6f57417366554d44653e4442564960374c6c657745575a765639453451495f5334523d2454703945794855655475446953776e437d48344f495b425b486a6d62774f5d2e6237416d2c434e6f6e4b6436337f483659754d6161337246495469674a436c4255567b6274413349584e473931796d65676/AYfRoSNaDNtMPRMevPn_GqcVEMd5NDRFi0GlluGUWzV6I5TAY_3T2-Tt0IuIXeUtEdYsgNsM8DOYKRKhjmrG_-n2Ga-LCnoNk46sO8VyEma1sBFYdiGJcLRUvkrD1CYHN79qimeg" width="31" height="31" style="border-top-width:initial;border-right-width:initial;border-bottom-width:initial;border-left-width:initial;border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:none;border-top-color:initial;border-right-color:initial;border-bottom-color:initial;border-left-color:initial"></a> </span></span></span></span><span class="m_3296488162331213946highlight" style="background-color:transparent"><span class="m_3296488162331213946colour" style="color:rgb(0,0,0)"><span class="m_3296488162331213946font" style="font-family:Tahoma"><span class="m_3296488162331213946size" style="font-size:9pt"><a href="https://twitter.com/freeswitch" target="_blank"><img alt="https://twitter.com/freeswitch" src="https://www.fastmailusercontent.com/proxy/cd9e840af7399b742b5a1d4276bd08e3c601f97504fceddf9d66bdeec7fbe884/8647470737a3f2f2c68633e276f6f676c6565737562736f6e64756e647e236f6d6f275433517859797268423174614f6a76747f6b4a636a773336317f4a6b693c4844477c646673713168636d27565550307574765d435375584437343b44427a43323a637179663a444a697557587175654b6e45394138735c634533586952746132683e494d455b644a744274726751566166314f5930355369776175637244725c47656649627b416/W4SqXyybH2qdAozvtoKjcz736qOjk9LHDwldvs1ahc-WVU0putVMSsUH474KDrJ32jsqi6JDjyUWxqeEkN5I1xSlC5ShYrd1b8NIMUkDzDrtbWQfa6A_90UcygqesBtRLgeFirKa" width="31" height="31" style="border-top-width:initial;border-right-width:initial;border-bottom-width:initial;border-left-width:initial;border-top-style:none;border-right-style:none;border-bottom-style:none;border-left-style:none;border-top-color:initial;border-right-color:initial;border-bottom-color:initial;border-left-color:initial"></a></span></span></span></span></span><br></p></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div><u>_________________________________________________________________________</u><br></div>
<div>Professional FreeSWITCH Services<br></div>
<div><a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br></div>
<div><a href="https://freeswitch.com" target="_blank">https://freeswitch.com</a><br></div>
<div> <br></div>
<div>Official FreeSWITCH Sites<br></div>
<div><a href="https://freeswitch.com/oss" target="_blank">https://freeswitch.com/oss</a><br></div>
<div><a href="https://freeswitch.org/confluence" target="_blank">https://freeswitch.org/confluence</a><br></div>
<div><a href="https://cluecon.com" target="_blank">https://cluecon.com</a><br></div>
<div> <br></div>
<div>FreeSWITCH-users mailing list<br></div>
<div><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br></div>
<div><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br></div>
<div>UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br></div>
<div><a href="https://freeswitch.com" target="_blank">https://freeswitch.com</a><br></div>
</blockquote><div style="font-family:Arial"><br></div>
</div>

_________________________________________________________________________<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://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="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div style="font-size:12.8px"><font color="#000000"><img src="https://hipchat.freeswitch.org/files/1/9111/w0eGOzyOVyZQdMg/email_logo.png" width="200" height="66"><br></font></div><div style="font-size:12.8px"><p dir="ltr" style="font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:4.5pt"><span style="font-size:8pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><font color="#000000">Brian West | Co-founder and Developer</font></span></p><p style="font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:4.5pt"><span style="font-size:8pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><font color="#000000">Need Commercial support? email <a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a> </font></span></p><p dir="ltr" style="font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:4.5pt"><span style="font-size:8pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><font color="#000000">FreeSWITCH Solutions | <a href="https://maps.google.com/?q=17345+Civic+Drive+%232531+Brookfield,+WI+53045&entry=gmail&source=g" style="color:rgb(17,85,204)" target="_blank">17345 Civic Drive #2531 Brookfield, WI 53045</a></font></span></p><p dir="ltr" style="font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:4.5pt"><font color="#000000"><span style="font-size:8pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap">Email: </span><span style="color:rgb(17,85,204);font-size:8pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><a href="mailto:brian@freeswitch.com" target="_blank">brian@freeswitch.com</a></span></font></p><p dir="ltr" style="font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:4.5pt"><span style="font-size:8pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap"><font color="#000000">Mobile: 918-424-9378</font></span></p><p dir="ltr" style="font-size:12.8px;line-height:1.38;margin-top:0pt;margin-bottom:0pt;margin-left:4.5pt"><font color="#000000"><span style="font-size:8pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap">Website: </span><a href="https://www.freeswitch.com/" style="color:rgb(17,85,204)" target="_blank"><span style="font-size:8pt;font-family:Arial;background-color:transparent;vertical-align:baseline;white-space:pre-wrap">https://www.FreeSWITCH.com</span></a></font></p><p dir="ltr" style="font-size:12.8px;line-height:1.2;margin-top:0pt;margin-bottom:0pt"><span style="background-color:transparent;font-size:9pt;font-family:Arial;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap"><a href="https://www.facebook.com/freeswitch" target="_blank"><img alt="https://www.facebook.com/signalwireinc?src=email " src="https://lh6.googleusercontent.com/AYfRoSNaDNtMPRMevPn_GqcVEMd5NDRFi0GlluGUWzV6I5TAY_3T2-Tt0IuIXeUtEdYsgNsM8DOYKRKhjmrG_-n2Ga-LCnoNk46sO8VyEma1sBFYdiGJcLRUvkrD1CYHN79qimeg" width="31" height="31" style="border:none"></a> </span><span style="background-color:transparent;font-size:9pt;font-family:Tahoma;color:rgb(0,0,0);vertical-align:baseline;white-space:pre-wrap"><a href="https://twitter.com/freeswitch" target="_blank"><img alt="https://twitter.com/freeswitch" src="https://lh3.googleusercontent.com/W4SqXyybH2qdAozvtoKjcz736qOjk9LHDwldvs1ahc-WVU0putVMSsUH474KDrJ32jsqi6JDjyUWxqeEkN5I1xSlC5ShYrd1b8NIMUkDzDrtbWQfa6A_90UcygqesBtRLgeFirKa" width="31" height="31" style="border:none"></a></span><br></p></div></div></div></div></div></div></div></div></div></div></div>