[Kamailio-Users] AVP to store user contact information

Klaus Darilion klaus.mailinglists at pernau.at
Tue Aug 26 10:43:43 CEST 2008



Iñaki Baz Castillo schrieb:
> El Tuesday 26 August 2008 00:27:28 Asim Riaz escribió:
>> Hi Baz,
>> I dont know much about avp, could you explain me or give an example  howto
>> store information in the avp then save once i received the reply 200.
> 
> First use:
>   modparam("tm", "onreply_avp_mode", 1)
>   http://www.kamailio.org/docs/modules/1.3.x/tm.html#AEN313
> 
> This allows an AVP keeping its value during on_reply_route processing.
> 
> 
> To store the AVP just do the following during the REGISTER process:
> 
>   $avp(i:678)=$fU;
> 
> And read that AVP during the on_reply_route.

I think the problem is in the reply_route: How to save this AVP as contact?

regards
klaus




More information about the sr-users mailing list