<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
<p>Kamailio SIP is sending 404 not found since freeswitch is generated UN-allocated number, the call got rejected and goes to voicemail. 
<br>
</p>
<p>Thank you again for your help</p>
<p>Abdul<br>
</p>
<br>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> Daniel-Constantin Mierla <miconda@gmail.com><br>
<b>Sent:</b> Wednesday, January 13, 2016 9:06 PM<br>
<b>To:</b> malik sherif; Kamailio (SER) - Users Mailing List<br>
<b>Subject:</b> Re: [SR-Users] Kamailio and freeswitch integration for SBC</font>
<div> </div>
</div>
<div>What application is sending the 404?<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<div class="moz-cite-prefix">On 13/01/16 21:43, malik sherif wrote:<br>
</div>
<blockquote type="cite">
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Any hint as to how to correct this issue?</p>
<p><br>
</p>
<span id="ms-rterangepaste-start"></span>1 404 <i>UNALLOCATED_NUMBER</i> Unallocated (unassigned) number [Q.850 value 1] This cause indicates that the called party cannot be reached because, although the called party number is in a valid format, it is not currently
 allocated (assigned). <span id="ms-rterangepaste-end"></span><br>
<br>
<div style="color:rgb(0,0,0)">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> sr-users
<a class="moz-txt-link-rfc2396E" href="mailto:sr-users-bounces@lists.sip-router.org">
<sr-users-bounces@lists.sip-router.org></a> on behalf of malik sherif <a class="moz-txt-link-rfc2396E" href="mailto:asherif74@hotmail.com">
<asherif74@hotmail.com></a><br>
<b>Sent:</b> Wednesday, January 13, 2016 8:11 PM<br>
<b>To:</b> Kamailio (SER) - Users Mailing List; <a class="moz-txt-link-abbreviated" href="mailto:miconda@gmail.com">
miconda@gmail.com</a><br>
<b>Subject:</b> Re: [SR-Users] Kamailio and freeswitch integration for SBC</font>
<div> </div>
</div>
<div>
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>is there a new to edit vars.xml file? I haven't touched this file but one of the warning about default password
<br>
</p>
<p><br>
</p>
016-01-13 05:37:29.572184 [CRIT] mod_dptools.c:1638 Open /usr/local/freeswitch/conf/vars.xml and change the default_password.<br>
<br>
<div style="color:rgb(0,0,0)">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri, sans-serif"><b>From:</b> sr-users
<a class="moz-txt-link-rfc2396E" href="mailto:sr-users-bounces@lists.sip-router.org">
<sr-users-bounces@lists.sip-router.org></a> on behalf of malik sherif <a class="moz-txt-link-rfc2396E" href="mailto:asherif74@hotmail.com">
<asherif74@hotmail.com></a><br>
<b>Sent:</b> Wednesday, January 13, 2016 5:15 PM<br>
<b>To:</b> Kamailio (SER) - Users Mailing List; <a class="moz-txt-link-abbreviated" href="mailto:miconda@gmail.com">
miconda@gmail.com</a><br>
<b>Subject:</b> Re: [SR-Users] Kamailio and freeswitch integration for SBC</font>
<div> </div>
</div>
<div>
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Thanks again Daniel for replying.</p>
<p>Now the call is failing with 404 not found and goes to voicemail. I was calling between 7632689991 and 7632689993, I looked the extensions on freeswitch, and look OK but it is possible I might have missed something. Freeswitch issues the following errors.
 Thank you again for your help</p>
