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

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


Hello,

On 5/16/11 2:49 PM, Iñaki Baz Castillo wrote:
> Hi, as Kamailio 1.5 TM documentation states, changes to transaction
> (adding headers, filling AVP's and so) after calling t_newtran() are
> not saved into the transaction:
>
>    http://kamailio.org/docs/modules/1.5.x/tm.html#id2510920
>
>    NOTE that the changes on the request that are made after this
> function call will not be saved into transaction!!!
>
>
> However in 3.X TM documentation such note is not present:
>
>    http://kamailio.org/docs/modules/devel/modules/tm.html#t_newtran
>
>
> So, does 3.X behave different and changes after t_newtran are added to
> the transaction or not?
no, it should behave the same in 3.x. The behavior was there before 
openser forked from ser, but probably the documentation was updated in 
the openser branch over the time and then with the migration to tm from 
ser 2.0 was lost.
Cheers,
Daniel

-- 
Daniel-Constantin Mierla
http://www.asipto.com




More information about the sr-users mailing list