[Serusers] avpops

Greger V. Teigre greger at teigre.com
Tue Sep 13 20:38:00 CEST 2005


Sebestian,
The just recently released issue 5 of the Getting Started doc at onsip.org 
uses avpops to implement call forwarding etc. You can probably get some help 
there :-)
g-)

Sebastian Kühner wrote:
> 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 at inode.info>
> To: "Sebastian Kühner" <skuehner at veraza.com>
> Cc: <serusers at 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 me very much...
>>
>> http://www.voice-system.ro/docs/avpops/0.9.0/ has some examples.
>>
>> Andy
>>
>
> _______________________________________________
> Serusers mailing list
> serusers at lists.iptel.org
> http://lists.iptel.org/mailman/listinfo/serusers 




More information about the sr-users mailing list