On 5/16/11 3:38 PM, IƱaki Baz Castillo wrote:
2011/5/16 Daniel-Constantin
Mierla<daniel(a)kamailio.org>rg>:
The 3.x provides a way to save the changes done
to message after
t_newtrans() to transaction:
http://kamailio.org/docs/modules/3.1.x/modules/tm.html#t_save_lumps
Regarding avps, the same list should be used after creating the transaction,
so new avps are stored in transaction always.
Ok, I didn't know that
t_save_lumps also saves AVP's. That's good.
no, it does not save the avps.
But there should be the same avp list
used no matter the transaction is already created or not. In other
words, when the transaction is createed, the active avp list will point
inside transaction structure, so adding/removing works (transparently)
with the avps at any time.
Cheers,
Daniel
--
Daniel-Constantin Mierla
http://www.asipto.com