[SR-Users] tag column on address table

Kelvin Chua kelchy at gmail.com
Mon Jan 6 06:09:56 CET 2014


then the documentation has to be changed:

1.4. Address Permissions

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).

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.

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.





Kelvin Chua


On Sun, Jan 5, 2014 at 4:47 AM, Juha Heinanen <jh at tutpro.com> wrote:

> Kelvin Chua writes:
>
> > is the peer_tag_avp used on allow_source_address_group?
>
> based on fast scan of permissions module source, it appears that
> peer_tag_avp is set only by allow_trusted function.
>
> -- juha
>
> _______________________________________________
> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
> sr-users at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140106/7e524b6d/attachment.html>


More information about the sr-users mailing list