<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix"><span id="result_box"
        class="short_text" lang="en"><span class="hps">typing error<br>
          <br>
        </span></span>Looking for solution for external Asterisk
      subsribtion of presence states.<br>
      <br>
      <span id="result_box" class="short_text" lang="en"><span
          class="hps">should be ...<br>
          <br>
        </span></span><span id="result_box" class="short_text" lang="en"><span
          class="hps">Looking for solution for external Kamailio
          subsribtion of presence states.<br>
          <br>
          <br>
          ;-)<br>
          Rainer<br>
          <br>
        </span></span><br>
      Am 24.03.2014 20:28, schrieb Alexandr Usov:<br>
    </div>
    <blockquote
cite="mid:CAEaKXwDohGkBM8HoXp1PycDeDHLJ6AfBZCOG=b63wAFTPeLyXQ@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>
            <div>It is work for qualify - thanks.<br>
              <br>
            </div>
            Looking for solution for external Asterisk subsribtion of
            presence states.<br>
          </div>
          Found the Pinan projec in the web, but it seems only Asterisk
          1.4 supported.<br>
        </div>
        I needs for Asterisk 11 or 12 version.<br>
        <br>
      </div>
      <div class="gmail_extra"><br>
        <br>
        <div class="gmail_quote">2014-03-24 17:37 GMT+02:00 Daniel Tryba
          <span dir="ltr"><<a moz-do-not-send="true"
              href="mailto:daniel@pocos.nl" target="_blank">daniel@pocos.nl</a>></span>:<br>
          <blockquote class="gmail_quote" style="margin:0 0 0
            .8ex;border-left:1px #ccc solid;padding-left:1ex">On Monday
            24 March 2014 15:23:31 Alexandr Usov wrote:<br>
            > Peers (from Internet behind NAT) registered on Kamailio
            (local ip<br>
            > 192.168.182.1), calls from/to routed via Asterisk
            (192.168.182.24).<br>
            ><br>
            ><br>
            > Can't use qualify info:<br>
            ><br>
            > <--- SIP read from UDP:<a moz-do-not-send="true"
              href="http://192.168.182.1:5060" target="_blank">192.168.182.1:5060</a>
            ---><br>
            > SIP/2.0 484 Address Incomplete<br>
            ...<br>
            > <-------------><br>
            <br>
            Check your kamailio.cfg. In the "default" config OPTIONS get
            this response due<br>
            to:<br>
                    if ($rU==$null)<br>
                    {<br>
                            # request with no Username in RURI<br>
                            sl_send_reply("484","Address Incomplete");<br>
                            exit;<br>
                    }<br>
            <br>
            You'll have to response with a 200 yourself, eg:<br>
            <br>
            route[REQINIT]{<br>
            ...<br>
                    if($si=="192.168.182.24" &&
            is_method("OPTIONS"))<br>
                    {<br>
                            sl_send_reply("200","Up and running");<br>
                            exit;<br>
                    }<br>
            <br>
            It's up to you to decide to which OPTIONS requests to
            response with what code.<br>
            <span class="HOEnZb"><font color="#888888"><br>
                --<br>
                <br>
                POCOS B.V. - Croy 9c - 5653 LC Eindhoven<br>
                Telefoon: 040 293 8661 - Fax: 040 293 8658<br>
                <a moz-do-not-send="true" href="http://www.pocos.nl/"
                  target="_blank">http://www.pocos.nl/</a>   - <a
                  moz-do-not-send="true" href="http://www.sipo.nl/"
                  target="_blank">http://www.sipo.nl/</a><br>
                K.v.K. Eindhoven 17097024<br>
                <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>
              </font></span></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>
    <br>
    <div class="moz-signature">-- <br>
      <b>Rainer Piper</b>
      <br>
      NOC - +49 (0)228 97167161 - sip.soho-piper.de
      <br>
      NOC - +49 (0)2247 9064188 - sip.tele33.de - sip.tefonix.de - D293
    </div>
  </body>
</html>