[OpenSIPS-Users] log_next_state_dlg: bogus event 8 in state 5

Alain Bieuzent alain.bieuzent at free.fr
Fri Apr 5 09:46:11 UTC 2024


Hi all,

 

I have some logs like this :

WARNING:dialog:log_next_state_dlg: bogus event 8 in state 5 for dlg

 

this case happens when I received a REINVITE from provider just after a BYE from customer, but not yest confirmed by a 200OK.

 

I added this part of code to reply with a 481

if (topology_hiding_match()) 

{

                if (is_method("INVITE"))

                        {

                                if ($DLG_status == 5 ) ### INVITE received for an ended dialog

                                {

                                        sl_send_reply(481,"Call/Transaction Does Not Exist");

                                        exit;

                                }

}

 

The code works, but I continue to receive these error messages in the logs, how can I delete them (without changing the log level)?

 

THANKS               

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20240405/42b5938b/attachment.html>


More information about the Users mailing list