[Serusers] avp_db_load problem

iptel iptel at connex33.it
Mon Aug 7 20:17:50 CEST 2006


Hi !
I have a problem with this instruction: 

if(avp_db_load("$ruri/username", "s:callfwd/usr_preferences")){
setflag(22);
avp_pushto("$ruri","s:callfwd");
}; 

avp_db_load instruction don't match !
It work only in this condition: 

if(!avp_db_load("$ruri/username", "s:callfwd/usr_preferences")) 

nevertheless when the last condition (with a negation) matched avp_pushto 
instruction report this error "avp not found". 

1) Why avp_db_load condition work only whit negation ?
2) Why avp_pushto report this error ? 

Thanks to all.
A.C. 

 




More information about the sr-users mailing list