Hi,
Could you post a ladder diagram showing what is the problem you have
with the 2 contacts? For me it is not clear from your initial description.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
https://www.opensips-solutions.com
https://www.siphub.com
On 10/12/23 2:43 PM, Sasmita Panda wrote:
Is there any update on this ? How can I make sure each time every
contact will get tried ?
*/Thanks & Regards/*
/Sasmita Panda/
/Senior Network Testing and Software Engineer/
/3CLogic , ph:07827611765/
On Tue, Oct 10, 2023 at 11:37 AM Sasmita Panda <[email protected]
<mailto:[email protected]>> wrote:
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 <[email protected]
<mailto:[email protected]>> 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 <[email protected]
<mailto:[email protected]>> on behalf of
Sasmita Panda <[email protected] <mailto:[email protected]>>
*Date: *Monday, October 9, 2023 at 8:47 AM
*To: *OpenSIPS users mailling list <[email protected]
<mailto:[email protected]>>
*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
<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
[email protected] <mailto:[email protected]>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
<http://lists.opensips.org/cgi-bin/mailman/listinfo/users>
_______________________________________________
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