[Kamailio-Devel] sht_rm_name missing
Elena-Ramona Modroiu
ramona at asipto.com
Fri Jan 30 10:28:55 CET 2009
Juha Heinanen wrote:
> i tried to remove a name from htable, but cannot do it, because there
> only exists sht_rm_name_re that does not allow pseudo variables in the
> regular expression.
>
> for example, there does not seem to be any way to remove name
> $au::auth_count from htable or have i misunderstood something?
>
It should accept pseudo-variables. I tested and all seems ok. Can you
give the example of how are you using it?
If the $au::auth_count is in the htable 'a' and you want to delete all
keys having '$au::', try:
sht_rm_name_re("a=>$au::");
Regards,
Ramona
More information about the Devel
mailing list