Greetings,

I'm doing some work with the AUTH routes and modules, and sometimes i get a
"403 Not relaying" answer when the INVITE has a parameter in the R-URI.
That parameter was not included in the REGISTER.

I think it's this part of the code that throws this reply :

# if caller is not local subscriber, then check if it calls
        # a local destination, otherwise deny, not an open relay here
        if (from_uri!=myself && uri!=myself) {
                sl_send_reply("403","Not relaying");
                exit;
        }

Does a different or new parameter in the R-URI trigger the "uri!=myself" ?
if so, can I set it up to check R-URI but not check the parameters?

Thanks
_______________________________________________
Kamailio (SER) - Users Mailing List
[email protected]
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

Reply via email to