My dispatcher.list currently just contains:<br>1 <a href="http://pbx.my-domain.com:5060">pbx.my-domain.com:5060</a><br><br>I will provide a ngrep trace within an hour or two. Thank you so much for helping me. I really hope to get this solved.<br>

<br><div class="gmail_quote">2011/10/14 Daniel-Constantin Mierla <span dir="ltr">&lt;<a href="mailto:miconda@gmail.com">miconda@gmail.com</a>&gt;</span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">


  
    
  
  <div bgcolor="#FFFFFF" text="#000000">
    Hello,<div class="im"><br>
    <br>
    On 10/14/11 4:48 PM, Henrik Aagaard Sørensen wrote:
    <blockquote type="cite">Hi Daniel (and everyone else) again.<br>
      <br>
      I&#39;ve just tried to add:<br>
      loadmodule &quot;path.so&quot;<br>
      modparam(&quot;path&quot;, &quot;use_received&quot;, 1)<br>
      <br>
      and:<br>
      add_path_received()<br>
      just before the &quot;if(!t_relay())...&quot; in the ROUTE part.<br>
      <br>
      That made both devices get the error &quot;Too many loops&quot;.<br>
    </blockquote></div>
    what is the content of the dispatcher list file? Maybe is better to
    use ds_select_domain(...) and ds_next_domain() -- cannot say it
    since I haven&#39;t seen full sip trace, but maybe the problem is that
    freeswitch is sending back if the r-uri address is kamailio&#39;s
    address.<br>
    <br>
    Cheers,<br><font color="#888888">
    Daniel</font><div><div></div><div class="h5"><br>
    <br>
    <blockquote type="cite"><br>
      Moving the add_path_received() into the part:<br>
      if (nat_uac_test(&quot;19&quot;)) {         if (method==&quot;REGISTER&quot;) {    
              fix_nated_register();             add_path_received();<br>
      made the same issues as before loading the path.so module.<br>
      <br>
      <div class="gmail_quote">2011/10/14 Henrik Aagaard Sørensen <span dir="ltr">&lt;<a href="mailto:henrikaagaardsorensen@gmail.com" target="_blank">henrikaagaardsorensen@gmail.com</a>&gt;</span><br>
        <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Daniel
          (and everyone else).<br>
          <br>
          This is a tshark trace (is that as good as ngrep?) from
          Kamailio when there are too many loops: <a href="http://pastebin.com/yRjduB0s" target="_blank">http://pastebin.com/yRjduB0s</a><br>
          In this trace I got the note that 253 packets was dropped (and
          therefor not in the trace).<br>
          <br>
          And this is a trace when it times out: <a href="http://pastebin.com/KT0bJzEU" target="_blank">http://pastebin.com/KT0bJzEU</a><br>
          <br>
          I&#39;ve actually looked at the PATH module, and tried several
          things. And I know this type of question is rather
          newbee-like, but can you help me out with the PATH module and
          how to integrate it correctly?<br>
          <br>
          I really do appreciate all the help!
          <div>
            <div><br>
              <br>
              <div class="gmail_quote">2011/10/14 Daniel-Constantin
                Mierla <span dir="ltr">&lt;<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>&gt;</span><br>
                <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
                  <div bgcolor="#FFFFFF" text="#000000"> Hello,<br>
                    <br>
                    when using the load balancer in front of the
                    registrar, you have to use PATH extensions for SIP
                    (see path module in kamailio) in order to be able to
                    cope with nat.<br>
                    <br>
                    Then, what would be helpful, will be a ngrep trace
                    taken on kamailio server for failed calls.<br>
                    <br>
                    Cheers,<br>
                    Daniel
                    <div>
                      <div><br>
                        <br>
                        On 10/14/11 4:13 PM, Henrik Aagaard Sørensen
                        wrote: </div>
                    </div>
                    <blockquote type="cite">
                      <div>
                        <div>I&#39;ve asked a lot of question about Kamailio
                          Dispatcher in front of FreeSwitch in this
                          mailing list. So I&#39;m sorry that I&#39;m still
                          &quot;spamming&quot;, but it still fails.<br>
                          <br>
                          This is my status so far.<br>
                          <br>
                          When connecting 2 devices directly to
                          FreeSwitch everything works. When connecting
                          to Kamailio, some calls fails with &quot;Timeout&quot;
                          and some fails with &quot;Too many loops&quot;.<br>
                          <br>
                          This is my kamailio.cfg: <a href="http://pastebin.com/KEuZmikh" target="_blank">http://pastebin.com/KEuZmikh</a><br>
                          <br>
                          When connected directly to FreeSwitch where
                          everything works, this is how my clients are
                          registrered in FreeSwitch: <a href="http://pastebin.com/prkjkb7g" target="_blank">http://pastebin.com/prkjkb7g</a><br>
                          <br>
                          When connected to Kamailio where nothing
                          works, this is how my clients are registrered
                          in FreeSwitch: <a href="http://pastebin.com/b5x6NZyv" target="_blank">http://pastebin.com/b5x6NZyv</a><br>
                          <br>
                          215.197.145.132 (<a href="http://sip.my-domain.com" target="_blank">sip.my-domain.com</a>) is my
                          Kamailio.<br>
                          <a href="http://pbx.my-domain.com" target="_blank">pbx.my-domain.com</a> is my
                          FreeSwitch.<br>
                          96.224.14.164 is my IP at home, where my 2
                          devices are from.<br>
                          <br>
                          Can anyone help me out? I&#39;m kinda lost at this
                          point.<br>
                          <br>
                          <fieldset></fieldset>
                          <br>
                        </div>
                      </div>
                      <pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a 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>
</pre>
                    </blockquote>
                    <font color="#888888"> <br>
                      <pre cols="72">-- 
Daniel-Constantin Mierla -- <a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
Kamailio Advanced Training, Dec 5-8, Berlin: <a href="http://asipto.com/u/kat" target="_blank">http://asipto.com/u/kat</a>
<a href="http://linkedin.com/in/miconda" target="_blank">http://linkedin.com/in/miconda</a> -- <a href="http://twitter.com/miconda" target="_blank">http://twitter.com/miconda</a></pre>
                    </font></div>
                </blockquote>
              </div>
              <br>
            </div>
          </div>
        </blockquote>
      </div>
      <br>
      <br>
      <fieldset></fieldset>
      <br>
      <pre>_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a href="mailto:sr-users@lists.sip-router.org" target="_blank">sr-users@lists.sip-router.org</a>
<a 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>
</pre>
    </blockquote>
    <br>
    <pre cols="72">-- 
Daniel-Constantin Mierla -- <a href="http://www.asipto.com" target="_blank">http://www.asipto.com</a>
Kamailio Advanced Training, Dec 5-8, Berlin: <a href="http://asipto.com/u/kat" target="_blank">http://asipto.com/u/kat</a>
<a href="http://linkedin.com/in/miconda" target="_blank">http://linkedin.com/in/miconda</a> -- <a href="http://twitter.com/miconda" target="_blank">http://twitter.com/miconda</a></pre>
  </div></div></div>

</blockquote></div><br>