<div dir="ltr">then the documentation has to be changed:<div><br></div><div><div class="" title="1.4. Address Permissions" style="font-family:Helvetica,Arial;font-size:medium"><div class="" style="color:rgb(0,0,0)"><h3 class="">
1.4. Address Permissions</h3></div><p style="color:rgb(0,0,0);font-size:12px;text-align:justify">The module can be used to determine if an address (IP address and port) matches any of the IP subnets stored in cached Kamailio database table. Port 0 in cached database table matches any port. IP address and port to be matched can be either taken from the request (allow_source_address) or given as pvar arguments (allow_address).</p>
<p style="color:rgb(0,0,0);font-size:12px;text-align:justify">Addresses stored in cached database table can be grouped together into one or more groups specified by a group identifier (positive integer value, i.e., equal or greater than 1). Group identifier is given as argument to allow_address and allow_source_address functions.</p>
<p style="font-size:12px;text-align:justify"><font color="#ff0000">As a side effect of matching the address, non-NULL tag (see tag_col module parameter) is added as value to peer_tag AVP if peer_tag_avp module parameter has been defined.</font></p>
<p style="color:rgb(0,0,0);font-size:12px;text-align:justify"><br></p><p style="color:rgb(0,0,0);font-size:12px;text-align:justify"><br></p><div style="color:rgb(0,0,0)"><br></div></div><div class="" title="1.5. Trusted Requests" style="color:rgb(0,0,0);font-family:Helvetica,Arial;font-size:medium">
<div class=""><div></div></div></div></div></div><div class="gmail_extra"><br clear="all"><div>Kelvin Chua</div>
<br><br><div class="gmail_quote">On Sun, Jan 5, 2014 at 4:47 AM, Juha Heinanen <span dir="ltr"><<a href="mailto:jh@tutpro.com" target="_blank">jh@tutpro.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">Kelvin Chua writes:<br>
<br>
> is the peer_tag_avp used on allow_source_address_group?<br>
<br>
</div>based on fast scan of permissions module source, it appears that<br>
peer_tag_avp is set only by allow_trusted function.<br>
<br>
-- juha<br>
<br>
_______________________________________________<br>
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list<br>
<a href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a><br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div><br></div>