<div dir="ltr">By default FS has two contexts. Default and Private.<div><br></div><div>The call is looking for context External.</div><div><br></div><div>So either make a new context External in the dialplan and copy your dialplan there. </div><div>Or change the internal/external profile settings and set the context explicitly to default/public.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 22, 2015 at 2:39 PM, Stanislav Sinyagin <span dir="ltr"><<a href="mailto:ssinyagin@gmail.com" target="_blank">ssinyagin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">>> Processing 18585551212 <18585551212>->18585559999 in context external<br>
<br>
</span>does your "external" context have the matching conditions? I guess not.<br>
<br>
See also my tutorial, hopefully it will be helpful:<br>
<a href="https://github.com/voxserv/freeswitch_conf_minimal/blob/tutorials/docs/tutorial_01_simple_pbx.md" rel="noreferrer" target="_blank">https://github.com/voxserv/freeswitch_conf_minimal/blob/tutorials/docs/tutorial_01_simple_pbx.md</a><br>
<br>
but in general, The Book is giving all the answers:<br>
<a href="https://www.packtpub.com/networking-and-servers/freeswitch-12" rel="noreferrer" target="_blank">https://www.packtpub.com/networking-and-servers/freeswitch-12</a><br>
<div><div class="h5"><br>
<br>
<br>
<br>
On Mon, Jun 22, 2015 at 5:11 AM, Rick Ewart <<a href="mailto:rick@ewart.net">rick@ewart.net</a>> wrote:<br>
> Hi All.<br>
><br>
><br>
><br>
> I am new to FreeSwitch (but not to VoIP in general) and have been beating my<br>
> head against the wall for a number of hours now on this. I seem to be having<br>
> an issue with what seems like it should be a SIMPLE thing to do.<br>
><br>
><br>
><br>
> I have a carrier that I am registering my FS to, and I am able to make<br>
> outgoing calls without an issue as well as calls between extensions. However<br>
> when I make inbound calls I get an error about no route. I have researched<br>
> everything I can find, tried 50 different variations on the same thing, and<br>
> haven’t found a solution. It seems like it has to be something simple I am<br>
> missing. The config is pretty standard from the regular install. FreeSWITCH<br>
> Version 1.4.15~64bit on CentOS for whatever that matters.<br>
><br>
><br>
><br>
> Below is the error I am receiving on the console. I made things a bit<br>
> generic but in this case I am calling the DID 18585551212 (I get 11 digits<br>
> from the carrier). My FS is 123.123.12.31 and the upstream carrier is<br>
> 123.123.12.30. No NAT here – both are public IPs and actually in the same<br>
> subnet.<br>
><br>
><br>
><br>
> As you can see below, I have ext 1000 registered to the system, and the<br>
> carrier gateway is registered also. Finally, I provided my inbound DID<br>
> dialplan.<br>
><br>
><br>
><br>
> I am grateful for any help you can provide.<br>
><br>
><br>
><br>
> Thanks.<br>
><br>
> Rick<br>
><br>
><br>
><br>
> [NOTICE] switch_channel.c:1055 New Channel<br>
> sofia/external/<a href="http://18585551212@123.123.12.30:5060" rel="noreferrer" target="_blank">18585551212@123.123.12.30:5060</a><br>
> [abd31162-1886-11e5-a031-c396b897fabe]<br>
><br>
> [INFO] mod_dialplan_xml.c:635 Processing 18585551212<br>
> <18585551212>->18585559999 in context external<br>
><br>
> [WARNING] mod_dialplan_xml.c:665 Context external not found<br>
><br>
> [INFO] switch_core_state_machine.c:241 No Route, Aborting<br>
><br>
> [NOTICE] switch_core_state_machine.c:242 Hangup<br>
> sofia/external/<a href="http://18585551212@123.123.12.30:5060" rel="noreferrer" target="_blank">18585551212@123.123.12.30:5060</a> [CS_ROUTING]<br>
> [NO_ROUTE_DESTINATION]<br>
><br>
> [NOTICE] switch_core_session.c:1633 Session 32<br>
> (sofia/external/<a href="http://18585551212@123.123.12.30:5060" rel="noreferrer" target="_blank">18585551212@123.123.12.30:5060</a>) Ended<br>
><br>
> [NOTICE] switch_core_session.c:1637 Close Channel<br>
> sofia/external/<a href="http://18585551212@123.123.12.30:5060" rel="noreferrer" target="_blank">18585551212@123.123.12.30:5060</a> [CS_DESTROY]<br>
><br>
><br>
><br>
> dialplan/public/00_inbound_did.xml:<br>
><br>
> <extension name="18585559999"><br>
><br>
> <condition field="destination_number" expression="18585559999"><br>
><br>
> <action application="set" data="domain_name=$${domain}"/><br>
><br>
> <action application="transfer" data="1000 XML default"/><br>
><br>
> </condition><br>
><br>
> </extension><br>
><br>
><br>
><br>
> Name Type<br>
> Data State<br>
><br>
> =================================================================================================<br>
><br>
> external profile <a href="http://sip:mod_sofia@123.123.12.31:5080" rel="noreferrer" target="_blank">sip:mod_sofia@123.123.12.31:5080</a><br>
> RUNNING (0)<br>
><br>
> external::xyzswitch gateway<br>
> <a href="mailto:sip%3Aricktest@123.123.12.30">sip:ricktest@123.123.12.30</a> REGED<br>
><br>
> <a href="http://atl.somecompany.net" rel="noreferrer" target="_blank">atl.somecompany.net</a> alias<br>
> internal ALIASED<br>
><br>
> internal profile <a href="http://sip:mod_sofia@123.123.12.31:5060" rel="noreferrer" target="_blank">sip:mod_sofia@123.123.12.31:5060</a><br>
> RUNNING (0)<br>
><br>
> =================================================================================================<br>
><br>
><br>
><br>
> Registrations:<br>
><br>
> =================================================================================================<br>
><br>
> Call-ID: fd6446250b3b4d489aad6bb3a5bf5603<br>
><br>
> User: <a href="mailto:1000@atl.somecompany.net">1000@atl.somecompany.net</a><br>
><br>
> Contact: "Rick"<br>
> <sip:1000@10.1.10.123:5060;ob;fs_nat=yes;fs_path=<a href="mailto:sip%3A1000@70.12.123.222">sip:1000@70.12.123.222</a>%3A5060;ob><br>
><br>
> Agent: MicroSIP/3.3.31<br>
><br>
> Status: Registered(UDP-NAT)(unknown) EXP(2015-06-21 22:52:03)<br>
> EXPSECS(208)<br>
><br>
> Ping-Status: Reachable<br>
><br>
> Host: <a href="http://atl.somecompany.net" rel="noreferrer" target="_blank">atl.somecompany.net</a><br>
><br>
> IP: 70.12.123.222<br>
><br>
> Port: 5060<br>
><br>
> Auth-User: 1000<br>
><br>
> Auth-Realm: 123.123.12.31<br>
><br>
> MWI-Account: <a href="mailto:1000@atl.somecompany.net">1000@atl.somecompany.net</a><br>
><br>
><br>
><br>
> Total items returned: 1<br>
><br>
> =================================================================================================<br>
><br>
><br>
</div></div>> _________________________________________________________________________<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>
<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></blockquote></div><br></div>