[asterisk-commits] trunk r36190 - /trunk/channels/chan_misdn.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Wed Jun 28 07:24:19 MST 2006


Author: crichter
Date: Wed Jun 28 09:24:18 2006
New Revision: 36190

URL: http://svn.digium.com/view/asterisk?rev=36190&view=rev
Log:
moved a notice into a log

Modified:
    trunk/channels/chan_misdn.c

Modified: trunk/channels/chan_misdn.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_misdn.c?rev=36190&r1=36189&r2=36190&view=diff
==============================================================================
--- trunk/channels/chan_misdn.c (original)
+++ trunk/channels/chan_misdn.c Wed Jun 28 09:24:18 2006
@@ -3187,6 +3187,11 @@
 	
 	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;



More information about the asterisk-commits mailing list