Hi all,
I'd like to log failed SIP REGISTER attempt either with xlog or with sip_trace() but I cannot understand where to put related code to catch the authentication error

Here is the part of my opensr.cfg dedicated to REGISTER handling

if (method=="REGISTER") {
        if (!proxy_authorize("exorsa", "openser_view")) {
                proxy_challenge("exorsa", "0");
                exit;
        }
        if (!check_to()) {
sl_send_reply("403", "Digest username and URI username do NOT match! Stay away!");
                exit;
        }

        save("location");

        exit;
};


Tnx in advance

Regards

Edoardo


_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

Reply via email to