[OpenSIPS-Users] TM flag 0x01 not working in 1.11.7

Denis denis7979 at mail.ru
Sat Jun 18 15:49:08 CEST 2016


2.1 has the same problem

   mailto:denis7979 at mail.ru

In my script I send all “100 Trying” responses manually* and use the 0x01 flag when calling t_relay so that it will not send its own “100 Giving a try” response, as per the documentation [1]. 
Unfortunately, in 1.11.7 and 1.11.8 this flag seems to have stopped working which results in multiple 100 responses.
This should be easily reproducible with a script that simply calls t_relay with flag 0x01. You will see that a “100 Giving a try” response is still sent. 
[1] http://www.opensips.org/html/docs/modules/1.11.x/tm.html#id294528
* I do this because I don’t like that the default is to send the non-standard response “100 Giving a try” instead of “100 Trying”. I’ve always wondered why this is that way. Additionally, the automatic response to CANCEL requests is “200 canceling” instead of the standard “200 OK”. Unfortunately, I have yet to find a way to workaround the behavior for CANCEL.
Ben Newlin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20160618/f390ee69/attachment.htm>

More information about the Users mailing list