Hi,
based on the original feature request from Thomas Gelf thomas@gelf.net (see http://www.openser.org/pipermail/devel/2006-January/001701.html), the UAC module from OpenSER head allows dynamic definition of credentials to be used in UAC authentication via AVPs.
Three new module parameters allow the definitions of the AVPs to be used as realm, username and password. See http://openser.org/docs/modules/1.1.x/uac.html
How it works?
if the AVPs are defined (note you have to define none or all three of them), when UAC auth is performed, the module will first look for the AVPs to see if they are set or not. If all set and the realm from AVP matches the realm from challenge, the credentials from AVPs will be use. Otherwise the statically defined credentials (via module parameter) will be tried.
Important Note: only the first found AVPs will be used!
regards, bogdan