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@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to