Juha,
I wrote a very simple sip-router script to test serial forking based on q values with t_load_contacts and t_next_contacts. I noticed that when I use t_next_contacts before the transaction exists, it uses the value of fr_inv_timer_next even for the first branch.
Is this itendended behavior? Shouldn't the function use the value of fr_inv_timer for the first branch and then fr_inv_timer_next for subsequent branches?
This is where fr_inv_timer_next is set for the first branch: http://git.sip-router.org/cgi-bin/gitweb.cgi?p=kamailio;a=blob;f=modules/tm/...
-- Jan