From: Christian Richter Date: Wed, 28 Jun 2006 14:24:18 +0000 (+0000) Subject: moved a notice into a log X-Git-Tag: 1.4.0-beta1~744 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc8d55ab159b6557887b78e0668a63e3dc3832de;p=thirdparty%2Fasterisk.git moved a notice into a log git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36190 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_misdn.c b/channels/chan_misdn.c index 2ce51d09ab..e7aef8298b 100644 --- a/channels/chan_misdn.c +++ b/channels/chan_misdn.c @@ -3187,6 +3187,11 @@ cb_events(enum event_e event, struct misdn_bchannel *bc, void *user_data) if (event != EVENT_SETUP) { if (!ch) { + if (event == EVENT_RELEASE_COMPLETE) { + chan_misdn_log(1, bc->port, " --> no Ch, so we've already released.\n"); + return 0; + } + if (event != EVENT_CLEANUP && event != EVENT_TONE_GENERATE && event != EVENT_BCHAN_DATA) ast_log(LOG_NOTICE, "Chan not existing at the moment bc->l3id:%x bc:%p event:%s port:%d channel:%d\n",bc->l3_id, bc, manager_isdn_get_info( event), bc->port,bc->channel); return -1;