[SR-Users] Does t_newtran() behave different than in Kamailio 1.5?

Daniel-Constantin Mierla miconda at gmail.com
Mon May 16 15:42:43 CEST 2011



On 5/16/11 3:38 PM, Iñaki Baz Castillo wrote:
> 2011/5/16 Daniel-Constantin Mierla<daniel at kamailio.org>:
>> 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




More information about the sr-users mailing list