Hello,
have you set use_domain parameter?
http://kamailio.org/docs/modules/stable/modules/avpops.html#avpops.p.use_domain
Then you can use the '/uri' flag for first parameter of avp_db_load().
Cheers,
Daniel
On 28/04/14 00:12, arun Jayaprakash wrote:
Can someone let me know how I can fetch an attribute depending on the
value of two columns. For eg, in my usr_preference table I have 3
columns;
username, domain, attribute.
I need to fetch the attribute if the username = $ru and domain= $rd.
Can someone let me know how this can be done, thanks.
Arun
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla - http://www.asipto.com
http://twitter.com/#!/miconda - http://www.linkedin.com/in/miconda
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users@lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users