Hello Bruce,

Strangely, I've never gotten an Anonymous INVITE rejected by Asterisk with 603, 
but that was the version 1.4.
Let me try to help with your request for a solution with Kamailio.

These few lines could be added to your main route, after the place where your 
handle the registration. It will block any request from unregistered users:
Route {
...
                if (!registered("location")) {
                {
                        exit;
                }
...
}

I am assuming that you refer to the subscribers registered in the location 
table as "peers", I mean, they should be registered in Kamailio, not in 
asterisk. If not, you can do something similar with some database query. But 
let us know if that is the case.

Perhaps you'd be interested in these next ones as well, they helped me a short 
while ago to workaround on some issues with the code 603:

Module configurations:
modparam("tm", "disable_6xx_block", 1)

onreply_route
{
        if ($T_reply_code == "603")
        {
                drop;
        }
}

Best regards,
Ricardo.

_______________________________________________
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

Reply via email to