[asterisk-commits] branch crichter/0.3.0 r36189 - /team/crichter/0.3.0/channels/chan_misdn.c

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


Author: crichter
Date: Wed Jun 28 09:24:01 2006
New Revision: 36189

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

Modified:
    team/crichter/0.3.0/channels/chan_misdn.c

Modified: team/crichter/0.3.0/channels/chan_misdn.c
URL: http://svn.digium.com/view/asterisk/team/crichter/0.3.0/channels/chan_misdn.c?rev=36189&r1=36188&r2=36189&view=diff
==============================================================================
--- team/crichter/0.3.0/channels/chan_misdn.c (original)
+++ team/crichter/0.3.0/channels/chan_misdn.c Wed Jun 28 09:24:01 2006
@@ -3089,6 +3089,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