[OpenSIPS-Users] New features in modules cfgutils and group.

Sergio Gutierrez saguti at gmail.com
Fri Dec 26 19:39:14 CET 2008


Hello to all members.

According to suggestions posted on list by two users, there are two new
features which have been implemented in cfgutils and group modules, which
help to make more flexible and dynamic the script operation.

One feature is in sleep() and usleep() functions, allowing these functions
receive the amount of seconds and microseconds to sleep respectively,
through a pseudovariable. This would allow to read the delay, for example
from database, or from an avp according to particular needs.

The other feature is in function is_user_in() in group module. The second
parameter of this function, the group to be checked, can now be passed
through a pseudovariable. This would allow that script does not contain the
reference groups fixed, but they have dynamic values.

We hope these features be useful to all. They are availabe in latest trunk
revision.

Thanks to Gustavo Mistrinelli by suggesting and testing pseudovar argument
for is_user_in() and to Amar Mahmoud by suggesting pseudovar argument for
sleep() function.

Best regards to all.

-- 
Sergio Gutiérrez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20081226/165de92e/attachment.htm 


More information about the Users mailing list