yes, I suggest you get rid of the transfer and try without the condition<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">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 href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;mike@jerris.com&#39;);" 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">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 href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;acheraime@gmail.com&#39;);" 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">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 href="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;consulting@freeswitch.org&#39;);" 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="javascript:_e(%7B%7D,&#39;cvml&#39;,&#39;FreeSWITCH-users@lists.freeswitch.org&#39;);" 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>
</blockquote>