Hi Ricardo, Now, the module expects to find in the AVPs a single set of credentials (realm, user, passwd) and the realm from AVP must match the realm from request. But I guess Thomas already helped you on this - loading only the passwd you need.
Regards, Bogdan Ricardo Martins wrote: > Yes Bogdan, that's ok, I'm going to store the credential on AVPs. But > the question is: How can I inform the script wich user of the realm to > use on uac_auth function? > > My goal is to use uac_auth to autenticate multiples users of the same > realm. > > If you can give me some clues, I would be gratefull. > > Regards! > > Ricardo. > > > Bogdan-Andrei Iancu escreveu: >> Hi Ricardo, >> >> But I implemented this long time ago. See: >> >> http://www.opensips.org/html/docs/modules/1.5.x/uac.html#auth-username-avp-id >> >> >> >> Also see : >> >> http://opensips.svn.sourceforge.net/viewvc/opensips?view=rev&revision=707 >> >> >> Is it something else you are looking after ? >> >> Regards, >> Bogdan >> >> Ricardo Martins wrote: >>> Hi all! >>> >>> I'm trying to use the uac_auth function to autenticate more than one >>> user for a single realm. Is there any way to do that? In my >>> environment, it acceps the parameters but I have no way to inform >>> wich one to use when the 407 response comes. >>> >>> I found a very old bounty (linked below) to put credentials >>> parameters of uac module on avp and to include the ability to >>> authenticate multiple users on a single realm. >>> >>> http://lists.kamailio.org/pipermail/devel/2006-January/001758.html >>> >>> Do anybody knows if any similar thing was done? >>> >>> Regards! >>> >>> Ricardo. >>> >>> >>> >>> _______________________________________________ >>> Users mailing list >>> [email protected] >>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >>> >>> >> >> > > _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
