Hi All,

In my situation, i want to format string which contains pseudo-variables. These string are stored in db and cached with "cache_table" module.

I tried it like that;

$avp(value) = $sql_cached_value(caching_name:column_name:key);
pv_printf($var(formatted_value), 
$sql_cached_value(caching_name:column_name:key));
xlog("L_INFO", "*** Value: $avp(value) | Formatted Value: $var(formatted_value) 
***");

but noting is changed,

*** Value: r-uri: $ru | Formatted Value:  r-uri: $ru ***

Where am i doing wrong?
Thanks in advance.

Serdar
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to