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.<span></span><br><br>On Tuesday, September 1, 2015, acheraime . &lt;<a href="mailto:acheraime@gmail.com">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>