[OpenSIPS-Users] Logging into DB BYE messages with 481 Code
Wilmar Campos
wilmar.campos at gmail.com
Wed Feb 5 05:36:50 CET 2014
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20140204/52fecc51/attachment.htm>
More information about the Users
mailing list