<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    <tt>In this case, it means the function has to report something more
      than -1....like: -1 no MF hdr, -2 missing body, -3 missing TO,
      etc...<br>
      <br>
      Regards,</tt>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
    <br>
    On 02/26/2013 03:32 PM, Nick Altmann wrote:
    <blockquote
cite="mid:CAJOe1EMULi2Va0qxfg1-Jz6uZiY+fU-YdpCvyZrDmbkK=s1R7w@mail.gmail.com"
      type="cite">
      <div dir="ltr">Bogdan, 
        <div><br>
        </div>
        <div>I'm second time deal with problem when I receive "-1" from
          script and to understand what is not okay I should compare
          message with source code. :-)</div>
        <div>
          <div class="gmail_extra">
            Of course I receive and interpret this codes, but "-1" is
            not fully informative sometimes. Especially when sdp length
            is not okay. :-)</div>
          <div class="gmail_extra"><br clear="all">
            <div>--<br>
              Nick</div>
            <br>
            <br>
            <div class="gmail_quote">2013/2/26 Bogdan-Andrei Iancu <span
                dir="ltr">&lt;<a moz-do-not-send="true"
                  href="mailto:bogdan@opensips.org" target="_blank">bogdan@opensips.org</a>&gt;</span><br>
              <blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
                0.8ex; border-left: 1px solid rgb(204, 204, 204);
                padding-left: 1ex;">
                <div bgcolor="#ffffff" text="#000000"> <tt>Hi Nick,<br>
                    <br>
                    Such a change may induce a self-spaming effect on
                    your logs :). I would rather interpret the return
                    code from script and let the script writer the
                    decision if he wants to log that or not...(depending
                    on the failed check, maybe if local subscriber or
                    not, etc).<br>
                    <br>
                    At least these are my 2 cents on the matter :)<br>
                    <br>
                    Regards,<br>
                  </tt>
                  <pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.com</a></pre>
                  <div>
                    <div class="h5"> <br>
                      On 02/26/2013 01:01 PM, Nick Altmann wrote: </div>
                  </div>
                  <blockquote type="cite">
                    <div>
                      <div class="h5">
                        <div dir="ltr">Hello!
                          <div><br>
                          </div>
                          <div>What about to change DBG messages in
                            sip_msg_validate() to ERR or INFO? It will
                            help to understand the reason of reject.
                            Especially for -1 return (<span
                              style="text-align: justify; font-size:
                              12px; font-family: Helvetica,Arial;">the
                              message is not RFC3261 compliant)</span>.</div>
                          <div><br clear="all">
                            <div>--<br>
                              Nick</div>
                          </div>
                        </div>
                      </div>
                    </div>
                    <pre><fieldset></fieldset>
_______________________________________________
Users mailing list
<a moz-do-not-send="true" href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a moz-do-not-send="true" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
                  </blockquote>
                </div>
              </blockquote>
            </div>
            <br>
          </div>
        </div>
      </div>
    </blockquote>
  </body>
</html>