[OpenSIPS-Users] I need some help/clarification in branch only lookup in opensips 3.2 .
Bogdan-Andrei Iancu
bogdan at opensips.org
Tue Apr 1 12:28:58 UTC 2025
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
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20250401/5ddb7922/attachment.html>
More information about the Users
mailing list