On Oct 07, 2010 at 16:22, Juha Heinanen <j...@tutpro.com> wrote: > Andrei Pelinescu-Onciul writes: > > > P.S.: changing www_challenge() would be trivial, but requires testing. > > Only auth_send_reply() would need to be changed to use slb.send_reply() > > and probably a module param. added to select between forced stateless > > replies (lower processing) or auto replies. > > i changed return in auth_send_reply() to this: > > return slb.send_reply(msg, code, reason); > > but got compile error: > > make modules=modules/auth modules > CC (cc) [M auth.so] auth_mod.o > auth_mod.c: In function ???auth_send_reply???: > auth_mod.c:569: error: ???sl_api_t??? has no member named ???send_reply??? > make[1]: *** [auth_mod.o] Error 1
Sorry, it's slb.freply(), but you also need to send reason as str (in auth_send_reply reason is char, but slb.freply() expects a str* reason). Andrei _______________________________________________ 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