Hi All,

I am trying to log into the database all BYE messages that contains the
return code 481.

I have this piece of code:
    if (has_totag()  && is_method("INVITE|ACK|BYE|UPDATE"))
    {
        if(loose_route()) {
            if(!match_dialog())
                exit;

            if (is_method("BYE")) {
                if(t_check_status("481"))
                        acc_db_request("481 No","acc_bye");
            }

But is giving me this error.
ERROR:tm:t_check_status: cannot check status for a reply which has no
transaction-state established

I have try different ways to accomplish this without any luck.

Can anyone please point me to the right direction?

Thanks,

Wilmar
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to