<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=us-ascii"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p
        {mso-style-priority:99;
        margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>The log is telling you that FreeSWITCH is looking in the dialplan that contains the context named &#8220;public&#8221; (this is the external.xml dialplan in the vanilla configuration) and can not find a match for &#8220;7632689993&#8221;.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Since the log is also SCREAMING at you to change the default password in vars.xml I can assume that you have not modified any other configuration files, which is why the call fails. At the very least, add a dialplan extension that matches 7632689993, but PLEASE review the comments in the dialplan and the documentation on Confluence to avoid exposing your switch to toll fraud.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>The directory allows devices to register with FreeSWITCH, the dialplan routes calls.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><a href="https://freeswitch.org/confluence/display/FREESWITCH/Dialplan">https://freeswitch.org/confluence/display/FREESWITCH/Dialplan</a><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Hope this helps.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>---<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Bote<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>FreeSWITCH Docs Janitor<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><a href="http://freeswitch.org/confluence">http://freeswitch.org/confluence</a><o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p>&nbsp;</o:p></span></p><div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> malik sherif<br><b>Sent:</b> Monday, 18 January, 2016 18:13<br><b>Subject:</b> [Freeswitch-users] kamailio freeswitch SBC<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><div id=divtagdefaultwrapper><p style='background:white'><span style='font-family:"Calibri","sans-serif";color:black'>Hello,<br><br>I integrated kamailio and freeswitch using the links at the bottom of the page, however, the call rejected and goes to voicemail and freeswitch generated the following messages especially I am puzzled by the following errors<br><br>2016-01-13 05:37:39.632245 [NOTICE] sofia.c:7539 Hangup <a href="mailto:sofia/internal/7632689993@10.22.52.2">sofia/internal/7632689993@10.22.52.2</a> [CS_ROUTING] [UNALLOCATED_NUMBER]<br>2016-01-13 05:37:39.632245 [INFO] mod_dptools.c:3244 Originate Failed.&nbsp; Cause: UNALLOCATED_NUMBER<br><br><br><br>Can freeswitch use domain name since kamailio sent invite with domain but freeswitch with IP address? I am not sure if this is the issue. I looked my extensions and it looks OK but I might be wrong.<br><br>Thank you again for your help<br><br>Abdul<br><br><br>############################################################################################################################################<br><br>2016-01-13 05:37:29.572184 [NOTICE] switch_channel.c:1055 New Channel <a href="mailto:sofia/internal/7632689991@AbdulKamailioSIP.com">sofia/internal/7632689991@AbdulKamailioSIP.com</a> [e945266d-8eec-4c0e-80b4-b306f43e18df]<br>2016-01-13 05:37:29.572184 [INFO] mod_dialplan_xml.c:635 Processing 7632689991 &lt;7632689991&gt;-&gt;kb-7632689993 in context public<br>2016-01-13 05:37:29.572184 [NOTICE] switch_ivr.c:1861 Transfer <a href="mailto:sofia/internal/7632689991@AbdulKamailioSIP.com">sofia/internal/7632689991@AbdulKamailioSIP.com</a> to XML[kb-7632689993@default]<br>2016-01-13 05:37:29.572184 [INFO] mod_dialplan_xml.c:635 Processing 7632689991 &lt;7632689991&gt;-&gt;kb-7632689993 in context default<br>2016-01-13 05:37:29.572184 [CRIT] mod_dptools.c:1638 WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING<br>2016-01-13 05:37:29.572184 [CRIT] mod_dptools.c:1638 Open /usr/local/freeswitch/conf/vars.xml and change the default_password.<br>2016-01-13 05:37:29.572184 [CRIT] mod_dptools.c:1638 Once changed type 'reloadxml' at the console.<br>2016-01-13 05:37:29.572184 [CRIT] mod_dptools.c:1638 WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING<br>2016-01-13 05:37:39.632245 [NOTICE] switch_channel.c:1055 New Channel <a href="mailto:sofia/internal/7632689993@10.22.52.2">sofia/internal/7632689993@10.22.52.2</a> [d52b6ef9-c4f6-4edf-aff9-8a8da3761788]<br>2016-01-13 05:37:39.632245 [NOTICE] sofia.c:7539 Hangup <a href="mailto:sofia/internal/7632689993@10.22.52.2">sofia/internal/7632689993@10.22.52.2</a> [CS_ROUTING] [UNALLOCATED_NUMBER]<br>2016-01-13 05:37:39.632245 [INFO] mod_dptools.c:3244 Originate Failed.&nbsp; Cause: UNALLOCATED_NUMBER<br>2016-01-13 05:37:39.632245 [NOTICE] switch_core_session.c:1641 Session 12 (<a href="mailto:sofia/internal/7632689993@10.22.52.2">sofia/internal/7632689993@10.22.52.2</a>) Ended<br>2016-01-13 05:37:39.632245 [NOTICE] switch_core_session.c:1645 Close Channel <a href="mailto:sofia/internal/7632689993@10.22.52.2">sofia/internal/7632689993@10.22.52.2</a> [CS_DESTROY]<br>2016-01-13 05:37:39.632245 [NOTICE] sofia_media.c:92 Pre-Answer <a href="mailto:sofia/internal/7632689991@AbdulKamailioSIP.com">sofia/internal/7632689991@AbdulKamailioSIP.com</a>!<br>2016-01-13 05:37:39.653182 [NOTICE] mod_dptools.c:1268 Channel [sofia/internal/7632689991@AbdulKamailioSIP.com] has been answered<br>2016-01-13 05:37:50.532203 [NOTICE] sofia.c:952 Hangup <a href="mailto:sofia/internal/7632689991@AbdulKamailioSIP.com">sofia/internal/7632689991@AbdulKamailioSIP.com</a> [CS_EXECUTE] [NORMAL_CLEARING]<br>2016-01-13 05:37:50.552949 [NOTICE] switch_core_session.c:1641 Session 11 (<a href="mailto:sofia/internal/7632689991@AbdulKamailioSIP.com">sofia/internal/7632689991@AbdulKamailioSIP.com</a>) Ended<br>2016-01-13 05:37:50.552949 [NOTICE] switch_core_session.c:1645 Close Channel <a href="mailto:sofia/internal/7632689991@AbdulKamailioSIP.com">sofia/internal/7632689991@AbdulKamailioSIP.com</a> [CS_DESTROY]<br>##########################################################################################################################<br><br><br>&lt;include&gt;<br>&nbsp; &lt;user id=&quot;7632689991&quot;&gt;<br>&nbsp;&nbsp;&nbsp; &lt;params&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name=&quot;vm-password&quot; value=&quot;1001&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/params&gt;<br>&nbsp;&nbsp;&nbsp; &lt;variables&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variable name=&quot;accountcode&quot; value=&quot;7632689991&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variable name=&quot;user_context&quot; value=&quot;default&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variable name=&quot;effective_caller_id_name&quot; value=&quot;Extension 7632689991&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variable name=&quot;effective_caller_id_number&quot; value=&quot;7632689991&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/variables&gt;<br>&nbsp; &lt;/user&gt;<br>&lt;/include&gt;<br>##############################################################################################################<br><br>&lt;include&gt;<br>&nbsp; &lt;user id=&quot;7632689993&quot;&gt;<br>&nbsp;&nbsp;&nbsp; &lt;params&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;param name=&quot;vm-password&quot; value=&quot;1003&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/params&gt;<br>&nbsp;&nbsp;&nbsp; &lt;variables&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variable name=&quot;accountcode&quot; value=&quot;7632689993&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variable name=&quot;user_context&quot; value=&quot;default&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variable name=&quot;effective_caller_id_name&quot; value=&quot;Extension Sherif&quot;/&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;variable name=&quot;effective_caller_id_number&quot; value=&quot;7632689993&quot;/&gt;<br>&nbsp;&nbsp;&nbsp; &lt;/variables&gt;<br>&nbsp; &lt;/user&gt;<br>&lt;/include&gt;<br>#####################################################################################################################<br><br><br><br><br><br><br><br><a href="http://kb.asipto.com/freeswitch:kamailio-3.3.x-freeswitch-1.2.x-sbc">http://kb.asipto.com/freeswitch:kamailio-3.3.x-freeswitch-1.2.x-sbc</a><o:p></o:p></span></p></div></div></div></body></html>