I tested setting up acc module to use the cdr_flag with dialog module.<div>Works nicely until opensips is restarted while there is an open call.</div><div>After an opensips restart, calls that were started before the restart do not get an entry in the DB. Not even an old style BYE record.</div>
<div>I verified that the dialog was matched using:</div><div> xlog("L_NOTICE", "CID->$ci, fU->$fU, orU->$oU: Loose Route $rm Request - si=$si - next via $rd:$rp\n");</div><div> if ( $DLG_status == NULL ) {</div>
<div> xlog("L_WARN", "CID->$ci, fU->$fU, orU->$oU: WARNING: BYE without dialog. NO CDR, just old style rec for BYE in acc table.\n");</div><div>in the loose routing logic that handles the bye.</div>
<div>I get the first message but not the warning.</div><div>I also ran into this problem previously with media_proxy_engage. It cleans itself up because of no RTP after a bit though and so is not as big of a deal.</div><div>
<br></div><div>Am I missing something or is this a bug I need to report?</div><div><br></div><div>Dave</div><div><br></div>