<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">&lt;<a href="mailto:ssinyagin@gmail.com" target="_blank">ssinyagin@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">&gt;&gt; Processing 18585551212 &lt;18585551212&gt;-&gt;18585559999 in context external<br>
<br>
</span>does your &quot;external&quot; 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 &lt;<a href="mailto:rick@ewart.net">rick@ewart.net</a>&gt; wrote:<br>
&gt; Hi All.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; I am new to FreeSwitch (but not to VoIP in general) and have been beating my<br>
&gt; head against the wall for a number of hours now on this. I seem to be having<br>
&gt; an issue with what seems like it should be a SIMPLE thing to do.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; I have a carrier that I am registering my FS to, and I am able to make<br>
&gt; outgoing calls without an issue as well as calls between extensions. However<br>
&gt; when I make inbound calls I get an error about no route. I have researched<br>
&gt; everything I can find, tried 50 different variations on the same thing, and<br>
&gt; haven’t found a solution. It seems like it has to be something simple I am<br>
&gt; missing. The config is pretty standard from the regular install. FreeSWITCH<br>
&gt; Version 1.4.15~64bit on CentOS for whatever that matters.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Below is the error I am receiving on the console. I made things a bit<br>
&gt; generic but in this case I am calling the DID 18585551212 (I get 11 digits<br>
&gt; from the carrier). My FS is 123.123.12.31 and the upstream carrier is<br>
&gt; 123.123.12.30. No NAT here – both are public IPs and actually in the same<br>
&gt; subnet.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; As you can see below, I have ext 1000 registered to the system, and the<br>
&gt; carrier gateway is registered also. Finally, I provided my inbound DID<br>
&gt; dialplan.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; I am grateful for any help you can provide.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Thanks.<br>
&gt;<br>
&gt; Rick<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; [NOTICE] switch_channel.c:1055 New Channel<br>
&gt; sofia/external/<a href="http://18585551212@123.123.12.30:5060" rel="noreferrer" target="_blank">18585551212@123.123.12.30:5060</a><br>
&gt; [abd31162-1886-11e5-a031-c396b897fabe]<br>
&gt;<br>
&gt; [INFO] mod_dialplan_xml.c:635 Processing 18585551212<br>
&gt; &lt;18585551212&gt;-&gt;18585559999 in context external<br>
&gt;<br>
&gt; [WARNING] mod_dialplan_xml.c:665 Context external not found<br>
&gt;<br>
&gt; [INFO] switch_core_state_machine.c:241 No Route, Aborting<br>
&gt;<br>
&gt; [NOTICE] switch_core_state_machine.c:242 Hangup<br>
&gt; 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>
&gt; [NO_ROUTE_DESTINATION]<br>
&gt;<br>
&gt; [NOTICE] switch_core_session.c:1633 Session 32<br>
&gt; (sofia/external/<a href="http://18585551212@123.123.12.30:5060" rel="noreferrer" target="_blank">18585551212@123.123.12.30:5060</a>) Ended<br>
&gt;<br>
&gt; [NOTICE] switch_core_session.c:1637 Close Channel<br>
&gt; 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>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; dialplan/public/00_inbound_did.xml:<br>
&gt;<br>
&gt;    &lt;extension name=&quot;18585559999&quot;&gt;<br>
&gt;<br>
&gt;     &lt;condition field=&quot;destination_number&quot; expression=&quot;18585559999&quot;&gt;<br>
&gt;<br>
&gt;      &lt;action application=&quot;set&quot; data=&quot;domain_name=$${domain}&quot;/&gt;<br>
&gt;<br>
&gt;      &lt;action application=&quot;transfer&quot; data=&quot;1000 XML default&quot;/&gt;<br>
&gt;<br>
&gt;     &lt;/condition&gt;<br>
&gt;<br>
&gt;    &lt;/extension&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;                      Name          Type<br>
&gt; Data      State<br>
&gt;<br>
&gt; =================================================================================================<br>
&gt;<br>
&gt;       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>
&gt; RUNNING (0)<br>
&gt;<br>
&gt;       external::xyzswitch       gateway<br>
&gt; <a href="mailto:sip%3Aricktest@123.123.12.30">sip:ricktest@123.123.12.30</a>     REGED<br>
&gt;<br>
&gt;       <a href="http://atl.somecompany.net" rel="noreferrer" target="_blank">atl.somecompany.net</a>         alias<br>
&gt; internal      ALIASED<br>
&gt;<br>
&gt;       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>
&gt; RUNNING (0)<br>
&gt;<br>
&gt; =================================================================================================<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Registrations:<br>
&gt;<br>
&gt; =================================================================================================<br>
&gt;<br>
&gt; Call-ID:        fd6446250b3b4d489aad6bb3a5bf5603<br>
&gt;<br>
&gt; User:           <a href="mailto:1000@atl.somecompany.net">1000@atl.somecompany.net</a><br>
&gt;<br>
&gt; Contact:        &quot;Rick&quot;<br>
&gt; &lt;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&gt;<br>
&gt;<br>
&gt; Agent:          MicroSIP/3.3.31<br>
&gt;<br>
&gt; Status:         Registered(UDP-NAT)(unknown) EXP(2015-06-21 22:52:03)<br>
&gt; EXPSECS(208)<br>
&gt;<br>
&gt; Ping-Status:    Reachable<br>
&gt;<br>
&gt; Host:           <a href="http://atl.somecompany.net" rel="noreferrer" target="_blank">atl.somecompany.net</a><br>
&gt;<br>
&gt; IP:             70.12.123.222<br>
&gt;<br>
&gt; Port:           5060<br>
&gt;<br>
&gt; Auth-User:      1000<br>
&gt;<br>
&gt; Auth-Realm:     123.123.12.31<br>
&gt;<br>
&gt; MWI-Account:    <a href="mailto:1000@atl.somecompany.net">1000@atl.somecompany.net</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; Total items returned: 1<br>
&gt;<br>
&gt; =================================================================================================<br>
&gt;<br>
&gt;<br>
</div></div>&gt; _________________________________________________________________________<br>
&gt; Professional FreeSWITCH Consulting Services:<br>
&gt; <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
&gt; <a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
&gt;<br>
&gt; Official FreeSWITCH Sites<br>
&gt; <a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
&gt; <a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
&gt; <a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
&gt;<br>
&gt; FreeSWITCH-users mailing list<br>
&gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; 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>
&gt; <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>