<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    if you use forward() then the retransmission is not from kamailio -
    forward() does stateless forwarding.<br>
    <br>
    The dispatcher module readme in devel branch has a better example,
    maybe it helps you:<br>
<a class="moz-txt-link-freetext" href="http://kamailio.org/docs/modules/devel/modules_k/dispatcher.html#id2513148">http://kamailio.org/docs/modules/devel/modules_k/dispatcher.html#id2513148</a><br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    On 6/23/11 8:35 AM, Giuseppe Carella wrote:
    <blockquote
      cite="mid:BANLkTi=ToWS5FHmDx=8RK5Xpxic8-x--2w@mail.gmail.com"
      type="cite">Hi all,
      <div><br>
      </div>
      <div>I'm using kamailio dispatcher module between</div>
      <div>the OpenIMSCore and sailfin. Normally, without the
        dispatcher,</div>
      <div>all works fine. From the IMS Bench I can see that there are&nbsp;</div>
      <div>
        many successful call, but when I use the dispatcher module&nbsp;</div>
      <div>I'm having a lot of retransmission in the first part of the
        INVITE&nbsp;</div>
      <div>protocol. I'm using the default configuration file:</div>
      <div><br>
      </div>
      <div>
        <div># ----------------- setting module-specific parameters
          ---------------</div>
        <div># -- dispatcher params --</div>
        <div>&nbsp;</div>
        <div>modparam("dispatcher", "list_file",
          "../etc/dispatcher.list")</div>
        <div># modparam("dispatcher", "force_dst", 1)</div>
        <div>&nbsp;</div>
        <div>route{</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>if
          ( !mf_process_maxfwd_header("10") )</div>
        <div>
          <span class="Apple-tab-span" style="white-space:pre"> </span>{</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>
          <span class="Apple-tab-span" style="white-space:pre"> </span>sl_send_reply("483","To
          Many Hops");</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>
          <span class="Apple-tab-span" style="white-space:pre"> </span>drop();</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>};</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span></div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>ds_select_dst("1",
          "0");</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span></div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>forward();</div>
        <div><span class="Apple-tab-span" style="white-space:pre"> </span>#
          t_relay();</div>
        <div>}</div>
      </div>
      <div><br>
      </div>
      <div><br>
      </div>
      <div>I tried also the t_relay() function instead of the forward&nbsp;</div>
      <div>command, but the problem is the same.</div>
      <div><br>
      </div>
      <div>Thanks in advance.</div>
      <div><br>
      </div>
      <div>Bests,</div>
      <div><br>
      </div>
      <div>Giuseppe</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 -- <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://linkedin.com/in/miconda">http://linkedin.com/in/miconda</a> -- <a class="moz-txt-link-freetext" href="http://twitter.com/miconda">http://twitter.com/miconda</a></pre>
  </body>
</html>