Hi!
Thanks! The problem is that there are examples for every command. But how do
I connect them? I've problems to understand them...
Well, I guess (please help me with my "idea"):
To get a value from the database (Table: subscriber - column: caller_id) for
the calling user, I have to make:
modparam("avpops", "avp_table", "subscriber")
modparam("avpops", "uuid_column", "id")
modparam("avpops", "username_column", "username")
modparam("avpops", "domain_column", "domain")
modparam("avpops", "value_column", "caller_id")
avp_db_load("$uuid", "s:$uri");
Thanks for your help!
Sebastian
----- Original Message -----
From: "Andreas Granig" <andreas.granig(a)inode.info>
To: "Sebastian Kühner" <skuehner(a)veraza.com>
Cc: <serusers(a)lists.iptel.org>
Sent: Tuesday, September 13, 2005 10:33 AM
Subject: Re: [Serusers] avpops
Sebastian Kühner wrote:
> Can anyone of you give me an example how to get data from a database
with
> the avpops-module? I want to get a value from a
special table and a
special
> column...
>
> I didn't find any examples in the internet and the commands only don't
help