<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    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 class="moz-cite-prefix">On 13/01/16 00:52, malik sherif wrote:<br>
    </div>
    <blockquote
cite="mid:BLUPR17MB017789705ED0B4299DE3B50FAECA0@BLUPR17MB0177.namprd17.prod.outlook.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=windows-1252">
      <style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
      <div id="divtagdefaultwrapper"
style="font-size:12pt;color:#000000;background-color:#FFFFFF;font-family:Calibri,Arial,Helvetica,sans-serif;">
        <p>Hello Daniel,</p>
        <p>No I didn't configure freeswitch with loopback but for some
          reason it was going to the loopback , it consider it as
          default network but I am able to point both kamailio and
          freeswitch to 10.22.52.2 by disabling IP-v6 for both
          external-ipv6.xml and internal-ipv6.xml. Freeswitch was
          complaining about  the following error.  <br>
        </p>
        <pre><code>sofia.c:2853 Error Creating SIP UA for profile: internal-ipv6 (<a class="moz-txt-link-freetext" href="sip:mod_sofia@">sip:mod_sofia@</a>[::1]
:5060;transport=udp,tcp) ATTEMPT 2 (RETRY IN 5 SEC)</code></pre>
        netstat -unlp now shows what I want but call is time out with
        408, I might have to check if port 5090 reachable but I am still
        wandering why i am getting 408.<br>
        <p><br>
        </p>
        udp        0      0 10.22.52.2:5060         
        0.0.0.0:*                           10603/kamailio       <br>
        udp        0      0 10.22.52.2:5090         
        0.0.0.0:*                           10469/freeswitch     <br>
        <p>udp        0      0 10.22.52.2:5092         
          0.0.0.0:*                           10469/freeswitch</p>
        <p><br>
        </p>
        <p>Thanks again Daniel for responding <br>
        </p>
        <p>Abdul<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"
              face="Calibri, sans-serif" color="#000000"><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 Daniel-Constantin Mierla
              <a class="moz-txt-link-rfc2396E" href="mailto:miconda@gmail.com"><miconda@gmail.com></a><br>
              <b>Sent:</b> Tuesday, January 12, 2016 11:07 PM<br>
              <b>To:</b> 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>
            did you configure the freeswitch to listen on loopback? You
            would need to do bridging of singnaling and eventually rtp
            between the network interface and loopback if you want this
            kind of topology.<br>
            <br>
            Cheers,<br>
            Daniel<br>
            <br>
            <div class="moz-cite-prefix">On 12/01/16 19:00, 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>Hello Abdul Basit,</p>
                <p>I specified that kamailio and freeswitch to share
                  same IP address but different udp port but netstat
                  -unlp show freeswitch use the loopback IP address
                  (port 5090 and 5092) and kamailio show the loopback IP
                  and 10.22.52.2 port 5060. Does freeswitch has to go to
                  loopback IP address?</p>
                <p>Thank you very much Abdul Basit for responding.</p>
                <p>Abdulmalik Sherif<br>
                </p>
                <p><br>
                </p>
                <p><br>
                </p>
                udp        0      0 10.22.52.2:5060        
                0.0.0.0:*                           31036/kamailio     
                 <br>
                udp        0      0 127.0.0.1:5060         
                0.0.0.0:*                           31036/kamailio     
                 <br>
                udp        0      0 127.0.0.1:5090         
                0.0.0.0:*                           30958/freeswitch   
                 <br>
                udp        0      0 127.0.0.1:5092         
                0.0.0.0:*                           30958/freeswitch<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" face="Calibri, sans-serif"
                      color="#000000"><b>From:</b> sr-users
                      <a moz-do-not-send="true"
                        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 Abdul Basit <a
                        moz-do-not-send="true"
                        class="moz-txt-link-rfc2396E"
                        href="mailto:basitstar@hotmail.com">
                        <a class="moz-txt-link-rfc2396E" href="mailto:basitstar@hotmail.com"><basitstar@hotmail.com></a></a><br>
                      <b>Sent:</b> Tuesday, January 12, 2016 2:55 AM<br>
                      <b>To:</b> Kamailio SER - Users Mailing List<br>
                      <b>Subject:</b> Re: [SR-Users] Kamailio and
                      freeswitch integration for SBC</font>
                    <div> </div>
                  </div>
                  <div>
                    <div dir="ltr">Hi AbdulMalik,<br>
                      <br>
                      <br>
                      brother this is not kamailio related issue, this
                      is some misconfiguration.<br>
                      I think, there is some port misconfiguration ,
                      kamailio running on 5060 and also freeswitch
                      running on 5060, make ur kamailio run specfically
                      on 5060, and freeswitch on different port
                      entirely.  please do it and share netstat result
                      again
                      <br>
                      <br>
                      udp        0      0 10.22.52.2:5060        
                      0.0.0.0:*                           9075/kamailio 
                      <br>
                      udp        0      0 ::1:5060               
                      :::*                               
                      9002/freeswitch    
                      <br>
                      <br>
                      <br>
                      Regards,<br>
                      AB<br>
                      <div>
                        <hr id="stopSpelling">
                        From: <a moz-do-not-send="true"
                          class="moz-txt-link-abbreviated"
                          href="mailto:asherif74@hotmail.com">asherif74@hotmail.com</a><br>
                        To: <a moz-do-not-send="true"
                          class="moz-txt-link-abbreviated"
                          href="mailto:sr-users@lists.sip-router.org">
                          sr-users@lists.sip-router.org</a><br>
                        Date: Mon, 11 Jan 2016 23:47:41 +0000<br>
                        Subject: Re: [SR-Users] Kamailio and freeswitch
                        integration for SBC<br>
                        <br>
                        <div id="ecxdivtagdefaultwrapper"
                          style="font-size:12pt; color:#000000;
                          background-color:#FFFFFF;
                          font-family:Calibri,Arial,Helvetica,sans-serif">
                          When I run netstat -unlp command it show the
                          following list. Is it correct for freeswitch
                          to have the loopback IP address? I think this
                          is maybe a reason the invite is timeout with
                          408 but I am not sure. How can I fix this
                          problem? I just want to confirm if integrating
                          Kamailio with freeswitch works as SBC?<br>
                          Thanks Again<br>
                          <br>
                          <br>
                          <br>
                          <br>
                          udp        0      0 10.22.52.2:7060        
                          0.0.0.0:*                          
                          9075/kamailio       <br>
                          udp        0      0 10.22.52.2:5060        
                          0.0.0.0:*                          
                          9075/kamailio       <br>
                          udp        0      0 127.0.0.1:5090         
                          0.0.0.0:*                          
                          9002/freeswitch     <br>
                          udp        0      0 127.0.0.1:5092         
                          0.0.0.0:*                          
                          9002/freeswitch  <br>
                          udp        0      0 ::1:5060               
                          :::*                               
                          9002/freeswitch     <br>
                          udp        0      0 ::1:5080               
                          :::*                               
                          9002/freeswitch    <br>
                          <br>
                          <br>
                          <br>
                          <div style="color:rgb(24,22,21)">
                            <hr tabindex="-1"
                              style="display:inline-block; width:98%">
                            <div id="ecxdivRplyFwdMsg" dir="ltr"><font
                                style="font-size:11pt" face="Calibri,
                                sans-serif" color="#000000"><b>From:</b>
                                sr-users
                                <a moz-do-not-send="true"
                                  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 moz-do-not-send="true"
                                  class="moz-txt-link-rfc2396E"
                                  href="mailto:asherif74@hotmail.com">
                                  <asherif74@hotmail.com></a><br>
                                <b>Sent:</b> Monday, January 11, 2016
                                5:03 PM<br>
                                <b>To:</b> <a moz-do-not-send="true"
                                  class="moz-txt-link-abbreviated"
                                  href="mailto:sr-users@lists.sip-router.org">
                                  sr-users@lists.sip-router.org</a><br>
                                <b>Subject:</b> Re: [SR-Users] Kamailio
                                and freeswitch integration for SBC</font>
                              <div> </div>
                            </div>
                            <div>
                              <div id="ecxdivtagdefaultwrapper"
                                style="font-size:12pt; color:#000000;
                                background-color:#FFFFFF;
                                font-family:Calibri,Arial,Helvetica,sans-serif">
                                Hello,<br>
                                Any hint? How do I get a response?  is
                                it through user digest? <span></span><br>
                                <span>Thanks</span><br>
                                <span>Abdulmalik Sherif</span><br>
                                <br>
                                <br>
                                <br>
                                <div style="color:rgb(0,0,0)">
                                  <hr tabindex="-1"
                                    style="display:inline-block;
                                    width:98%">
                                  <div id="ecxdivRplyFwdMsg" dir="ltr"><font
                                      style="font-size:11pt"
                                      face="Calibri, sans-serif"
                                      color="#000000"><b>From:</b>
                                      sr-users
                                      <a moz-do-not-send="true"
                                        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 moz-do-not-send="true"
                                        class="moz-txt-link-rfc2396E"
                                        href="mailto:asherif74@hotmail.com">
                                        <asherif74@hotmail.com></a><br>
                                      <b>Sent:</b> Friday, January 8,
                                      2016 7:39 PM<br>
                                      <b>To:</b> <a
                                        moz-do-not-send="true"
                                        class="moz-txt-link-abbreviated"
