Re: [SR-Users] acc failed_transaction_flag and t_newtran()

2011-03-12 Thread Daniel-Constantin Mierla
Hi Juha, great that you needed it so it got spotted, practically we had support for sync'ing flags back to transaction from message in 1.x, but seems it got lost during the integration. I just reintroduced the t_flush_flags() in the tmx module. Being a fix considering the lost of the old

Re: [SR-Users] acc failed_transaction_flag and t_newtran()

2011-03-12 Thread Juha Heinanen
Daniel-Constantin Mierla writes: I just reintroduced the t_flush_flags() in the tmx module. Being a fix considering the lost of the old feature, it can be backported once you confirm it works for you (unfortunately I am not able to test right now). daniel, thanks for the new function. now

Re: [SR-Users] acc failed_transaction_flag and t_newtran()

2011-03-12 Thread Daniel-Constantin Mierla
Hello Juha, On Sat, Mar 12, 2011 at 8:14 PM, Juha Heinanen j...@tutpro.com wrote: Daniel-Constantin Mierla writes: I just reintroduced the t_flush_flags() in the tmx module. Being a fix considering the lost of the old feature, it can be backported once you confirm it works for you

[SR-Users] acc failed_transaction_flag and t_newtran()

2011-03-11 Thread Juha Heinanen
in order to get invite requests accounted, it seems that accounting flags need to be set before t_newtran() is called. is there any way to unset the accounting flags after calling t_newtran()? for example, i would not like to account invites that result to 407 proxy authentication required. --

[SR-Users] acc failed_transaction_flag and t_newtran()

2011-03-11 Thread Juha Heinanen
Juha Heinanen writes: is there any way to unset the accounting flags after calling t_newtran()? for example, i would not like to account invites that result to 407 proxy authentication required. just to clarify, i added statement resetflag(ACC_FAILED_FLAG); just before