<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    Hello,<br>
    <br>
    ngrep trace (I haven't seen any yet in the thread) of such call can
    help seeing if Record-/Route and Contact headers are properly set
    and maintained during the call. It might be a broken RR handling in
    a device or a wrong update of contact address.<br>
    <br>
    On the other hand, in the config, I saw presence being loaded -- if
    you need that, then start with kamailio 3.2.x, here is a tutorial:<br>
    <br>
    <a class="moz-txt-link-freetext" href="http://www.kamailio.org/wiki/install/3.2.x/git">http://www.kamailio.org/wiki/install/3.2.x/git</a><br>
    <br>
    It comes with a default config file where is very easy to enable nat
    traversal as well as presence handling -- just read the top of
    config file and add the appropriate #!define directives.<br>
    <br>
    1.3.x is anyhow way too old...<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <br>
    On 4/16/12 7:16 PM, Stoyan Mihaylov wrote:
    <blockquote
cite="mid:CAPScudYGcJRy_+GjCKQK54WPzs-cRAS8r8oJeNcNZCxXPaMBQQ@mail.gmail.com"
      type="cite">
      <div>I am using nathelper and rtpproxy.</div>
      <div>We had no serious problems with those modules.</div>
      <div>My idea was to overwrite wrong addresses in ACK and BYE
        packages, because they kept reentering kamailo, instead of being
        forwarded where they have to go.</div>
      <div><br>
        By the way - you can add:</div>
      <div>
        <div>modparam("htable", "htable",
          "forw=&gt;size=8;autoexpire=7200;")</div>
        <div>modparam("htable", "htable",
          "mustforw=&gt;size=8;autoexpire=7200;")</div>
        <div><br>
        </div>
        <div class="gmail_quote">On Mon, Apr 16, 2012 at 8:03 PM, Saul
          Waizer <span dir="ltr">&lt;<a moz-do-not-send="true"
              href="mailto:saulwaizer@gmail.com">saulwaizer@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">
            Thank you&nbsp;<span>Stoyan</span>
            <div>
              <div style="text-align:left"><font color="#222222"
                  face="arial, sans-serif"><span
                    style="white-space:nowrap"><b><br>
                    </b></span></font></div>
              <div style="text-align:left"><font color="#222222"
                  face="arial, sans-serif"><span
                    style="white-space:nowrap">I added the routing
                    config as you suggested but it still drops the call
                    after 30 seconds.</span></font></div>
              <div style="text-align:left"><font color="#222222"
                  face="arial, sans-serif"><span
                    style="white-space:nowrap"><br>
                  </span></font></div>
              <div style="text-align:left"><font color="#222222"
                  face="arial, sans-serif"><span
                    style="white-space:nowrap">Any other suggestions?</span></font></div>
              <div style="text-align:left"><font color="#222222"
                  face="arial, sans-serif"><span
                    style="white-space:nowrap"><br>
                  </span></font></div>
              <div style="text-align:left"><font color="#222222"
                  face="arial, sans-serif"><span
                    style="white-space:nowrap">Note: my nathelper module
                    is commented out because I can't get it to work,
                    here is my mod list:</span></font></div>
              <div style="text-align:left"><font color="#222222"
                  face="arial, sans-serif"><span
                    style="white-space:nowrap"><br>
                  </span></font></div>
              <div style="text-align:left"><font color="#222222"
                  face="arial, sans-serif"><span
                    style="white-space:nowrap">
                    <div>
                      ###### Modules Section ########</div>
                    <div><br>
                    </div>
                    <div>#set module path</div>
                    <div>mpath="/usr/lib/openser/modules/"</div>
                    <div><br>
                    </div>
                    <div>/* uncomment next line for MySQL DB support */</div>
                    <div>loadmodule "mysql.so"</div>
                    <div>loadmodule "sl.so"</div>
                    <div>loadmodule "tm.so"</div>
                    <div>loadmodule "rr.so"</div>
                    <div>loadmodule "maxfwd.so"</div>
                    <div>loadmodule "usrloc.so"</div>
                    <div>loadmodule "registrar.so"</div>
                    <div>loadmodule "textops.so"</div>
                    <div>loadmodule "mi_fifo.so"</div>
                    <div>loadmodule "uri_db.so"</div>
                    <div>loadmodule "uri.so"</div>
                    <div>loadmodule "xlog.so"</div>
                    <div>loadmodule "acc.so"</div>
                    <div><br>
                    </div>
                    <div>loadmodule "auth.so"</div>
                    <div>loadmodule "auth_db.so"</div>
                    <div><br>
                    </div>
                    <div>#loadmodule "domain.so"</div>
                    <div>loadmodule "presence.so"</div>
                    <div>#loadmodule "presence_xml.so"</div>
                    <div><br>
                    </div>
                    <div># !! Nathelper</div>
                    <div>#loadmodule "nathelper.so"</div>
                    <div>#loadmodule "nat_traversal.so"</div>
                    <div>#loadmodule "rtpproxy.so"</div>
                    <div>#loadmodule "dialog.so"</div>
                    <div><br>
                    </div>
                    <div>Thank You</div>
                  </span></font></div>
              <div>
                <div class="h5">
                  <div style="text-align:left"><font color="#222222"
                      face="arial, sans-serif"><span
                        style="white-space:nowrap"><br>
                      </span></font></div>
                  <br>
                  <div class="gmail_quote">
                    On Mon, Apr 16, 2012 at 12:03 PM, Stoyan Mihaylov <span
                      dir="ltr">&lt;<a moz-do-not-send="true"
                        href="mailto:stoyan.v.mihaylov@gmail.com"
                        target="_blank">stoyan.v.mihaylov@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">Some
                      time ago, I had&nbsp;similar&nbsp;problem.<br>
                      This was my solution:
                      <div>
                        <div>if(is_method("INVITE")){</div>
                        <div><span style="white-space:pre-wrap"> </span>ds_select_dst("1","4");</div>
                        <div><span style="white-space:pre-wrap"> </span>$sht(forw=&gt;$ft)=$du;</div>
                        <div><span style="white-space:pre-wrap"> </span>sl_send_reply("100","Trying");</div>
                        <div>
                          <span style="white-space:pre-wrap"> </span>route(RELAY);</div>
                        <div><span style="white-space:pre-wrap"> </span>exit();</div>
                        <div>}</div>
                        <div><br>
                        </div>
                        <div>
                          <div>if ( is_method("ACK|BYE") ) {</div>
                          <div><span style="white-space:pre-wrap"> </span>if
                            ( t_check_trans() ) {</div>
                          <div><span style="white-space:pre-wrap"> </span>t_relay();</div>
                          <div><span style="white-space:pre-wrap"> </span>exit;</div>
                          <div>} else {</div>
                          <span style="white-space:pre-wrap"> </span>if(($sht(forw=&gt;$ft))=~$td){<br>
                          <div><span style="white-space:pre-wrap"> </span><span
                              style="white-space:pre-wrap"> </span>$du=$sht(forw=&gt;$ft);</div>
                          <div><span style="white-space:pre-wrap"> </span>}else
                            if((($td=="<a moz-do-not-send="true"
                              href="http://sip.mydomain.com"
                              target="_blank">sip.mydomain.com</a>")||($td=="ip.of.my.domain"))&amp;&amp;($si=="ip.of.my.domain")){</div>
                          <div><span style="white-space:pre-wrap"> </span><span
                              style="white-space:pre-wrap"> </span>$du=$sht(forw=&gt;$ft);</div>
                          <div><span style="white-space:pre-wrap"> </span>}</div>
                          <div><span style="white-space:pre-wrap"> </span>t_relay();</div>
                          <div><span style="white-space:pre-wrap"> </span>exit;</div>
                          <div>}</div>
                          <div><br>
                          </div>
                        </div>
                        <div>
                          <div>
                            <div>
                              <div><br>
                              </div>
                              <br>
                              <div class="gmail_quote">
                                On Mon, Apr 16, 2012 at 6:18 PM, Saul
                                Waizer <span dir="ltr">&lt;<a
                                    moz-do-not-send="true"
                                    href="mailto:saulwaizer@gmail.com"
                                    target="_blank">saulwaizer@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">
                                  Thank you Davy, I ran tshark and found
                                  the following: (masked ip addresses to
                                  protect the innocent and trimmed the
                                  logs)
                                  <div><br>
                                  </div>
                                  <div>
                                    <div>
                                      <div>&nbsp; 8.250307 300.300.300.300
                                        -&gt; 10.12.47.96 &nbsp;SIP Request:
                                        REGISTER sip:<a
                                          moz-do-not-send="true"
                                          href="http://sip.mydomain.com"
                                          target="_blank">sip.mydomain.com</a></div>
                                      <div>&nbsp; 8.251503 &nbsp;10.12.47.96 -&gt;
                                        300.300.300.300 SIP Status: 200
                                        OK &nbsp; &nbsp;(1 bindings)</div>
                                      <div>&nbsp;35.942381 300.300.300.300
                                        -&gt; 10.12.47.96 &nbsp;SIP Request:
                                        REGISTER sip:<a
                                          moz-do-not-send="true"
                                          href="http://sip.mydomain.com"
                                          target="_blank">sip.mydomain.com</a></div>
                                      <div>&nbsp;35.943011 &nbsp;10.12.47.96 -&gt;
                                        300.300.300.300 SIP Status: 200
                                        OK &nbsp; &nbsp;(2 bindings)</div>
                                      <div>&nbsp;44.564112 300.300.300.300
                                        -&gt; 10.12.47.96 &nbsp;SIP Request:
                                        REGISTER sip:<a
                                          moz-do-not-send="true"
                                          href="http://sip.mydomain.com"
                                          target="_blank">sip.mydomain.com</a></div>
                                      <div>&nbsp;44.565402 &nbsp;10.12.47.96 -&gt;
                                        300.300.300.300 SIP Status: 200
                                        OK &nbsp; &nbsp;(2 bindings)</div>
                                      <div>&nbsp;75.483859 400.400.400.400
                                        -&gt; 10.12.47.96 &nbsp;SIP Request:
                                        REGISTER sip:<a
                                          moz-do-not-send="true"
                                          href="http://sip.mydomain.com"
                                          target="_blank">sip.mydomain.com</a></div>
                                      <div>&nbsp;75.484572 &nbsp;10.12.47.96 -&gt;
                                        400.400.400.400 SIP Status: 200
                                        OK &nbsp; &nbsp;(1 bindings)</div>
                                      <div>&nbsp;75.623702 400.400.400.400
                                        -&gt; 10.12.47.96 &nbsp;SIP Request:
                                        SUBSCRIBE <a
                                          moz-do-not-send="true"
                                          href="mailto:sip%3Adan@sip.mydomain.com"
                                          target="_blank">sip:dan@sip.mydomain.com</a></div>
                                      <div>&nbsp;75.624258 &nbsp;10.12.47.96 -&gt;
                                        400.400.400.400 SIP Request:
                                        SUBSCRIBE
                                        <a class="moz-txt-link-freetext" href="sip:dan@400.400.400.400:23242;rinstance=f6f0a9561214235b">sip:dan@400.400.400.400:23242;rinstance=f6f0a9561214235b</a></div>
                                      <div>&nbsp;75.763700 400.400.400.400
                                        -&gt; 10.12.47.96 &nbsp;SIP Status:
                                        489 Event Package Not Supported</div>
                                      <div>&nbsp;75.764128 &nbsp;10.12.47.96 -&gt;
                                        400.400.400.400 SIP Status: 489
                                        Event Package Not Supported</div>
                                      <div>&nbsp;75.802420 400.400.400.400
                                        -&gt; 10.12.47.96 &nbsp;SIP Request:
                                        SUBSCRIBE <a
                                          moz-do-not-send="true"
                                          href="mailto:sip%3Asaul@sip.mydomain.com"
                                          target="_blank">sip:saul@sip.mydomain.com</a></div>
                                      <div>&nbsp;75.802904 &nbsp;10.12.47.96 -&gt;
                                        400.400.400.400 SIP Status: 404
                                        Not Found</div>
                                      <div>&nbsp;93.834928 300.300.300.300
                                        -&gt; 10.12.47.96 &nbsp;SIP Request:
                                        REGISTER sip:<a
                                          moz-do-not-send="true"
                                          href="http://sip.mydomain.com"
                                          target="_blank">sip.mydomain.com</a></div>
                                      <div>
                                        &nbsp;93.835553 &nbsp;10.12.47.96 -&gt;
                                        300.300.300.300 SIP Status: 200
                                        OK &nbsp; &nbsp;(2 bindings)</div>
                                      <div>127.107903 400.400.400.400
                                        -&gt; 10.12.47.96 &nbsp;SIP/SDP
                                        Request: INVITE <a
                                          moz-do-not-send="true"
                                          href="mailto:sip%3Atom@sip.mydomain.com"
                                          target="_blank">sip:tom@sip.mydomain.com</a>,
                                        with session description</div>
                                      <div>127.109021 &nbsp;10.12.47.96 -&gt;
                                        400.400.400.400 SIP Status: 100
                                        Giving a try</div>
                                      <div>138.138242 &nbsp;10.12.47.96 -&gt;
                                        300.300.300.300 SIP/SDP Request:
                                        INVITE
                                        <a class="moz-txt-link-freetext" href="sip:tom@300.300.300.300:61162;transport=tcp;line=90fb23e32c7545e">sip:tom@300.300.300.300:61162;transport=tcp;line=90fb23e32c7545e</a>,
                                        with session description</div>
                                      <div>138.306651 300.300.300.300
                                        -&gt; 10.12.47.96 &nbsp;SIP Status:
                                        100 Trying</div>
                                      <div>138.392632 300.300.300.300
                                        -&gt; 10.12.47.96 &nbsp;SIP Status:
                                        101 Dialog Establishement</div>
                                      <div>138.393101 &nbsp;10.12.47.96 -&gt;
                                        400.400.400.400 SIP Status: 101
                                        Dialog Establishement</div>
                                      <div>138.460232 300.300.300.300
                                        -&gt; 10.12.47.96 &nbsp;SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>138.460780 &nbsp;10.12.47.96 -&gt;
                                        500.500.500.500 SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>138.461348 500.500.500.500
                                        -&gt; 10.12.47.96 &nbsp;SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>138.462717 &nbsp;10.12.47.96 -&gt;
                                        500.500.500.500 SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>138.463381 500.500.500.500
                                        -&gt; 10.12.47.96 &nbsp;SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>138.463959 &nbsp;10.12.47.96 -&gt;
                                        500.500.500.500 SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>138.464416 500.500.500.500
                                        -&gt; 10.12.47.96 &nbsp;SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>138.543567 500.500.500.500
                                        -&gt; 10.12.47.96 &nbsp;SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>138.547330 &nbsp;10.12.47.96 -&gt;
                                        500.500.500.500 SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>138.551563 500.500.500.500
                                        -&gt; 10.12.47.96 &nbsp;SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>138.551865 300.300.300.300
                                        -&gt; 10.12.47.96 &nbsp;SIP Status:
                                        180 Ringing</div>
                                      <div>138.554340 &nbsp;10.12.47.96 -&gt;
                                        400.400.400.400 SIP Status: 180
                                        Ringing</div>
                                      <div>138.560084 &nbsp;10.12.47.96 -&gt;
                                        500.500.500.500 SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>138.563560 500.500.500.500
                                        -&gt; 10.12.47.96 &nbsp;SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>138.575640 &nbsp;10.12.47.96 -&gt;
                                        500.500.500.500 SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>138.579557 500.500.500.500
                                        -&gt; 10.12.47.96 &nbsp;SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>138.587442 &nbsp;10.12.47.96 -&gt;
                                        500.500.500.500 SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>138.591558 500.500.500.500
                                        -&gt; 10.12.47.96 &nbsp;SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>138.596417 &nbsp;10.12.47.96 -&gt;
                                        500.500.500.500 SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>138.599565 500.500.500.500
                                        -&gt; 10.12.47.96 &nbsp;SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>138.604589 &nbsp;10.12.47.96 -&gt;
                                        500.500.500.500 SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>138.607561 500.500.500.500
                                        -&gt; 10.12.47.96 &nbsp;SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>138.613004 &nbsp;10.12.47.96 -&gt;
                                        500.500.500.500 SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>138.615556 500.500.500.500
                                        -&gt; 10.12.47.96 &nbsp;SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>155.255562 500.500.500.500
                                        -&gt; 10.12.47.96 &nbsp;SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>155.265531 &nbsp;10.12.47.96 -&gt;
                                        500.500.500.500 SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>155.267570 500.500.500.500
                                        -&gt; 10.12.47.96 &nbsp;SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>155.276852 &nbsp;10.12.47.96 -&gt;
                                        500.500.500.500 SIP Status: 483
                                        Too Many Hops</div>
                                      <div>155.279558 500.500.500.500
                                        -&gt; 10.12.47.96 &nbsp;SIP Status:
                                        483 Too Many Hops</div>
                                      <div>155.289309 &nbsp;10.12.47.96 -&gt;
                                        500.500.500.500 SIP Status: 483
                                        Too Many Hops</div>
                                      <div>155.291562 500.500.500.500
                                        -&gt; 10.12.47.96 &nbsp;SIP Status:
                                        483 Too Many Hops</div>
                                      <div>155.300859 &nbsp;10.12.47.96 -&gt;
                                        500.500.500.500 SIP Status: 483
                                        Too Many Hops</div>
                                      <div>155.303560 500.500.500.500
                                        -&gt; 10.12.47.96 &nbsp;SIP Status:
                                        483 Too Many Hops</div>
                                      <div>155.312556 &nbsp;10.12.47.96 -&gt;
                                        500.500.500.500 SIP Status: 483
                                        Too Many Hops</div>
                                      <div>155.315563 500.500.500.500
                                        -&gt; 10.12.47.96 &nbsp;SIP Status:
                                        483 Too Many Hops</div>
                                      <div>155.324327 &nbsp;10.12.47.96 -&gt;
                                        500.500.500.500 SIP Status: 483
                                        Too Many Hops</div>
                                      <div>155.327560 500.500.500.500
                                        -&gt; 10.12.47.96 &nbsp;SIP Status:
                                        483 Too Many Hops</div>
                                      <div>155.336426 &nbsp;10.12.47.96 -&gt;
                                        500.500.500.500 SIP Status: 483
                                        Too Many Hops</div>
                                      <div>155.339562 500.500.500.500
                                        -&gt; 10.12.47.96 &nbsp;SIP Status:
                                        483 Too Many Hops</div>
                                      <div>155.348431 &nbsp;10.12.47.96 -&gt;
                                        500.500.500.500 SIP Status: 483
                                        Too Many Hops</div>
                                      <div>155.351564 500.500.500.500
                                        -&gt; 10.12.47.96 &nbsp;SIP Status:
                                        483 Too Many Hops</div>
                                      <div>155.360179 &nbsp;10.12.47.96 -&gt;
                                        500.500.500.500 SIP Status: 483
                                        Too Many Hops</div>
                                      <div>155.363554 500.500.500.500
                                        -&gt; 10.12.47.96 &nbsp;SIP Status:
                                        483 Too Many Hops</div>
                                      <div>155.371931 &nbsp;10.12.47.96 -&gt;
                                        500.500.500.500 SIP Status: 483
                                        Too Many Hops</div>
                                      <div>155.487555 500.500.500.500
                                        -&gt; 10.12.47.96 &nbsp;SIP Status:
                                        483 Too Many Hops</div>
                                      <div>155.494448 &nbsp;10.12.47.96 -&gt;
                                        500.500.500.500 SIP Status: 483
                                        Too Many Hops</div>
                                      <div>155.495440 &nbsp;10.12.47.96 -&gt;
                                        500.500.500.500 SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>155.495487 &nbsp;10.12.47.96 -&gt;
                                        500.500.500.500 SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>155.495528 &nbsp;10.12.47.96 -&gt;
                                        500.500.500.500 SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>155.495557 500.500.500.500
                                        -&gt; 10.12.47.96 &nbsp;SIP Status:
                                        483 Too Many Hops</div>
                                      <div>155.495583 &nbsp;10.12.47.96 -&gt;
                                        500.500.500.500 SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>155.495628 &nbsp;10.12.47.96 -&gt;
                                        500.500.500.500 SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>155.495666 &nbsp;10.12.47.96 -&gt;
                                        500.500.500.500 SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>155.495787 &nbsp;10.12.47.96 -&gt;
                                        500.500.500.500 SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>155.495844 &nbsp;10.12.47.96 -&gt;
                                        500.500.500.500 SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>155.495888 &nbsp;10.12.47.96 -&gt;
                                        500.500.500.500 SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>155.496068 500.500.500.500
                                        -&gt; 10.12.47.96 &nbsp;SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>155.496097 500.500.500.500
                                        -&gt; 10.12.47.96 &nbsp;SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>155.496107 500.500.500.500
                                        -&gt; 10.12.47.96 &nbsp;SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>155.496438 500.500.500.500
                                        -&gt; 10.12.47.96 &nbsp;SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>155.496468 500.500.500.500
                                        -&gt; 10.12.47.96 &nbsp;SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>155.496471 500.500.500.500
                                        -&gt; 10.12.47.96 &nbsp;SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>155.496473 500.500.500.500
                                        -&gt; 10.12.47.96 &nbsp;SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>155.496567 500.500.500.500
                                        -&gt; 10.12.47.96 &nbsp;SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>155.732919 500.500.500.500
                                        -&gt; 10.12.47.96 &nbsp;SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>155.733655 500.500.500.500
                                        -&gt; 10.12.47.96 &nbsp;SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>155.735559 500.500.500.500
                                        -&gt; 10.12.47.96 &nbsp;SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>155.740030 &nbsp;10.12.47.96 -&gt;
                                        500.500.500.500 SIP Status: 483
                                        Too Many Hops</div>
                                      <div>155.743552 500.500.500.500
                                        -&gt; 10.12.47.96 &nbsp;SIP Status:
                                        483 Too Many Hops</div>
                                      <div>155.835477 &nbsp;10.12.47.96 -&gt;
                                        500.500.500.500 SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>155.835537 &nbsp;10.12.47.96 -&gt;
                                        500.500.500.500 SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>155.835988 &nbsp;10.12.47.96 -&gt;
                                        500.500.500.500 SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>155.836198 &nbsp;10.12.47.96 -&gt;
                                        500.500.500.500 SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>155.836400 500.500.500.500
                                        -&gt; 10.12.47.96 &nbsp;SIP Request:
                                        OPTIONS <a class="moz-txt-link-freetext" href="sip:500.500.500.500:5060">sip:500.500.500.500:5060</a></div>
                                      <div>156.146827 &nbsp;10.12.47.96 -&gt;
                                        500.500.500.500 SIP Status: 483
                                        Too Many Hops</div>
                                      <div>156.150092 500.500.500.500
                                        -&gt; 10.12.47.96 &nbsp;SIP Status:
                                        483 Too Many Hops</div>
                                      <div>156.162814 &nbsp;10.12.47.96 -&gt;
                                        500.500.500.500 SIP Status: 483
                                        Too Many Hops</div>
                                      <div>156.167551 500.500.500.500
                                        -&gt; 10.12.47.96 &nbsp;SIP Status:
                                        483 Too Many Hops</div>
                                      <div>156.168667 &nbsp;10.12.47.96 -&gt;
                                        500.500.500.500 SIP Status: 483
                                        Too Many Hops</div>
                                      <div>156.171363 &nbsp;10.12.47.96 -&gt;
                                        500.500.500.500 SIP Status: 483
                                        Too Many Hops</div>
                                      <div>156.171551 500.500.500.500
                                        -&gt; 10.12.47.96 &nbsp;SIP Status:
                                        483 Too Many Hops</div>
                                      <div>156.175549 500.500.500.500
                                        -&gt; 10.12.47.96 &nbsp;SIP Status:
                                        483 Too Many Hops</div>
                                      <div>156.181077 &nbsp;10.12.47.96 -&gt;
                                        500.500.500.500 SIP Status: 483
                                        Too Many Hops</div>
                                      <div>156.183553 500.500.500.500
                                        -&gt; 10.12.47.96 &nbsp;SIP Status:
                                        483 Too Many Hops</div>
                                      <div>156.186055 &nbsp;10.12.47.96 -&gt;
                                        500.500.500.500 SIP Status: 483
                                        Too Many Hops</div>
                                      <div>156.187549 500.500.500.500
                                        -&gt; 10.12.47.96 &nbsp;SIP Status:
                                        483 Too Many Hops</div>
                                      <div>156.189991 &nbsp;10.12.47.96 -&gt;
                                        500.500.500.500 SIP Status: 483
                                        Too Many Hops</div>
                                      <div>156.191553 500.500.500.500
                                        -&gt; 10.12.47.96 &nbsp;SIP Status:
                                        483 Too Many Hops</div>
                                      <div>156.193930 &nbsp;10.12.47.96 -&gt;
                                        500.500.500.500 SIP Status: 483
                                        Too Many Hops</div>
                                      <div>156.195550 500.500.500.500
                                        -&gt; 10.12.47.96 &nbsp;SIP Status:
                                        483 Too Many Hops</div>
                                      <div>156.198570 &nbsp;10.12.47.96 -&gt;
                                        500.500.500.500 SIP Status: 483
                                        Too Many Hops</div>
                                      <div>156.199550 500.500.500.500
                                        -&gt; 10.12.47.96 &nbsp;SIP Status:
                                        483 Too Many Hops</div>
                                      <div>156.204172 &nbsp;10.12.47.96 -&gt;
                                        500.500.500.500 SIP Status: 483
                                        Too Many Hops</div>
                                      <div>208.371477 300.300.300.300
                                        -&gt; 10.12.47.96 &nbsp;SIP Request:
                                        REGISTER sip:<a
                                          moz-do-not-send="true"
                                          href="http://sip.mydomain.com"
                                          target="_blank">sip.mydomain.com</a></div>
                                      <div>208.372297 &nbsp;10.12.47.96 -&gt;
                                        300.300.300.300 SIP Status: 200
                                        OK &nbsp; &nbsp;(4 bindings)</div>
                                      <div>351.118527 300.300.300.300
                                        -&gt; 10.12.47.96 &nbsp;SIP Request:
                                        REGISTER sip:<a
                                          moz-do-not-send="true"
                                          href="http://sip.mydomain.com"
                                          target="_blank">sip.mydomain.com</a></div>
                                      <div>351.120474 &nbsp;10.12.47.96 -&gt;
                                        300.300.300.300 SIP Status: 200
                                        OK &nbsp; &nbsp;(4 bindings)</div>
                                      <div>383.956615 400.400.400.400
                                        -&gt; 10.12.47.96 &nbsp;SIP Request:
                                        SUBSCRIBE <a
                                          moz-do-not-send="true"
                                          href="mailto:sip%3Asaul@sip.mydomain.com"
                                          target="_blank">sip:saul@sip.mydomain.com</a></div>
                                      <div>383.957274 &nbsp;10.12.47.96 -&gt;
                                        400.400.400.400 SIP Status: 404
                                        Not Found</div>
                                      <div>493.457746 300.300.300.300
                                        -&gt; 10.12.47.96 &nbsp;SIP Request:
                                        REGISTER sip:<a
                                          moz-do-not-send="true"
                                          href="http://sip.mydomain.com"
                                          target="_blank">sip.mydomain.com</a></div>
                                      <div>493.458864 &nbsp;10.12.47.96 -&gt;
                                        300.300.300.300 SIP Status: 200
                                        OK &nbsp; &nbsp;(4 bindings)</div>
                                    </div>
                                    <div><br>
                                    </div>
                                    <div>I am new to opensips so I am
                                      not too familiar with the routing
                                      logics, a google search on that
                                      error suggests that there is a
                                      problem with the route config
                                      where its creating a loop
                                      exhausting the Max Hops. The way I
                                      configured my clients uses my
                                      server as a proxy.</div>
                                    <div><br>
                                    </div>
                                    <div>Any help is greatly
                                      appreciated!</div>
                                    <br>
                                    <div class="gmail_quote">On Mon, Apr
                                      16, 2012 at 1:59 AM, davy van de
                                      moere <span dir="ltr">&lt;<a
                                          moz-do-not-send="true"
                                          href="mailto:davy.van.de.moere@gmail.com"
                                          target="_blank">davy.van.de.moere@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">38
                                        seconds sounds pretty close to
                                        30 seconds. Could those 38
                                        seconds be a 30 seconds after
                                        the actual answer packet?
                                        <div>
                                          <br>
                                        </div>
                                        <div>If so, you might want to
                                          look at ACK and OK packets not
                                          arriving correctly because of
                                          NAT, wrong IP selection in
                                          openser , etc...</div>
                                        <div><br>
                                        </div>
                                        <div>A simple tshark might help
                                          you out to debug from a higher
                                          perspective : tshark -i eth0
                                          -R sip&nbsp;</div>
                                        <div><br>
                                        </div>
                                        <div>good luck!<br>
                                          <br>
                                          <div class="gmail_quote">Op 16
                                            april 2012 05:11 schreef
                                            Saul Waizer <span dir="ltr">&lt;<a
                                                moz-do-not-send="true"
                                                href="mailto:saulwaizer@gmail.com"
                                                target="_blank">saulwaizer@gmail.com</a>&gt;</span>
                                            het volgende:<br>
                                            <blockquote
                                              class="gmail_quote"
                                              style="margin:0 0 0
                                              .8ex;border-left:1px #ccc
                                              solid;padding-left:1ex">
                                              <div>
                                                <div><span>Greetings
                                                    list,</span>
                                                  <div><br>
                                                  </div>
                                                  <div>I am experiencing
                                                    a
                                                    strange&nbsp;behavior&nbsp;with&nbsp;openser
                                                    1.3.2 running on
                                                    ubuntu 10. I have a
                                                    basic configuration
                                                    (see bellow) and i
                                                    am using Linphone
                                                    for iPad as my
                                                    client. I have 2
                                                    users registered and
                                                    I am able to place
                                                    calls no problem.
                                                    The problem is that
                                                    the calls (audio or
                                                    A/V) drop after 38
                                                    seconds exactly,
                                                    this&nbsp;behavior&nbsp;is
                                                    pretty consistent,
                                                    38 seconds is all I
                                                    can get. There is no
                                                    firewall in front of
                                                    the clients.</div>
                                                  <div><br>
                                                  </div>
                                                  <div>Here is my
                                                    configuration, ip
                                                    addresses changed to
                                                    protect the
                                                    innocent:</div>
                                                  <div><br>
                                                  </div>
                                                  <div><a
                                                      moz-do-not-send="true"
href="http://pastie.org/private/x1ck8rxjcxv6hl44hrmqg"
                                                      style="color:rgb(17,85,204)"
                                                      target="_blank">http://pastie.org/private/x1ck8rxjcxv6hl44hrmqg</a></div>
                                                  <div><br>
                                                  </div>
                                                  <div>You can see the
                                                    logs of the call
                                                    here (the majority):</div>
                                                  <div><br>
                                                  </div>
                                                  <div><a
                                                      moz-do-not-send="true"
href="http://pastie.org/private/4fj5efpbsrxan8plzqvfza"
                                                      style="color:rgb(17,85,204)"
                                                      target="_blank">http://pastie.org/private/4fj5efpbsrxan8plzqvfza</a></div>
                                                  <div><br>
                                                  </div>
                                                  <div>Am I missing
                                                    something or is
                                                    there anything that
                                                    needs to be changed
                                                    in the
                                                    routing/configuration
                                                    to achieve basic
                                                    functionality?</div>
                                                  <div><br>
                                                  </div>
                                                  <div>Thank you in
                                                    advance!</div>
                                                  <br>
                                                </div>
                                              </div>
_______________________________________________<br>
                                              SIP Express Router (SER)
                                              and Kamailio (OpenSER) -
                                              sr-users mailing list<br>
                                              <a moz-do-not-send="true"
href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a><br>
                                              <a moz-do-not-send="true"
href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
                                                target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
                                              <br>
                                            </blockquote>
                                          </div>
                                          <br>
                                        </div>
                                        <br>
_______________________________________________<br>
                                        SIP Express Router (SER) and
                                        Kamailio (OpenSER) - sr-users
                                        mailing list<br>
                                        <a moz-do-not-send="true"
                                          href="mailto:sr-users@lists.sip-router.org"
                                          target="_blank">sr-users@lists.sip-router.org</a><br>
                                        <a moz-do-not-send="true"
                                          href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
                                          target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
                                        <br>
                                      </blockquote>
                                    </div>
                                    <br>
                                  </div>
                                  <br>
_______________________________________________<br>
                                  SIP Express Router (SER) and Kamailio
                                  (OpenSER) - sr-users mailing list<br>
                                  <a moz-do-not-send="true"
                                    href="mailto:sr-users@lists.sip-router.org"
                                    target="_blank">sr-users@lists.sip-router.org</a><br>
                                  <a moz-do-not-send="true"
                                    href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
                                    target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
                                  <br>
                                </blockquote>
                              </div>
                              <br>
                            </div>
                          </div>
                        </div>
                      </div>
                      <br>
                      _______________________________________________<br>
                      SIP Express Router (SER) and Kamailio (OpenSER) -
                      sr-users mailing list<br>
                      <a moz-do-not-send="true"
                        href="mailto:sr-users@lists.sip-router.org"
                        target="_blank">sr-users@lists.sip-router.org</a><br>
                      <a moz-do-not-send="true"
                        href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
                        target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
                      <br>
                    </blockquote>
                  </div>
                  <br>
                </div>
              </div>
            </div>
            <br>
            _______________________________________________<br>
            SIP Express Router (SER) and Kamailio (OpenSER) - sr-users
            mailing list<br>
            <a moz-do-not-send="true"
              href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
            <a moz-do-not-send="true"
              href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users"
              target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
            <br>
          </blockquote>
        </div>
        <br>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a 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
Kamailio Advanced Training, April 23-26, 2012, Berlin, Germany
<a class="moz-txt-link-freetext" href="http://www.asipto.com/index.php/kamailio-advanced-training/">http://www.asipto.com/index.php/kamailio-advanced-training/</a></pre>
  </body>
</html>