<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    in dispatch.c, in function ds_check_timer(...), you have to give
    maxforward as extra header. Store it in a variable, and give it as
    third parameter to set_uac_req() function. Perhaps like:<br>
    <br>
    str hdrs = { "Max-Forwards: 10\r\n", 10};<br>
    ...<br>
    <br>
    set_uac_req(&amp;uac_r, &amp;ds_ping_method, &amp;hdrs, ...<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 12/24/12 2:02 PM, Morten Isaksen
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAAyFOkF++uceufJO0eV7ctY3dF9nm32c4N_O8yWZk=uNPMPpuQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>Hi,<br>
            <br>
          </div>
          I have an issue with the OPTIONS packets from the dispatcher
          module does not contain a max-forward header. This causes the
          gateway in the other end to not reply to the OPTIONS packet.<br>
          <br>
        </div>
        Can anyone please give a hint where en the code I need to change
        that. I noticed that dispatcher module uses the tm module to
        send the OPTIONS but after that I got lost in the code.<br
          clear="all">
        <div>
          <div>
            <div>
              <br>
              -- <br>
              Morten Isaksen<br>
            </div>
          </div>
        </div>
      </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://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></pre>
  </body>
</html>