[OpenSIPS-Users] Need some help in lookup flag "B" in opensips 3.2 version .
Sasmita Panda
spanda at 3clogic.com
Mon Nov 13 09:30:40 UTC 2023
Thank you All .
My problem was resolved . I have managed the config to make it work .
*Thanks & Regards*
*Sasmita Panda*
*Senior Network Testing and Software Engineer*
*3CLogic , ph:07827611765*
On Mon, Nov 13, 2023 at 1:53 PM David Villasmil <
david.villasmil.work at gmail.com> wrote:
> 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 <bogdan at opensips.org>
> 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 listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>> _______________________________________________
>> 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/f1bd2cfd/attachment-0001.html>
More information about the Users
mailing list