<p>Abdulmalik Sherif<br>
</p>
<p><br>
</p>
2016-01-13 05:37:29.572184 [NOTICE] switch_channel.c:1055 New Channel <a class="moz-txt-link-abbreviated" 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 <7632689991>->kb-7632689993 in context public<br>
2016-01-13 05:37:29.572184 [NOTICE] switch_ivr.c:1861 Transfer <a class="moz-txt-link-abbreviated" 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 <7632689991>->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 class="moz-txt-link-abbreviated" 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 class="moz-txt-link-abbreviated" 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.  Cause: UNALLOCATED_NUMBER<br>
2016-01-13 05:37:39.632245 [NOTICE] switch_core_session.c:1641 Session 12 (<a class="moz-txt-link-abbreviated" 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 class="moz-txt-link-abbreviated" 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 class="moz-txt-link-abbreviated" 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 [<a title="Ctrl+Click or tap to follow the link" class="moz-txt-link-abbreviated" href="mailto:sofia/internal/7632689991@AbdulKamailioSIP.com">sofia/internal/7632689991@AbdulKamailioSIP.com</a>]
 has been answered<br>
2016-01-13 05:37:50.532203 [NOTICE] sofia.c:952 Hangup <a class="moz-txt-link-abbreviated" 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 class="moz-txt-link-abbreviated" 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 class="moz-txt-link-abbreviated" href="mailto:sofia/internal/7632689991@AbdulKamailioSIP.com">
sofia/internal/7632689991@AbdulKamailioSIP.com</a> [CS_DESTROY]<br>
<p>###########################################################################################################################</p>
<p><br>
</p>
<p><br>
</p>
<p>My extensions are as follow:</p>
<p><include><br>
  <user id="7632689991"><br>
    <params><br>
      <param name="vm-password" value="1001"/><br>
    </params><br>
    <variables><br>
      <variable name="accountcode" value="7632689991"/><br>
      <variable name="user_context" value="default"/><br>
      <variable name="effective_caller_id_name" value="Extension 7632689991"/><br>
      <variable name="effective_caller_id_number" value="7632689991"/><br>
    </variables><br>
  </user><br>
</include><br>
</p>
<p>##########################################################################</p>
<p><include><br>
  <user id="7632689993"><br>
    <params><br>
      <param name="vm-password" value="1003"/><br>
    </params><br>
    <variables><br>
      <variable name="accountcode" value="7632689993"/><br>
      <variable name="user_context" value="default"/><br>
      <variable name="effective_caller_id_name" value="Extension Sherif"/><br>
      <variable name="effective_caller_id_number" value="7632689993"/><br>
    </variables><br>
  </user><br>
</include><br>
############################################################################<br>
</p>
<p><br>
</p>
<p><br>
</p>
<p><br>
</p>
<br>
<div style="color:rgb(0,0,0)">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font style="font-size:11pt" color="#000000" face="Calibri,
                          sans-serif"><b>From:</b> Daniel-Constantin Mierla
<a class="moz-txt-link-rfc2396E" href="mailto:miconda@gmail.com"><miconda@gmail.com></a><br>
<b>Sent:</b> Wednesday, January 13, 2016 6:34 AM<br>
<b>To:</b> malik sherif; Kamailio (SER) - Users Mailing List<br>
<b>Subject:</b> Re: [SR-Users] Kamailio and freeswitch integration for SBC</font>
<div> </div>
</div>
<div>Hello,<br>
<br>
the error with creating the SIP UA is most probable because of kamailio listening on 5060 and freeswitch trying to do the same.<br>
<br>
To troubleshoot the 408, use ngrep or other network sniffing tool, and look on the network to see where the sip request is sent. Like:<br>
<br>
ngrep -d any -qt -W byline port 5060<br>
<br>
Cheers,<br>
Daniel<br>
<br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<a target="_blank" href="http://kb.asipto.com/freeswitch:kamailio-3.3.x-freeswitch-1.2.x-sbc" id="ecxLPImageAnchor_14522810569300.7275686506344291" style="display:table-cell; text-align:center"><img style="display: inline-block; max-width: 250px; max-height: 250px; height: 49px; width: 180px; border-width: 0px; vertical-align: bottom; -moz-user-select: none;" height="49" width="180" src="http://kb.asipto.com/_media/wiki:logo.png"></a>
<blockquote type="cite">
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<div style="color:rgb(0,0,0)">
<div>
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<div style="color:rgb(0,0,0)">
<div>
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<div style="color:rgb(0,0,0)">
<div>
<blockquote type="cite">
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<div style="color:rgb(0,0,0)">
<div>
<blockquote type="cite">
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<div style="color:rgb(0,0,0)">
<div>
<div dir="ltr">
<div>
<div id="ecxdivtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<div style="color:rgb(24,22,21)">
<div>
<div id="ecxdivtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<div style="color:rgb(0,0,0)">
<div>
<div id="ecxdivtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<div id="ecxLPBorder_GT_14522810569430.20568789829030087" style="overflow:auto; width:100%">
<table id="ecxLPContainer_14522810569220.5205856588552134" style="width:90%; background-color:rgb(255,255,255); overflow:auto; padding-top:20px; padding-bottom:20px; border-top:1px
                                                          dotted
                                                          rgb(200,200,200); border-bottom:1px
                                                          dotted
                                                          rgb(200,200,200)" cellspacing="0">
<tbody>
<tr style="border-spacing:0px" valign="top">
<td colspan="1" id="ecxImageCell_14522810569260.464580891131801" style="width:250px; display:table-cell; padding-right:20px">
</td>
<td colspan="2" id="ecxTextCell_14522810569350.8140484181343103" style="vertical-align:top; padding:0px; display:table-cell">
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
<br>
<pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a>
Book: SIP Routing With Kamailio - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://miconda.eu">http://miconda.eu</a></pre>
</div>
</div>
</div>
</body>
</html>