[OpenSIPS-Users] TM flag 0x01 not working in 1.11.7
Newlin, Ben
Ben.Newlin at inin.com
Tue Jun 21 15:46:15 CEST 2016
Bogdan,
Thanks. I assume the parameter will be available in 1.11.9?
Ben Newlin
From: Bogdan-Andrei Iancu <bogdan at opensips.org>
Date: Tuesday, June 21, 2016 at 9:42 AM
To: OpenSIPS users mailling list <users at lists.opensips.org>, "Newlin, Ben" <Ben.Newlin at inin.com>, "Newlin, Ben" <Ben.Newlin at inin.com>
Subject: Re: [OpenSIPS-Users] TM flag 0x01 not working in 1.11.7
Hi Ben,
My bad, I forgot to backport this param to 1.11 too (while the change affecting the 100 Trying generation was backported).
http://www.opensips.org/html/docs/modules/1.11.x/tm.html#id294521
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 21.06.2016 15:14, Newlin, Ben wrote:
Bogdan,
That is great for versions 2.1+, but I was asking about 1.11. This sounds like a new feature to me and I don’t understand why it was ported back to break existing functionality. The new TM parameter you mention is not available in 1.11 according to the documentation, so I have no way to get the previous functionality. There is also no documentation in 1.11 or in the release notes that indicates that the 0x01 flag no longer works.
Ben Newlin
From: Bogdan-Andrei Iancu <bogdan at opensips.org><mailto:bogdan at opensips.org>
Date: Tuesday, June 21, 2016 at 3:35 AM
To: OpenSIPS users mailling list <users at lists.opensips.org><mailto:users at lists.opensips.org>, "Newlin, Ben" <Ben.Newlin at inin.com><mailto:Ben.Newlin at inin.com>, "denis7979 at mail.ru<mailto:denis7979 at mail.ru> >> Denis Putyato" <denis7979 at mail.ru><mailto:denis7979 at mail.ru>
Subject: Re: [OpenSIPS-Users] TM flag 0x01 not working in 1.11.7
Hi
Please refer to https://github.com/OpenSIPS/opensips/issues/833 .
As per documentation, the 0x1 flag became obsolete, as sending the 100Trying is no longer linked to the t_relay() - the 100Trying is now sent when the transaction is created.
If you want to disable the auto 100Trying, see the new TM flag auto_100trying:
http://www.opensips.org/html/docs/modules/2.2.x/tm.html#id294523
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com
On 18.06.2016 16:49, Denis wrote:
Hello!
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
_______________________________________________
Users mailing list
Users at lists.opensips.org<mailto:Users at lists.opensips.org>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
Users at lists.opensips.org<mailto:Users at lists.opensips.org>
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20160621/2f68a391/attachment-0001.htm>
More information about the Users
mailing list