Forgot to forward to list
--- Begin Message ---
olivier.tay...@gmail.com wrote:
If you follow the thread, you will see that I was using :

   if (has_totag()) {
       if (loose_route()) {
           if (is_method("BYE")) {
               xlog("L_NOTICE", "------------------>  LOOSE route");
                if (!t_relay())
                {
                    sl_reply_error();
                }
               exit;
           }
       }
   }

I meant :
  if (has_totag()) {
      if (loose_route()) {
          if (is_method("BYE")) {
              xlog("L_NOTICE", "------------------>  LOOSE route");
            }
          if (!t_relay())
          {
                   sl_reply_error();
          }
exit; }
  }


Route ALL packets that are loose_route() not just BYEs

Hope this helps



--- End Message ---
_______________________________________________
Kamailio (OpenSER) - Users mailing list
Users@lists.kamailio.org
http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
http://lists.openser-project.org/cgi-bin/mailman/listinfo/users

Reply via email to