[OpenSIPS-Users] registration for each subscriber ID and IP

Bogdan-Andrei Iancu bogdan at opensips.org
Wed Jul 30 15:28:55 CEST 2014


The same. After doing the www_authorize for the REGISTER, before doing 
save(), do the check on the loaded IP. If failed, send back a 403 Forbidden.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com

On 29.07.2014 07:48, Лытаев Антон Викторович wrote:
> # reject call
> But I need to cancel the registration (in this case), and not only 
> reject calls
>
> 28.07.2014 16:04, Bogdan-Andrei Iancu пишет:
>> After loading the field into an avp, after successful auth you can 
>> simply do:
>>     if ($si!=$avp(loaded_IP)) {
>>         #reject call
>>     }
>
>




More information about the Users mailing list