Got my answer
Regards
Kamal Mann
-----Original Message-----
From: Mann, Kamal
Sent: Tuesday, October 17, 2006 11:37 AM
To: serusers(a)lists.iptel.org
Subject: [Serdev] :Check for URI (from incoming messages) w.r.t database
Hi All
I need to check for each URI with respect to his/her credentials stored
in SER database. I am using avpops functions avp_check & avp_db_load. I
am able to compile ser.cfg but after writing this piece of code ser
stops responding to all kinda requests not even for register messages.
Like -->
if(avp_check("s:kamal","eq/$from/username"))
//avp_db_load("$from/username","s:kamal")
// also tried with scheme1: example
{
****some more code****
break;
}
Is this way is correct or I need to use some another function?? I am a
newbie to ser; I need your valuable suggestions for the same.
Regards
Kamal Mann