after couple of tests, it is still hit and miss, sometimes it matches, sometimes it does not.

On Wed, Apr 18, 2018, 6:47 PM Kelvin Chua <kelchy@gmail.com> wrote:
thanks alex, will test this out further but looks good at the moment
any idea why it is not matching when RURI has the port if i only use t_check_trans() and relay?

Kelvin Chua

On Wed, Apr 18, 2018 at 3:44 PM, Alex Balashov <abalashov@evaristesys.com> wrote:
Try this instead:

   route {
      ...

      t_check_trans();

      ...

      if(is_method("CANCEL")) {
         if(!t_relay_cancel())
            sl_send_reply("500", "Internal Server Error");

         exit;
      }
   }

-- Alex

--
Alex Balashov | Principal | Evariste Systems LLC

Tel: +1-706-510-6800 / +1-800-250-5920 (toll-free)
Web: http://www.evaristesys.com/, http://www.csrpswitch.com/

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users