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@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to