[sr-dev] serial forking and restart_fr_on_each_reply

Jan Janak jan at ryngle.com
Sat Oct 17 17:29:54 CEST 2009


On Sat, Oct 17, 2009 at 5:12 PM, Juha Heinanen <jh at tutpro.com> wrote:
> Jan Janak writes:
>
>  > There is the parameter restart_fr_on_each_reply, its documentation says:
>  >
>  >    Setting it to 0 is especially useful when dealing with bad UAs that
>  >    continuously retransmit 180s, not allowing the transaction to timeout
>  >    (and thus making impossible the implementation of certain services,
>  >    like automatic voicemail after x seconds).
>  >
>  > The parameter is enabled by default. Shouldn't we disable this when we
>  > do serial forking with t_next_contacts. To guarantee that UAs
>  > retransmitting 180s do not prevent serial forking from happening?
>
> yes, i have set it 0 in my config:
>
> modparam("tm", "restart_fr_on_each_reply", 0)
>
> it would be good if that param could be set/cleared in the script before
> t_relay is called.

I think this option is a good candidate for setting on per-transaction
basis. Then we could turn it off automatically whenever serial forking
happens. For now I will document that this needs to be turned off if
t_next_contacts is used and also put it on the TODO list for future tm
module enhancements.

   -- Jan



More information about the sr-dev mailing list