href="mailto:sr-users@lists.sip-router.org">
                                        <a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a></a><br>
                                      <b>Subject:</b> [SR-Users]
                                      Kamailio and freeswitch
                                      integration for SBC</font>
                                    <div> </div>
                                  </div>
                                  <div>
                                    <div id="ecxdivtagdefaultwrapper"
                                      style="font-size:12pt;
                                      color:#000000;
                                      background-color:#FFFFFF;
                                      font-family:Calibri,Arial,Helvetica,sans-serif">
                                      Hello,<br>
                                      I was able to have successful call
                                      with kamailio and after
                                      integrating kamailio with
                                      freeswitch using the following
                                      link, the invite timeout and as a
                                      result the call failed.The status
                                      on kamailio show these info. Do I
                                      need to download outbound model? I
                                      am running kamailio ver 4.1.1 and
                                      freeswitch 1.4.18.<br>
                                      <br>
                                      <br>
                                      kamailio[19153]: 0(19162) INFO: rr
                                      [../outbound/api.h:54]:
                                      ob_load_api(): Failed to import
                                      bind_ob<br>
                                       kamailio[19153]: 0(19162) INFO:
                                      rr [rr_mod.c:159]: mod_init():
                                      outbound module not available<br>
                                      <br>
                                      <br>
                                      <span
                                        style="font-family:"Calibri","sans-serif""><a
                                          moz-do-not-send="true"
                                          class="moz-txt-link-freetext"
