[SR-Users] Dialog module generates error since upgrade to 4.2.2

Jan Hazenberg jenus at cyberchaos.nl
Thu Jan 22 13:25:30 CET 2015


Hi All,

I'm running into a issue with the dialog module since the upgrade from 
4.2.1 to 4.2.2. I use the dialog module to add extra vars to the cdr's 
generated by the ACC module.

I use the following config:

# ----- dialog params -----
modparam("dialog", "enable_stats", 1)
modparam("dialog", "dlg_match_mode", 1)
modparam("dialog", "dlg_flag", FLT_DLG)
modparam("dialog", "rr_param", "did")
modparam("dialog", "wait_ack", 1)

# Create dialog
if (method=="INVITE") {
      # Create Dialog
      dlg_manage();

      # Add test dialog var
      $dlg_var(src_ua) = $hdr(User-Agent);
}


This seems to work fine on kamailio 4.2.1 but after the upgrade i see 
the following errors in the logs:

Jan 22 13:16:57 sip /usr/sbin/kamailio[2773]: CRITICAL: dialog 
[dlg_hash.c:901]: log_next_state_dlg(): bogus event 6 in state 1 for dlg 
0x7f2f0332ed40 [3693:11222] with clid 
'9192c5fc24627a14c2ec42f084a96587 at 192.168.149.126' and tags '4017642921' 
''
Jan 22 13:17:01 sip /usr/sbin/kamailio[2770]: CRITICAL: dialog 
[dlg_hash.c:901]: log_next_state_dlg(): bogus event 7 in state 1 for dlg 
0x7f2f0332ed40 [3693:11222] with clid 
'9192c5fc24627a14c2ec42f084a96587 at 192.168.149.126' and tags '4017642921' 
''

If i'm correct "bogus event 6 in state 1" indicates that a ACK whas 
received while the dialog still was in unconfirmed state. Should i catch 
the 200 OK on the INVITE to update the dialog?

Thanks,

Jan Hazenberg













More information about the sr-users mailing list