[SR-Users] avp_db_load() & fetch attribute ....

Alex Balashov abalashov at evaristesys.com
Mon Apr 28 00:44:20 CEST 2014


Wouldn't you be better off just having your own tables and using your 
own SQL with 'sqlops'?

On 04/27/2014 06:12 PM, 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 at lists.sip-router.org
> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>


-- 
Alex Balashov - Principal
Evariste Systems LLC
235 E Ponce de Leon Ave
Suite 106
Decatur, GA 30030
United States
Tel: +1-678-954-0670
Web: http://www.evaristesys.com/, http://www.alexbalashov.com/



More information about the sr-users mailing list