<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix"><tt>Hi,<br>
<br>
See the permissions module :<br>
<a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/1.11.x/permissions.html">http://www.opensips.org/html/docs/modules/1.11.x/permissions.html</a><br>
<br>
with the check_source_address() function and "address" table :<br>
<a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/1.11.x/permissions.html#id294950">http://www.opensips.org/html/docs/modules/1.11.x/permissions.html#id294950</a><br>
<a class="moz-txt-link-freetext" href="http://www.opensips.org/Documentation/Install-DBSchema-1-11#GEN-DB-ADDRESS">http://www.opensips.org/Documentation/Install-DBSchema-1-11#GEN-DB-ADDRESS</a><br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
On 15.09.2014 20:33, Satish Patel wrote:<br>
</div>
<blockquote
cite="mid:CAPgF-frfiamr2PEgUkVNo1BkvudYrQ97NigF8Quav=P4YJ+dOw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div>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. <br>
<br>
</div>
also how do i reload them without restarting opensips services?<br>
<div><br>
if (is_method("INVITE") && (src_ip==xx.xx.xx.xx)) {<br>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>