[SR-Users] question on TM transaction matching

Kelvin Chua kelchy at gmail.com
Wed Apr 18 16:59:39 CEST 2018


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 at 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 at 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 at lists.kamailio.org
>> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20180418/a0111b2e/attachment.html>


More information about the sr-users mailing list