[Kamailio-Users] AVP to store user contact information
Iñaki Baz Castillo
ibc at in.ilimit.es
Tue Aug 26 09:45:54 CEST 2008
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ñaki Baz Castillo
ibc at in.ilimit.es
More information about the sr-users
mailing list