[Serusers] :Check for URI (from incoming messages) w.r.t database

Kamal.Mann at t-systems.com Kamal.Mann at t-systems.com
Tue Oct 17 08:10:33 CEST 2006


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



More information about the sr-users mailing list