[OpenSIPS-Users] is_user_in: allow set an avp in group parameter?

Gustavo Mistrinelli gmistrinelli at gmail.com
Thu Oct 23 13:02:43 CEST 2008


Hello,
   I'm using a dialplan module to classiffy my calls getting attribute value
in an avp.
*
modparam("dialplan", "attrs_pvar", "$avp(s:dest)")*

Then, IMHO could be a good idea allow setting an avp in group parameter
inside function *is_user_is *
is_user_in(URI, group)like this
is_user_in($ru, *$avp(s:dest)*) This will make more flexible and dynamic
checking user's permission

Somebody agree with it?

Regards,

-- 
Gustavo Mistrinelli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20081023/bec05550/attachment.htm 


More information about the Users mailing list