[Kamailio-Users] Help With AVP
Daniel-Constantin Mierla
miconda at gmail.com
Thu Nov 20 09:51:38 CET 2008
On 11/18/08 16:23, Ali Jawad wrote:
>
> Hi
>
>
>
> I am trying to set a different number of rings for each user before
> the calls coming to him are diverted to his voicemail.
>
>
>
> Using:
>
> modparam("tm", "fr_inv_timer", 200) à This is a global setting
>
> I need something that can be tuned individually like :
>
> modparam("tm", "fr_inv_timer_avp", "$avp(i:25)")
>
> If I do use the fr_inv_timer_avp where can I set the value of avp individually for the user.
just set the fr_inv_timer_avp before relaying:
$avp(i:25) = 20;
The value you can load from DB based on destination user.
Cheers,
Daniel
> Should I use something like
>
> avp_write("$ruri/domain", "i:13"); ß something similar to this in the route{} statement ?
>
> Please advice.
>
>
>
>
>
>
>
>
> With Regards
>
>
>
> Ali Jawad
>
> System Administrator
>
> Splendor Telecom (www.splendor.net)
>
> Beirut, Lebanon
>
> Phone: +961 1 373725
>
> Fax: + 961 1 375554
>
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
>
--
Daniel-Constantin Mierla
http://www.asipto.com
More information about the Users
mailing list