[OpenSIPS-Users] src_ip in DB

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Sep 16 09:00:39 CEST 2014


Hi,

See the permissions module :
http://www.opensips.org/html/docs/modules/1.11.x/permissions.html

with the check_source_address() function and "address" table :
http://www.opensips.org/html/docs/modules/1.11.x/permissions.html#id294950
http://www.opensips.org/Documentation/Install-DBSchema-1-11#GEN-DB-ADDRESS

Regards,

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

On 15.09.2014 20:33, Satish Patel wrote:
> currently we have following config, and IP is hard coded, we have many 
> src_ip so how do i put them in MySQL database? i know i can use avp_db 
> but how they will stored in memory and opensip read them from memory 
> instead of disk everytime.
>
> also how do i reload them without restarting opensips services?
>
> if (is_method("INVITE") && (src_ip==xx.xx.xx.xx)) {
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140916/64c45adf/attachment.htm>


More information about the Users mailing list