diff --git a/channels/chan_misdn.c b/channels/chan_misdn.c index b356e4d91ba267f5535be0911dc2d376dd6b5732..34402b0d6d677f6dd0dc22679a3777575b622a76 100644 --- a/channels/chan_misdn.c +++ b/channels/chan_misdn.c @@ -6835,12 +6835,11 @@ CLEAN_CH: switch (p->state) { case MISDN_INCOMING_SETUP: - case MISDN_CALLING: p->state = MISDN_CLEANING; /* This is the only place in misdn_hangup, where we * can call release_chan, else it might create lot's of trouble * */ - ast_log(LOG_NOTICE, "release channel, in CALLING/INCOMING_SETUP state.. no other events happened\n"); + ast_log(LOG_NOTICE, "release channel, in INCOMING_SETUP state.. no other events happened\n"); release_chan(bc); misdn_lib_send_event(bc, EVENT_RELEASE_COMPLETE); break; @@ -6863,6 +6862,7 @@ CLEAN_CH: } break; + case MISDN_CALLING: case MISDN_ALERTING: case MISDN_PROGRESS: case MISDN_PROCEEDING: