[Freeswitch-users] Help with inbound calling

Rick Ewart rick at ewart.net
Mon Jun 22 07:11:11 MSD 2015


Hi All.

 

I am new to FreeSwitch (but not to VoIP in general) and have been beating
my head against the wall for a number of hours now on this. I seem to be
having an issue with what seems like it should be a SIMPLE thing to do. 

 

I have a carrier that I am registering my FS to, and I am able to make
outgoing calls without an issue as well as calls between extensions.
However when I make inbound calls I get an error about no route. I have
researched everything I can find, tried 50 different variations on the
same thing, and haven't found a solution. It seems like it has to be
something simple I am missing. The config is pretty standard from the
regular install. FreeSWITCH Version 1.4.15~64bit on CentOS for whatever
that matters.

 

Below is the error I am receiving on the console. I made things a bit
generic but in this case I am calling the DID 18585551212 (I get 11 digits
from the carrier). My FS is 123.123.12.31 and the upstream carrier is
123.123.12.30. No NAT here - both are public IPs and actually in the same
subnet.

 

As you can see below, I have ext 1000 registered to the system, and the
carrier gateway is registered also. Finally, I provided my inbound DID
dialplan.

 

I am grateful for any help you can provide.

 

Thanks.

Rick

 

[NOTICE] switch_channel.c:1055 New Channel
sofia/external/18585551212 at 123.123.12.30:5060
[abd31162-1886-11e5-a031-c396b897fabe]

[INFO] mod_dialplan_xml.c:635 Processing 18585551212
<18585551212>->18585559999 in context external

[WARNING] mod_dialplan_xml.c:665 Context external not found

[INFO] switch_core_state_machine.c:241 No Route, Aborting

[NOTICE] switch_core_state_machine.c:242 Hangup
sofia/external/18585551212 at 123.123.12.30:5060 [CS_ROUTING]
[NO_ROUTE_DESTINATION]

[NOTICE] switch_core_session.c:1633 Session 32
(sofia/external/18585551212 at 123.123.12.30:5060) Ended

[NOTICE] switch_core_session.c:1637 Close Channel
sofia/external/18585551212 at 123.123.12.30:5060 [CS_DESTROY]

 

dialplan/public/00_inbound_did.xml:

   <extension name="18585559999">

    <condition field="destination_number" expression="18585559999">

     <action application="set" data="domain_name=$${domain}"/>

     <action application="transfer" data="1000 XML default"/>

    </condition>

   </extension>

 

                     Name          Type
Data      State

==========================================================================
=======================

      external       profile           sip:mod_sofia at 123.123.12.31:5080
RUNNING (0)

      external::xyzswitch       gateway
sip:ricktest at 123.123.12.30     REGED

      atl.somecompany.net         alias
internal      ALIASED

      internal       profile           sip:mod_sofia at 123.123.12.31:5060
RUNNING (0)

==========================================================================
=======================

 

Registrations:

==========================================================================
=======================

Call-ID:        fd6446250b3b4d489aad6bb3a5bf5603

User:           1000 at atl.somecompany.net

Contact:        "Rick"
<sip:1000 at 10.1.10.123:5060;ob;fs_nat=yes;fs_path=sip:1000 at 70.12.123.222%3A
5060;ob>

Agent:          MicroSIP/3.3.31

Status:         Registered(UDP-NAT)(unknown) EXP(2015-06-21 22:52:03)
EXPSECS(208)

Ping-Status:    Reachable

Host:           atl.somecompany.net

IP:             70.12.123.222

Port:           5060

Auth-User:      1000

Auth-Realm:     123.123.12.31

MWI-Account:    1000 at atl.somecompany.net

 

Total items returned: 1

==========================================================================
=======================

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150621/f8849b15/attachment.html 


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