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
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users