[Users] Using schemes with AVPops

Bogdan-Andrei Iancu bogdan at voice-system.ro
Fri Aug 12 21:09:01 CEST 2005

Hi Martin,

you may find more info regarding the DB scheme with avpops here :

you may load form any kind of table that has at least the username, 
domain like columns. For example, to load the email from subscriber 
table, define:

    modparam("avpops", "db_scheme", "email_scheme:username_col=username; \

in this way you may load the PAI value from some table.

To load the a value into a header just do:

for the function syntax see the tutorial:


Martin Kjeldsen wrote:

> Hi
> I'm in need of some help using the schemes with AVPops!
> What I would like to do, is extract a value from the coloum:username 
> in table:aliases, matched by a specific user.
> First of all I'm uncertain of how to create such a scheme and match it 
> with a specific user, and second of all, can I push this in to the 
> header as a P-Asserted-Identity?
> And I'm not mistaken, when I under the impression thatI dont need to 
> create a AVP table for this, am I?
> Thank you in advance
> Kind regards
> Martin
> _______________________________________________
> Users mailing list
> Users at openser.org
> http://openser.org/cgi-bin/mailman/listinfo/users

More information about the sr-users mailing list