Good morning,
I have serveral servers who are registered with the same AOR in Kamailio. Every server registers with a Q-value indicating its availability. When a user sends an INVITE request through Kamailio to that AOR, Kamailio should send the request to the server with the best Q-value. Using t_load_contacts I obtain a q-ordered destination set but the t_next_contacts uses parallel forking when there are two servers with the same q-value.
Is there any way to tell t_next_contacts to use only ONE destination?
Thank you in advance, Regards,
Jan Gaida writes:
I have serveral servers who are registered with the same AOR in Kamailio. Every server registers with a Q-value indicating its availability. When a user sends an INVITE request through Kamailio to that AOR, Kamailio should send the request to the server with the best Q-value. Using t_load_contacts I obtain a q-ordered destination set but the t_next_contacts uses parallel forking when there are two servers with the same q-value.
Is there any way to tell t_next_contacts to use only ONE destination?
no, unless you do some hacks of your own. same q value means parallel forking.
-- juha