[OpenSIPS-Users] possible bug 3.4
Bogdan-Andrei Iancu
bogdan at opensips.org
Mon Dec 9 08:55:36 UTC 2024
Hi,
I"m 100% sure the second part of the OR will not be executed if you have
an INVITE. Maybe you have a logical flaw in the cfg.
Regards,
Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
https://www.opensips-solutions.com
https://www.siphub.com
On 24.11.2024 12:31, Saint Michael wrote:
> 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.
>
>
> _______________________________________________
> Users mailing list
> 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/20241209/dfc8789e/attachment.html>
More information about the Users
mailing list