<div dir="ltr">Steven,<div><br></div><div>I agree with you. Certainly there's a parsing issue. </div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Sep 2, 2015 at 8:06 AM, Steven Ayre <span dir="ltr"><<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@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"><span class=""><div style="font-size:12.8000001907349px"><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><b><br></b></div></span>The ']' bracket without an opening bracket looks odd to me. Normally you'd expect to see [<span style="font-size:12.8000001907349px">338_dotcs_route]. That suggests there are some character problems. Not sure if that'd be your issue, but perhaps there are parsing problems as a result.</span><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On 2 September 2015 at 03:11, acheraime . <span dir="ltr"><<a href="mailto:acheraime@gmail.com" target="_blank">acheraime@gmail.com</a>></span> wrote:<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,<div><br></div><div>I'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'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 "No route" message or an "invalid application" error.</div><div>What'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 <603XXXXXXX>->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> <?xml version="1.0" encoding="UTF-8" standalone="no"?></div><div> <document type="freeswitch/xml"></div><div> <section name="dialplan" description="Dotcs automatically generated dialplan"></div><div> <context name="public"></div><div> <extension name="338_dotcs_route"></div><div> <condition field="destination_number" expression="^(813XXXXXXX)$"></div><div> <action application="log" data="notice INBOUND CALL FOR DID ${destination_number}"/></div><div> <action application="export" data="call_direction=inbound"/></div><div> <action application="transfer" data="1049 XML default"/></div><div> </condition></div><div> </extension></div><div> </context></div><div> </section></div><div> </document></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->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><span><font color="#888888"><div><br></div><div><br></div><div><br></div>-- <br><div><b>Adolphe CHER-AIME<br><br></b></div>
</font></span></div></div>
<br></div></div><span class="">_________________________________________________________________________<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></span></blockquote></div><br></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><br></div>
</div></div>