Hi,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
https://www.opensips-solutions.com
https://www.siphub.com
On 20.03.2025 09:17, Sasmita Panda wrote:
Hi All ,
I am using opensips 3.2 . For a particular username I am doing branch
only lookup like below * lookup("location", "B") . *
*
*
* After doing a lookup , I am calculating the queue value of each
branch and then trying to deliver calls one by one . *
*
*
* Here the first call goes to the branch with higher q value .
But when the q value of 2 branches is the same to which branch will
the call go first ?*
as per RFC, you should do parallel forking to branches with the same q,
but at the end of the day, it is up 2 you
*
*
* I am seeing randomness on this (with q value same for 2 users
) . But I want to fix the behaviour , i.e. the call should go in FIFO
order . i.e. the user who registers first should get the call first .
*
if the branches have the same q, how do you want to order them ?
registration time? this will be inconsistent as during re-registration,
the order of those 2 branches will keep swap. Nevertheless, check
https://opensips.org/html/docs/modules/3.4.x/usrloc.html#param_desc_time_order
*
*
* How can I achieve this ? *
*/Thanks & Regards/*
/Sasmita Panda/
/Senior Network Testing and Software Engineer/
/3CLogic , ph:07827611765/
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users