<div dir="ltr"><div>&gt; I am new to freeSWITCH, and working trough the examples from the</div><div>&gt; FreeSWITCH (1.2)  Book.</div><div>&gt; </div><div>&gt; I have the system built, and running, and everything looks OK. The</div><div>&gt; system registers with my VoIP provider (<a href="http://voip.ms">voip.ms</a>), an IP phone registers</div><div>&gt; with FreeSWITCH, and I can call out to the POTS. However, when I try to</div><div>&gt; call into the IP phone, I can see the incoming call information at</div><div>&gt; fs_cli, but it instantly hangs up, and never goes through to the</div><div>&gt; intended destination set up in dialplan/public/01_voipms.xml. The</div><div>&gt; message that I get is</div><div>&gt; </div><div>&gt; [NOTICE] switch_core_state_machine.c:315</div><div>&gt; sofia/external/613XXXXXXX@158.85.70.XXX has executed the last dialplan</div><div>&gt; instruction, hanging up</div><div><br></div><div>Suggest you take a look at:</div><div><br></div><div><a href="https://wiki.freeswitch.org/wiki/Dialplan_XML#Example_9:_Routing_DID_to_an_extension">https://wiki.freeswitch.org/wiki/Dialplan_XML#Example_9:_Routing_DID_to_an_extension</a><br></div><div><br></div><div>Since is has &#39;executed the last dialplan instruction&#39; it has failed to find a match within</div><div>any of the dialplan instructions and it hangs up.</div><div><br></div><div>Take a look back through the lines appearing in your fs_cli and try to find the line</div><div>containing a reference to &#39;01_voipms.xml&#39; and you will probably notice the problem</div><div>a few characters after: &#39;Regex (FAIL)&#39;</div><div><br></div><div>This will be where your incoming <a href="http://voip.ms">voip.ms</a> phone number fails to match what you have</div><div>in the dialplan intended destination setup.</div><div><br></div><div>Hope this helps.</div><div><br></div><div>-kim</div><div><br></div></div>