<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
While you are on the topic of documentation errors:<br>
<br>
The module documentation for DB_TEXT is still wrong - after a long
while.<br>
<br>
The URL should be text:// rather that dbtext://<br>
<br>
Sergey Okhapkin wrote:
<blockquote cite="mid:201010260656.05254.sos@sokhapkin.dyndns.org"
 type="cite">
  <pre wrap="">Documentation of auth_db module is wrong too, error codes returned by 
www_authorize and proxy_authorize are different.

On Tuesday 26 October 2010, Daniel-Constantin Mierla wrote:
  </pre>
  <blockquote type="cite">
    <pre wrap="">Hello,

indeed, the readme was misleading, the function return false when a
check fails. I updated the readme and committed to git.

Thanks,
Daniel

On 10/25/10 12:48 AM, Sergey Okhapkin wrote:
    </pre>
    <blockquote type="cite">
      <pre wrap="">The routing script has

         if(sanity_check("1159", "6")) {
                 xlog("L_INFO","Bad message from $proto:$si:$sp\n$mb\n");
                 break;
         }

Seems like sanity_check function returns true is sanity check passes, but
not failed. Am I right?

  0(14085) DEBUG:&lt;core&gt;  [receive.c:145]: After parse_msg...
  0(14085) DEBUG:&lt;core&gt;  [receive.c:186]: preparing to run routing
scripts... 0(14085) DEBUG:&lt;core&gt;  [parser/parse_to.c:803]: end of header
reached, state=10
  0(14085) DEBUG:&lt;core&gt;  [parser/msg_parser.c:185]: DEBUG:
get_hdr_field:&lt;To&gt; [35]; uri=[<a class="moz-txt-link-abbreviated" href="mailto:sip:167147511@204.74.213.5:5090">sip:167147511@204.74.213.5:5090</a>]
  0(14085) DEBUG:&lt;core&gt;  [parser/msg_parser.c:187]: DEBUG: to body
[<a class="moz-txt-link-rfc2396E" href="mailto:sip:167147511@204.74.213.5:5090">&lt;sip:167147511@204.74.213.5:5090&gt;</a>
]
  0(14085) DEBUG:&lt;core&gt;  [parser/msg_parser.c:165]: get_hdr_field:
cseq&lt;CSeq&gt;: &lt;73&gt;  &lt;REGISTER&gt;
  0(14085) DEBUG:&lt;core&gt;  [parser/msg_parser.c:199]: DEBUG: get_hdr_body :
content_length=0
  0(14085) DEBUG:&lt;core&gt;  [parser/msg_parser.c:101]: found end of header
  0(14085) DEBUG:&lt;core&gt;  [parser/parse_to.c:174]: DEBUG: add_param:
tag=jzbyj 0(14085) DEBUG:&lt;core&gt;  [parser/parse_to.c:803]: end of header
reached, state=29
  0(14085) DEBUG: sanity [mod_sanity.c:217]: all sanity checks passed
  0(14085) INFO:&lt;script&gt;: Bad message from udp:71.59.87.156:5066

_______________________________________________
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>
  </blockquote>
  <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>
</body>
</html>