|
Hi Jayesh, I have a problem similar at
yours, could you help me ? I need to load data from acc table using
avp_db_load. I setup my cfg file in this way: modparam("avpops",
"db_scheme",
"scheme0:username_col=username;value_col=sip_callid;table=acc") if
(avp_db_load("$to", "$avp(s:sip_callid)/scheme0")) { xlog("L_INFO","Lettura OK"); }; But I have this error in the log: Apr 14 01:07:55 localhost
/usr/sbin/openser[6799]: ERROR:avpops:parse_avp_db: unknow
alias"avp(s:sip_callid)/scheme0" Apr 14 01:07:55 localhost
/usr/sbin/openser[6799]: ERROR:avpops:fixup_db_avp: parse failed Apr 14
01:07:55 localhost /usr/sbin/openser[6799]: ERROR: fix_expr : fix_actions error Any thought? Thanks for help Davide Da:
[EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Per conto di Jayesh Nambiar Hi all, I was trying to do the following: Whenever a user presses *86 and then any number, first openser should
check in the subscriber table, whether the value for features column is 1.
(I've added an extra column features in the table subscriber with datatype
int). If the value is 0, he should be replied with the message
Forbidden. I tried doing the following: modparam("avpops","db_scheme", if(uri=~"sip:\*86[0-9]*@") { }; But in the logs I only get "condition succeeded" which means
it does not do the avp_db_load() properly. Can someone please help me in what should be the exact syntax to load
it from the db and then check the value. thanks in advance, jayesh Jiyo cricket on Yahoo!
India cricket |
_______________________________________________ Users mailing list [email protected] http://openser.org/cgi-bin/mailman/listinfo/users
