On 11/12/13 11:33, Alex Balashov wrote:
On 12/11/2013 05:31 AM, Alex Balashov wrote:
I have some extra columns to load from the 'subscriber' table':

    modparam("auth_db", "load_credentials",
       "$avp(s:fruit_id)=fruit_id");

Is there any way to get auth_db to only load this column for one realm
and not another?  I use multiple realms (tables) and one of them doesn't
have this column.

Well, I guess in the terminology of the documentation, I meant "domain":

       if(!auth_check("$td", "thedomain", "1")) {

No such feature -- you can use sqlops instead of load credentials at the expense of extra sql query. Or write the code for it.

Cheers,
Daniel

--
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

Reply via email to