On 12/10/09 1:08 PM, Juha Heinanen wrote:
Daniel-Constantin Mierla writes:
t_on_reply("1"); - run onreply_route[1] with no locking (default, same syntax as now) for current transaction. t_on_reply("1", "0"); - run onreply_route[1] with no locking for current transaction. t_on_reply("1", "1"); - run onreply_route[1] under lock for current transaction.
fine, if t_on_reply("1") is equal to t_on_reply("1", "1"). this is very important for backwards compatibility and error prevention. t_on_reply("1", "0") is then for optimization purpose.
that was a proposal. Maybe others can have different opinions. I need this option in several cases, not that often. Note that in K it is by default off. So in case you do not have set the tm parameter onreply_avp_mode to 1, then it is eqiuvalent of t_on_reply("1", "0").
Cheers, Daniel