Nevermind, I did refresh in firefox and now see new error codes. On Tuesday 26 October 2010, Sergey Okhapkin wrote: > Correct, the page mentions old 3.0 error codes, but not new error codes > returned by merged auth module. For example, functions return -3 for > invalid user condition. > > On Tuesday 26 October 2010, Daniel-Constantin Mierla wrote: > > On 10/26/10 12:56 PM, Sergey Okhapkin wrote: > > > Documentation of auth_db module is wrong too, error codes returned by > > > www_authorize and proxy_authorize are different. > > > > do you mean the last version of it? > > http://kamailio.org/docs/modules/3.1.x/modules_k/auth_db.html > > > > I did some fixes regarding the documentation last days. > > > > Cheers, > > Daniel > > > > > On Tuesday 26 October 2010, Daniel-Constantin Mierla wrote: > > >> 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: > > >>> 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:<core> [receive.c:145]: After parse_msg... > > >>> 0(14085) DEBUG:<core> [receive.c:186]: preparing to run routing > > >>> scripts... 0(14085) DEBUG:<core> [parser/parse_to.c:803]: end of > > >>> header reached, state=10 > > >>> 0(14085) DEBUG:<core> [parser/msg_parser.c:185]: DEBUG: > > >>> get_hdr_field:<To> [35]; uri=[sip:167147...@204.74.213.5:5090] > > >>> 0(14085) DEBUG:<core> [parser/msg_parser.c:187]: DEBUG: to body > > >>> [<sip:167147...@204.74.213.5:5090> > > >>> ] > > >>> 0(14085) DEBUG:<core> [parser/msg_parser.c:165]: get_hdr_field: > > >>> cseq<CSeq>:<73> <REGISTER> > > >>> 0(14085) DEBUG:<core> [parser/msg_parser.c:199]: DEBUG: > > >>> get_hdr_body : content_length=0 > > >>> 0(14085) DEBUG:<core> [parser/msg_parser.c:101]: found end of > > >>> header 0(14085) DEBUG:<core> [parser/parse_to.c:174]: DEBUG: > > >>> add_param: tag=jzbyj 0(14085) DEBUG:<core> [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:<script>: Bad message from udp:71.59.87.156:5066 > > >>> > > >>> _______________________________________________ > > >>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing > > >>> list sr-users@lists.sip-router.org > > >>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users > > _______________________________________________ > SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list > sr-users@lists.sip-router.org > http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users >
_______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users