[OpenSIPS-Users] log_next_state_dlg bogus events
Jan D.
j-doedel at zonnet.nl
Wed Mar 14 11:07:15 CET 2012
Vlad,
Still a little question: The dialog docs tell me i can check the dialog
status after doing a loose route:
1.9.2. $DLG_status : Returns the status of the dialog corresponding to the
processed sequential request. This PV will be available only for sequential
requests, after doing loose_route().
In my script i moved the check into my loose route like this:
if(loose_route())
{
xlog("L_INFO", " INFO : route 0 LOOSE_ROUTE\n");
if (is_method("BYE") && $DLG_status < 3)
{
xlog("L_ERROR", " INFO : 501 BYE with $DLG_status not supported
here\n");
sl_send_reply("501", "Method Not Supported Here");
exit;
}
else
{
xlog("L_ERROR", " INFO : BYE with $DLG_status OK\n");
}
}
Now i still get an error in my log files:
Mar 14 10:55:52 /usr/sbin/opensips[14227]: ********** ROUTE 00 **********
BYE 89.146.10.180
Mar 14 10:55:52 /usr/sbin/opensips[14227]:
CRITICAL:dialog:log_next_state_dlg: bogus event 7 in state 2 for dlg
0x7f800574c688 [1887:925512554] with clid
'MGJjY2RmNmMzNmRmYTdhZmYxMTFkMTdjM2ZiMGU1Y2I.' and tags '6b07d36d'
'34F196CC-2329'
Mar 14 10:55:52 /usr/sbin/opensips[14227]: INFO : route 0 LOOSE_ROUTE
Mar 14 10:55:52 /usr/sbin/opensips[14227]: INFO : 501 BYE with 2 not
supported here
What can i do to get rid of the critical error?
FYI: When calling out with X-lite (4.1 63214) and canceling the request
after some time, X-Lite generates a BYE and after this a CANCEL, quite
strange...
Gr.
Jan
--
View this message in context: http://opensips-open-sip-server.1449251.n2.nabble.com/log-next-state-dlg-bogus-events-tp7354379p7371331.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
More information about the Users
mailing list