[OpenSIPS-Users] using pseudo-variables while assigning keys to memcache

Brett Nemeroff brett at nemeroff.com
Thu Jul 29 16:27:01 CEST 2010


On Thu, Jul 29, 2010 at 9:21 AM, Bogdan-Andrei Iancu <bogdan at voice-system.ro
> wrote:

> because when seeing "$fU_passwd", opensips cannot make difference
> (syntax-based only) between variable named "fU_passwd " or var "fU" +
> string "passwd".
>
> So you need to clarify a bit the syntax to delimit the exact name of the
> variable:
>
>    cache_store("local", "$(fU)_passwd", "$avp(passwd)", 1800) ;
>

Bogdan,
I guess I never thought that this syntax would work. Seems a bit obvious now
looking at it. Is that in the docs? It's good to know..
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.opensips.org/pipermail/users/attachments/20100729/bf198671/attachment-0001.htm 


More information about the Users mailing list