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
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users