[OpenSIPS-Users] Need some help in lookup flag "B" in opensips 3.2 version .
Bogdan-Andrei Iancu
bogdan at opensips.org
Mon Nov 13 07:57:14 UTC 2023
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 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/20231113/f96db0ca/attachment-0001.html>
More information about the Users
mailing list