diff options
author | Christian Richter <christian.richter@beronet.com> | 2006-06-28 14:24:18 +0000 |
---|---|---|
committer | Christian Richter <christian.richter@beronet.com> | 2006-06-28 14:24:18 +0000 |
commit | fc8d55ab159b6557887b78e0668a63e3dc3832de (patch) | |
tree | 634629737608df911741407fc550a8b97f625746 | |
parent | 727488c81b4d8700b746843d2f3c59227080fe1c (diff) |
moved a notice into a log
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36190 65c4cc65-6c06-0410-ace0-fbb531ad65f3
-rw-r--r-- | channels/chan_misdn.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/channels/chan_misdn.c b/channels/chan_misdn.c index 2ce51d09a..e7aef8298 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; |