[SR-Users] UAC "credential" username, password and realm from DB

Yuriy Gorlichenko ovoshlook at gmail.com
Tue Aug 19 22:53:38 CEST 2014


Hello. I suceesfully authenticate some accounts of providers from UAc using
DB.

When I try to Call to any provider it responds me 407 or 401 reply.

To Send to It new INVITE with auth Creditans I use UAC_AUTH() with
configured modparams:

modparam("uac","credential","username:domain:password")
modparam("uac","auth_realm_avp","$avp(i:10)")
modparam("uac","auth_username_avp","$avp(i:11)")
modparam("uac","auth_password_avp","$avp(i:12)")

I think that avp`s used to get varibles from DB, but at test it is not
write.

So my question- how to get this varibles from DB (uacreg table)

Thanks
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20140820/6cbc9ea7/attachment.html>


More information about the sr-users mailing list