[OpenSIPS-Users] possible bug 3.4

Saint Michael venefax at gmail.com
Sun Nov 24 10:31:28 UTC 2024


when I do this
if (is_method("INVITE") || (is_method("ACK") && t_check_status("200")))
I get an error
ERROR:tm:t_check_status: cannot check status for a reply which has no
transaction-state established

Since I am executing this is_method("INVITE")  is true, the other two
logical conditions after || ("or"  condition) should not be checked. That
is how all languages work.
The parenthesis group together is_method("ACK") && t_check_status("200")),
so they are one single logical condition, and it should not be
evaluated after a positive for any previous condition.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20241124/11a6fee7/attachment.html>


More information about the Users mailing list