href="http://kb.asipto.com/freeswitch:kamailio-3.3.x-freeswitch-1.2.x-sbc"><a class="moz-txt-link-freetext" 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></a></span>
                                      <div
                                        id="LPBorder_GT_14526208031040.4396164270867692"
                                        style="margin-bottom:20px;
                                        overflow:auto; width:100%"
                                        contenteditable="false">
                                        <table
                                          id="LPContainer_14526208030940.2633741344305218"
                                          style="width:90%;
                                          background-color:rgb(255,255,255);
                                          overflow:auto;
                                          padding-top:20px;
                                          padding-bottom:20px;
                                          margin-top: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="ImageCell_14526208030960.05220938578522738"
                                                style="width:250px;
                                                display:table-cell;
                                                padding-right:20px">
                                                <div
                                                  id="LPImageContainer_14526208030960.5311618042799746"
                                                  style="background-color:rgb(255,255,255);
                                                  height:49px;
                                                  margin:auto;
                                                  display:table;
                                                  width:180px">
                                                  <a
                                                    moz-do-not-send="true"
                                                    target="_blank"
href="http://kb.asipto.com/freeswitch:kamailio-3.3.x-freeswitch-1.2.x-sbc"
id="LPImageAnchor_14526208030970.7659222730050124"
                                                    style="display:table-cell;
                                                    text-align:center"><img
moz-do-not-send="true" style="display:inline-block; margin-left:auto;
                                                      margin-right:auto;
                                                      max-width:250px;
                                                      max-height:250px;
                                                      height:49px;
                                                      width:180px;
                                                      border-width:0px;
vertical-align:bottom" src="http://kb.asipto.com/_media/wiki:logo.png"
                                                      height="49"
                                                      width="180"></a></div>
                                              </td>
                                              <td colspan="2"
                                                id="TextCell_14526208030980.27989634851831025"
                                                style="vertical-align:top;
                                                padding:0px;
                                                display:table-cell">
                                                <div
                                                  id="LPTitle_14526208030980.32545733105349905"
                                                  style=""><a
                                                    moz-do-not-send="true"
                                                    target="_blank"
