Hi Uwe, $au != $fU is not correct for REGISTER, as the in REGISTER, the AOR (user) is specified by TO header. So you should do $au != $tU .
Using the check_to() function (as Thomas suggested) is better, as the check_to() function is able to use the correct auth header from the request - a request may have multiple Auth hdrs (for chain authentication), so you need to compare with the auth_id used by your proxy for auth. Regards, Bogdan Uwe Kastens wrote: > Hello @all, > > >> check_to() should be what you're looking for. >> >> > > Ok, thats another module I will look to. > > ATM I am checking if in the register $au != $fU and drop the packet then. > > > > > BR > > Kiste > _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
