[OpenSIPS-Users] Need to understand the seral forking logic of opensips .

Sasmita Panda spanda at 3clogic.com
Tue Oct 10 06:07:04 UTC 2023


In this case I am using the registrar module .


*Thanks & Regards*
*Sasmita Panda*
*Senior Network Testing and Software Engineer*
*3CLogic , ph:07827611765*


On Mon, Oct 9, 2023 at 7:40 PM Ben Newlin <Ben.Newlin at genesys.com> wrote:

> Sasmita,
>
>
>
> I think the relevant piece here is not the call to “serialize_branches”,
> but how the branches are being created to begin with. Are you using
> drouting, dispatcher, registrar, etc? It seems like what is happening is
> that whatever mechanism you are using to track the contacts is considering
> the 486 response to mean that URI should not be tried again and it is
> removed from routing. This behavior is likely configurable in that module.
>
>
>
> Ben Newlin
>
>
>
> *From: *Users <users-bounces at lists.opensips.org> on behalf of Sasmita
> Panda <spanda at 3clogic.com>
> *Date: *Monday, October 9, 2023 at 8:47 AM
> *To: *OpenSIPS users mailling list <users at lists.opensips.org>
> *Subject: *[OpenSIPS-Users] Need to understand the seral forking logic of
> opensips .
>
> * EXTERNAL EMAIL - Please use caution with links and attachments *
>
>
> ------------------------------
>
> Hi ,
>
>
>
> I know this is a very basic question . Still I need some clarification .
>
>
>
> I have 2 contact for same number , When I place a call Openips give that
> to 1st if 1st contact reject the call with 486 busy , then opensips try the
> same call to the 2nd contact without rejecting the call .
>
>
>
> In the next call for same number , opensips tries to 2nd contact if that
> rejects the call with 486 it wont try to the 1st contact again . Why is
> this happening ?
>
>
>
> route{
>
>
>
>                         if (!serialize_branches(1)){
>                                 sl_send_reply("500","Unable to load
> contacts");
>                                 exit;
>                         }else{
>                                 if (next_branches()){
>                                         t_on_failure("1");
>                                 }
>                         }
>
> }
>
>
>
> failure_route[1] {
>
>    if ( t_check_status("404|477|480|481|408|486|50[234]")){
>          if (next_branches())
>          {
>                 t_on_failure("1");
>                 route(1);
>          }
>
>     }
> }
>
>
>
> This is in my config file . i have gone through the doc
> https://www.opensips.org/Documentation/Script-CoreFunctions-1-11#toc44
>
> but not able to understand properly .
>
>
>
> How can I print the internally stored branches on avp ?
>
>
> *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/20231010/b4f8a0e3/attachment.html>


More information about the Users mailing list