[OpenSIPS-Users] Help with transformation.

Sergio Gutierrez saguti at gmail.com
Sat Sep 13 01:28:56 CEST 2008

Hello everybody.

I have a routing block with the following commands:

        avp_db_query("select uuid from usr_preferences where value = '$rU'",

        if($(avp(s:test){s.len}) != 0)
                xlog("L_INFO", "found\n");
                xlog("L_INFO", "not found\n");


When query returns 0 rows, this error appears in log:

Sep 12 17:24:11 [663] CRITICAL:core:comp_scriptvar: cannot get left var

Is there a way to avoid it?

Thanks in advance for your help and attention.

Kind Regards.

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

More information about the Users mailing list