Brett Nemeroff wrote: > On Thu, Jul 29, 2010 at 9:21 AM, Bogdan-Andrei Iancu > <[email protected] <mailto:[email protected]>> 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..
Brett, The docs mention the usage of () for Pvar naming - see http://www.opensips.org/Resources/DocsCoreVar16 ....not sure if clear enough or not... Regards, Bogdan > ------------------------------------------------------------------------ > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > -- Bogdan-Andrei Iancu OpenSIPS Bootcamp 20 - 24 September 2010, Frankfurt, Germany www.voice-system.ro _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
