Hello,
see avpops or sqlops for how to load values from database and access
them in config file via variables.
Cheers,
Daniel
On 19/08/14 22:53, Yuriy Gorlichenko wrote:
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
_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
sr-users(a)lists.sip-router.org
http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
--
Daniel-Constantin Mierla
http://twitter.com/#!/miconda -
http://www.linkedin.com/in/miconda
Next Kamailio Advanced Trainings 2014 -
http://www.asipto.com
Sep 22-25, Berlin, Germany ::: Oct 15-17, San Francisco, USA