<div dir="ltr">Oh sorry, gmail webclient parses part of it and shows some garbly characters... I see the normal string in the email.<div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><div dir="ltr">-Avi<br></div></div></div>
<br><div class="gmail_quote">On Wed, Sep 2, 2015 at 3:38 PM, acheraime . <span dir="ltr">&lt;<a href="mailto:acheraime@gmail.com" target="_blank">acheraime@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">@ Marcus,<div><br></div><div>Yes it is. <span style="color:rgb(80,0,80);font-size:12.8000001907349px">&lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;</span></div><div><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 2, 2015 at 8:22 AM, Avi Marcus <span dir="ltr">&lt;<a href="mailto:avi@avimarcus.net" target="_blank">avi@avimarcus.net</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">This line is the same on the other machines, too?<div><br></div><div><span style="color:rgb(80,0,80);font-size:12.8000001907349px"> </span><span style="color:rgb(80,0,80);font-size:12.8000001907349px">-8&quot; standalone=&quot;no&quot;?&gt;</span><span><font color="#888888"><br></font></span></div><div class="gmail_extra"><span><font color="#888888"><br clear="all"><div><div><div dir="ltr">-Avi Marcus<br></div></div></div></font></span><div><div>
<br><div class="gmail_quote">On Wed, Sep 2, 2015 at 3:10 PM, acheraime . <span dir="ltr">&lt;<a href="mailto:acheraime@gmail.com" target="_blank">acheraime@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">Michael,<div><br></div><div>I did exactly what you suggest about the condition . Now 2/3 calls failed with an Invalid application. I realize that when freeswitch is parsing the extension. For some reason freeswitch receive some empty application statement this is why it throw the invalid application exception. See below</div><div><br></div><div><div>Dialplan: sofia/external/<a href="http://863xxxxxxx@10.50.12.227:5065" target="_blank">863xxxxxxx@10.50.12.227:5065</a> Action export(call_direction=inbound)</div><div><span style="background-color:rgb(255,0,0)">Dialplan: sofia/external/<a href="http://863xxxxxxx@10.50.12.227:5065" target="_blank">863xxxxxxx@10.50.12.227:5065</a> Action ()</span></div><div>2015-09-02 07:55:52.644475 [DEBUG] switch_core_state_machine.c:216 (sofia/external/<a href="http://863xxxxxxx@10.50.12.227:5065" target="_blank">863xxxxxxx@10.50.12.227:5065</a>) State Change CS_ROUTING -&gt; CS_EXECUTE</div><div>2015-09-02 07:55:52.644475 [DEBUG] switch_core_session.c:1397 Send signal sofia/external/<a href="http://863xxxxxxx@10.50.12.227:5065" target="_blank">863xxxxxxx@10.50.12.227:5065</a> [BREAK]</div><div>2015-09-02 07:55:52.644475 [DEBUG] switch_core_state_machine.c:528 (sofia/external/<a href="http://863xxxxxxx@10.50.12.227:5065" target="_blank">863xxxxxxx@10.50.12.227:5065</a>) State ROUTING going to sleep</div><div>2015-09-02 07:55:52.644475 [DEBUG] switch_core_state_machine.c:472 (sofia/external/<a href="http://863xxxxxxx@10.50.12.227:5065" target="_blank">863xxxxxxx@10.50.12.227:5065</a>) Running State Change CS_EXECUTE</div><div>2015-09-02 07:55:52.644475 [DEBUG] switch_core_state_machine.c:535 (sofia/external/<a href="http://863xxxxxxx@10.50.12.227:5065" target="_blank">863xxxxxxx@10.50.12.227:5065</a>) State EXECUTE</div><div>2015-09-02 07:55:52.644475 [DEBUG] mod_sofia.c:178 sofia/external/<a href="http://863xxxxxxx@10.50.12.227:5065" target="_blank">863xxxxxxx@10.50.12.227:5065</a> SOFIA EXECUTE</div><div>2015-09-02 07:55:52.644475 [DEBUG] switch_core_state_machine.c:258 sofia/external/<a href="http://863xxxxxxx@10.50.12.227:5065" target="_blank">863xxxxxxx@10.50.12.227:5065</a> Standard EXECUTE</div><div><span style="background-color:rgb(255,0,0)">2015-09-02 07:55:52.644475 [ERR] switch_core_session.c:2710 Invalid Application</span></div></div><div><span style="background-color:rgb(255,0,0)"><br></span></div><div>Matched dial plan</div><div><br></div><div><span><div> &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;</div><div>                    &lt;document type=&quot;freeswitch/xml&quot;&gt;</div><div>                        &lt;section name=&quot;dialplan&quot; description=&quot;Dotcs automatically generated dialplan&quot;&gt;</div><div>                            &lt;context name=&quot;public&quot;&gt;</div></span><div>                                &lt;extension name=&quot;tribuneroute&quot;&gt;</div><div>                                    &lt;condition&gt;</div><span><div>                                       &lt;action application=&quot;export&quot; data=&quot;call_direction=inbound&quot;/&gt;</div></span><div>                                       &lt;action application=&quot;transfer&quot; data=&quot;6508 XML default&quot;/&gt;</div><span><div>                                    &lt;/condition&gt;</div><div>                                &lt;/extension&gt;</div><div>                            &lt;/context&gt;</div><div>                        &lt;/section&gt;</div><div>                    &lt;/document&gt;</div><div><br></div></span></div><div>The same codes are running fine on two other boxes.</div><div><br></div><div><br></div><div>Thanks</div><div><br></div><div>Adolphe</div><div><div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 2, 2015 at 12:50 AM, Michael Jerris <span dir="ltr">&lt;<a href="mailto:mike@jerris.com" target="_blank">mike@jerris.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">yes, I suggest you get rid of the transfer and try without the condition<div><div><span></span><br><br>On Tuesday, September 1, 2015, acheraime . &lt;<a href="mailto:acheraime@gmail.com" target="_blank">acheraime@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Michael,<div></div><div><br></div><div>I agree with you on the redundant condition statement. About the transfer I take that path because I already handle calls to registered users or any voice application like auto attendant from other dial plans. For sake of simplicity I transfer call from DIDs to them instead of redefining the same logics.</div><div>Any suggestions?</div><div><br></div><div><br></div><div>Thanks</div><div><br></div><div>Adolphe</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 1, 2015 at 11:17 PM, Michael Jerris <span dir="ltr">&lt;<a>mike@jerris.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">when generating dynamic dial plan, it makes no sense to generate a condition, you would think your logic already handled the conditions.  You can use a blank condition tag instead... also, why have it transfer right back into dial plan causing extra parsing, instead just give it the actions that would otherwise happen inside the extension its being transferred to.<div><div><span></span><br><br>On Tuesday, September 1, 2015, acheraime . &lt;<a>acheraime@gmail.com</a>&gt; wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>I&#39;m experiencing a strange issue with freeswitch 1.4.21 running on CentOS 6.5.</div><div>I have a trunk that terminates a few DIDs for 150 sip users. I&#39;m using mod_python to dynamically generate all my dialplans.</div><div>Everything have been working fine for three weeks (When I made this deployment) since Saturday, freeswitch start dropping calls. 95% of inbound calls are dropped with </div><div>a &quot;No route&quot; message or an &quot;invalid application&quot; error.</div><div>What&#39;s seems weird is the extension is generated. Below is a snippet of a log<br></div><div><br></div><div> </div><div><div>2015-09-01 21:35:07.967396 [INFO] mod_dialplan_xml.c:635 Processing WIRELESS CALLER &lt;603XXXXXXX&gt;-&gt;813XXXXX in context public</div><div>2015-09-01 21:35:07.968396 [NOTICE] mod_python.c:212 Invoking py module: fscore.handler</div><div>2015-09-01 21:35:07.970394 [DEBUG] mod_python.c:283 Call python script</div><div>2015-09-01 21:35:07.970394 [INFO] switch_cpp.cpp:1328 This a dialplan request</div><div>2015-09-01 21:35:07.975403 [INFO] switch_cpp.cpp:1328 Call from outside network</div><div>2015-09-01 21:35:07.976400 [NOTICE] switch_cpp.cpp:1328</div><div>                   &lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot; standalone=&quot;no&quot;?&gt;</div><div>                    &lt;document type=&quot;freeswitch/xml&quot;&gt;</div><div>                        &lt;section name=&quot;dialplan&quot; description=&quot;Dotcs automatically generated dialplan&quot;&gt;</div><div>                            &lt;context name=&quot;public&quot;&gt;</div><div>                                &lt;extension name=&quot;338_dotcs_route&quot;&gt;</div><div>                                    &lt;condition field=&quot;destination_number&quot; expression=&quot;^(813XXXXXXX)$&quot;&gt;</div><div>                                       &lt;action application=&quot;log&quot; data=&quot;notice  INBOUND CALL FOR DID ${destination_number}&quot;/&gt;</div><div>                                       &lt;action application=&quot;export&quot; data=&quot;call_direction=inbound&quot;/&gt;</div><div>                                       &lt;action application=&quot;transfer&quot; data=&quot;1049 XML default&quot;/&gt;</div><div>                                    &lt;/condition&gt;</div><div>                                &lt;/extension&gt;</div><div>                            &lt;/context&gt;</div><div>                        &lt;/section&gt;</div><div>                    &lt;/document&gt;</div></div><div><br></div><div><div>2015-09-01 21:35:07.976400 [DEBUG] mod_python.c:286 Finished calling python script</div><div>Dialplan: sofia/external/<a href="http://603XXXXXXX@10.50.12.227:5065" target="_blank">603XXXXXXX@10.50.12.227:5065</a> parsing [public-&gt;338_dotcs_route] continue=false</div><div><b>Dialplan: sofia/external/<a href="http://603XXXXXXX@10.50.12.227:5065" target="_blank">603XXXXXXX@10.50.12.227:5065</a> Regex (PASS) ] destination_number(813XXXXXXX) =~ /^(813XXXXXXX)$/ break=on-false</b></div><div><span style="background-color:rgb(255,0,0)">2015-09-01 21:35:07.976400 [INFO] switch_core_state_machine.c:241 No Route, Aborting</span></div><div><span style="background-color:rgb(255,0,0)"><br></span></div><div><br></div><div>What do you guys think might be wrong?</div><div><br></div><div><br></div><div>Thanks</div><div><br></div><div><br></div><div><br></div>-- <br><div><b>Adolphe CHER-AIME<br><br></b></div>
</div></div>
</blockquote>
</div></div><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a>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>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><div><br></div>
</div></div>
</blockquote>
</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" 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><br></blockquote></div><br><br clear="all"><div><br></div><br>
</div></div></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" 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><br></blockquote></div><br></div></div></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" 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><br></blockquote></div><div><br></div>
</div></div></div></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></div>