An incorrect assertion in sip_dialog_process() function in sip_dialog.c crashes the program. At times a dialog may be
retrieved which is actually termintated and hence might have dialog_state set to SIP_DIALOG_DESTROYED. So assertion should
check for this state too along with EARLY and CONFIRMED.