<div dir="ltr">Hi All,<div><br></div><div>I am trying to log into the database all BYE messages that contains the return code 481.</div><div><br></div><div>I have this piece of code:</div><div><div> if (has_totag() && is_method("INVITE|ACK|BYE|UPDATE"))</div>
<div> {</div><div> if(loose_route()) {</div><div> if(!match_dialog())</div><div> exit;</div><div><br></div><div> if (is_method("BYE")) {</div><div> if(t_check_status("481"))</div>
<div> acc_db_request("481 No","acc_bye");</div><div> }</div></div><div><br></div><div>But is giving me this error.</div><div>ERROR:tm:t_check_status: cannot check status for a reply which has no transaction-state established<br>
</div><div><br></div><div>I have try different ways to accomplish this without any luck.</div><div><br></div><div>Can anyone please point me to the right direction?</div><div><br></div><div>Thanks,</div><div><br></div><div>
Wilmar</div></div>