[Freeswitch-users] Strange DID routing behavior

acheraime . acheraime at gmail.com
Wed Sep 2 06:11:41 MSD 2015


Hi,

I'm experiencing a strange issue with freeswitch 1.4.21 running on CentOS
6.5.
I have a trunk that terminates a few DIDs for 150 sip users. I'm using
mod_python to dynamically generate all my dialplans.
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
a "No route" message or an "invalid application" error.
What's seems weird is the extension is generated. Below is a snippet of a
log


2015-09-01 21:35:07.967396 [INFO] mod_dialplan_xml.c:635 Processing
WIRELESS CALLER <603XXXXXXX>->813XXXXX in context public
2015-09-01 21:35:07.968396 [NOTICE] mod_python.c:212 Invoking py module:
fscore.handler
2015-09-01 21:35:07.970394 [DEBUG] mod_python.c:283 Call python script
2015-09-01 21:35:07.970394 [INFO] switch_cpp.cpp:1328 This a dialplan
request
2015-09-01 21:35:07.975403 [INFO] switch_cpp.cpp:1328 Call from outside
network
2015-09-01 21:35:07.976400 [NOTICE] switch_cpp.cpp:1328
                   <?xml version="1.0" encoding="UTF-8" standalone="no"?>
                    <document type="freeswitch/xml">
                        <section name="dialplan" description="Dotcs
automatically generated dialplan">
                            <context name="public">
                                <extension name="338_dotcs_route">
                                    <condition field="destination_number"
expression="^(813XXXXXXX)$">
                                       <action application="log"
data="notice  INBOUND CALL FOR DID ${destination_number}"/>
                                       <action application="export"
data="call_direction=inbound"/>
                                       <action application="transfer"
data="1049 XML default"/>
                                    </condition>
                                </extension>
                            </context>
                        </section>
                    </document>

2015-09-01 21:35:07.976400 [DEBUG] mod_python.c:286 Finished calling python
script
Dialplan: sofia/external/603XXXXXXX at 10.50.12.227:5065 parsing
[public->338_dotcs_route] continue=false
*Dialplan: sofia/external/603XXXXXXX at 10.50.12.227:5065
<http://603XXXXXXX@10.50.12.227:5065> Regex (PASS) ]
destination_number(813XXXXXXX) =~ /^(813XXXXXXX)$/ break=on-false*
2015-09-01 21:35:07.976400 [INFO] switch_core_state_machine.c:241 No Route,
Aborting


What do you guys think might be wrong?


Thanks



-- 


*Adolphe CHER-AIME*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150901/947648c2/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list