[Users] problem in using avp_db_load

openser user openseruser at yahoo.co.in
Mon Mar 20 12:37:36 CET 2006


hi all,
    i am trying to load a data(i have stored domain
uri's as the value in value column) from the table
usr_preferences.
my usr_preferences table look like this 
+------+----------+---------+-----------+------+---------------+---------------------+
| uuid | username | domain  | attribute | type | value
        | modified            |
+------+----------+---------+-----------+------+---------------+---------------------+
|      | 101      | domain  | abc       |    0 |
1.1.1.1 | 2006-03-20 15:53:15 |
|      | 103      | domain  | abc       |    0 |
1.1.1.2 | 2006-03-20 15:53:15 |
|      | 102      | domain1 | abc       |    0 |
1.1.1.3 | 2006-03-20 15:53:15 |
+------+----------+---------+-----------+------+---------------+---------------------+

in this table i need to get the values ov servers(i.e,
1.1.1.1,1.1.1.2,1.1.1.3 
avp_db_load("$ruri/domain","s:abc/usr_preferences");
append_branch();

but i am not getting any error, when i saw the debug
file it was showing avp_db_load =0;

in what way i can get this servers uri(stored in value
coloumn) into sip messages so that i can do
append_branch()

regrads
sonu


		
__________________________________________________________ 
Yahoo! India Matrimony: Find your partner now. Go to http://yahoo.shaadi.com




More information about the Users mailing list