Hello,

On 04/28/07 16:03, Daryl Sanders wrote:
I cannot seem to get my usr_preferences to load using the following
load statement.

       avp_db_load("$avp(s:caller_username)", "*");

try avp_db_load("$avp(s:caller_username)/username", "*") if you have username in the AVP. If not working, set debug level to higher value and watch log messages and mysql quesries, somewhere should be an invalid value.

Cheers,
Daniel


I have verified with xlog and avp_print() that $avp(s:caller_username)
does contain a valid value before calling avp_db_load, however nothing
is returned.

It will work if I use this:

       avp_db_load("$fu/username", "*");


I really need to make it work via $avp(s:caller_username) if possible
because my call forwarding and custom call routing features change
this value often.

Thanks,

- Daryl

_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users


_______________________________________________
Users mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/users

Reply via email to