And what do you mean by “opensips creates a new invite as the caller sent”?
On Mon, 13 Nov 2023 at 08:57, Bogdan-Andrei Iancu <[email protected]> wrote: > Hi, > > May I ask why using the "B" flag here ? > > Regards, > > Bogdan-Andrei Iancu > > OpenSIPS Founder and Developer > https://www.opensips-solutions.com > https://www.siphub.com > > On 11/7/23 9:00 AM, Sasmita Panda wrote: > > Hi All , > > I am using opensips 3.2 version . > route { > ------- > if ($rm=="INVITE") > { > if(!lookup("location","B")) > { > if (!t_reply(404, "Not Found")) > { > sl_reply_error(); > } > exit; > } > } > if (!serialize_branches(1)){ > sl_send_reply(500,"Unable to load > contacts"); > exit; > }else{ > # if (next_branches()){ > t_on_failure("1"); > } > } > > Then of course the route(1) and failure_route(1) i have called . But what > is happening in my case is . I have 2 branches , For Invite opensips tries > both the branches but if both branch wont accept the call Opensips should > reply error code to the caller . But Opensips create a new invite as the > Caller sent and again follows the lookup logic . > > Why is this happening ? How will I manage this ? > > > *Thanks & Regards* > *Sasmita Panda* > *Senior Network Testing and Software Engineer* > *3CLogic , ph:07827611765* > > _______________________________________________ > Users mailing > [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 >
_______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