href="http://kb.asipto.com/freeswitch:kamailio-3.3.x-freeswitch-1.2.x-sbc"
id="LPUrlAnchor_14526208031000.19839444808270112"
                                                    style="text-decoration:none">freeswitch:kamailio-3.3.x-freeswitch-1.2.x-sbc

                                                    [Asipto ...</a></div>
                                                <div
                                                  id="LPMetadata_14526208031000.9779273151048514"
                                                  style="">kb.asipto.com</div>
                                                <div
                                                  id="LPDescription_14526208031020.383221521328172"
                                                  style="">The scope of
                                                  this tutorial is to
                                                  show how you can use
                                                  Kamailio (former
                                                  OpenSER) and
                                                  FreeSWITCH to build a
                                                  complete SIP/VoIP
                                                  platform for large
                                                  number of subscribers.</div>
                                              </td>
                                            </tr>
                                          </tbody>
                                        </table>
                                      </div>
                                      <br>
                                      <br>
                                      <span
                                        style="font-family:"Calibri","sans-serif""></span><br>
                                      Thank you very much and your help
                                      is appreciated.<br>
                                      Thanks<br>
                                      Abdul<br>
                                      <span
                                        style="font-family:"Calibri","sans-serif""></span><br>
                                      <br>
                                      <span
                                        style="font-family:"Calibri","sans-serif""></span><br>
                                      <br>
                                      <span
                                        style="font-family:"Calibri","sans-serif""></span><br>
                                      <span
                                        style="font-family:"Calibri","sans-serif""><a
                                          moz-do-not-send="true"
                                          id="ecxLPlnk316256"
href="http://kb.asipto.com/freeswitch:kamailio-3.3.x-freeswitch-1.2.x-sbc"
                                          target="_blank"><br>
                                        </a></span><br>
                                      <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">
                                                <div
                                                  id="ecxLPImageContainer_14522810569270.24389599520059857"
                                                  style="background-color:rgb(255,255,255);
                                                  height:49px;
                                                  display:table;
                                                  width:180px">
                                                  <a
                                                    moz-do-not-send="true"
                                                    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
moz-do-not-send="true" style="display: inline-block; max-width: 250px;
                                                      max-height: 250px;
                                                      height: 49px;
                                                      width: 180px;
                                                      border-width: 0px;
                                                      vertical-align:
                                                      bottom;
                                                      -moz-user-select:
                                                      none;"
                                                      src="http://kb.asipto.com/_media/wiki:logo.png"
                                                      height="49"
                                                      width="180"></a></div>
                                              </td>
                                              <td colspan="2"
                                                id="ecxTextCell_14522810569350.8140484181343103"
                                                style="vertical-align:top;
                                                padding:0px;
                                                display:table-cell">
                                                <div
                                                  id="ecxLPTitle_14522810569350.5407953290945959"
                                                  style=""><a
                                                    moz-do-not-send="true"
                                                    target="_blank"
href="http://kb.asipto.com/freeswitch:kamailio-3.3.x-freeswitch-1.2.x-sbc"
id="ecxLPUrlAnchor_14522810569390.5735546042118297"
                                                    style="text-decoration:none">freeswitch:kamailio-3.3.x-freeswitch-1.2.x-sbc

                                                    [Asipto ...</a></div>
                                                <div
                                                  id="ecxLPMetadata_14522810569390.09141085491429912"
                                                  style="">kb.asipto.com</div>
                                                <div
                                                  id="ecxLPDescription_14522810569410.27389675705103333"
                                                  style="">The scope of
                                                  this tutorial is to
                                                  show how you can use
                                                  Kamailio (former
                                                  OpenSER) and
                                                  FreeSWITCH to build a
                                                  complete SIP/VoIP
                                                  platform for large
                                                  number of subscribers.</div>
                                              </td>
                                            </tr>
                                          </tbody>
                                        </table>
                                      </div>
                                      <br>
                                      <br>
                                      <br>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                        <br>
                        _______________________________________________
                        SIP Express Router (SER) and Kamailio (OpenSER)
                        - sr-users mailing list
                        <a moz-do-not-send="true"
                          class="moz-txt-link-abbreviated"
                          href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
                        <a moz-do-not-send="true"
                          class="moz-txt-link-freetext"
                          href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a></div>
                    </div>
                  </div>
                </div>
              </div>
              <br>
              <fieldset class="mimeAttachmentHeader"></fieldset>
              <br>
              <pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
            </blockquote>
            <br>
            <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://twitter.com/#%21/miconda">http://twitter.com/#!/miconda</a> - <a moz-do-not-send="true" 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 moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://miconda.eu">http://miconda.eu</a></pre>
          </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>
  </body>
</html>