[OpenSIPS-Users] Services management - question about proper module
Bogdan-Andrei Iancu
bogdan at voice-system.ro
Fri Oct 22 17:53:44 CEST 2010
Hi Maciej
Maciej Bylica wrote:
> Hi,
>
> Have anyone tried to use usr_preferences, AVPops to determine the
> service to be fetched by the script?
>
That is the the proper module for handling generic attribute. Uisng
AVPops module you can load from db, for a certain user, a certain
attribute (via avp_db_load ). You may use different attributes (AVPs)
for different services - like one attreibute to be "URI for permanent
call fwd" other for being "URI for busy redirect".
> Then i am planning to use switch statement to add different prefixes
> before the called number and t_relay to asterisk server to do the
> rest.
>
keep in mind that certain ops can be done on opensips (like call fwd),
you do not need asterisk.
Regards,
Bogdan
> Is this proper point of view?
>
> Thx,
> Maciej.
>
>
>
>
>> Hello.
>>
>> I am planning to provide opensips with a kind of mechanism to manage
>> customer services/features like call-forward/VM/follow-me and so on.
>> It should work in following way: If $rU is provided in subscriber
>> table then user enabled service name is obtained from some db table.
>> On the basis of that value opensips should do the magic :)
>>
>> The question is what kind of module is the best to follow. Is it
>> AVPops or maybe there is another way to achieve my goal.
>> What are pros and cons.
>>
>> Thx in advance,
>> Maciej.
>>
>>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
--
Bogdan-Andrei Iancu
OpenSIPS Bootcamp
15 - 19 November 2010, Edison, New Jersey, USA
www.voice-system.ro
More information about the Users
mailing list