[Freeswitch-svn] [commit] r5885 - freeswitch/trunk/src

Freeswitch SVN anthm at freeswitch.org
Mon Oct 15 21:51:16 EDT 2007


Author: anthm
Date: Mon Oct 15 21:51:15 2007
New Revision: 5885

Modified:
   freeswitch/trunk/src/switch_core_session.c

Log:
fix

Modified: freeswitch/trunk/src/switch_core_session.c
==============================================================================
--- freeswitch/trunk/src/switch_core_session.c	(original)
+++ freeswitch/trunk/src/switch_core_session.c	Mon Oct 15 21:51:15 2007
@@ -305,11 +305,11 @@
 					switch_channel_set_originatee_caller_profile(channel, cloned_profile);
 				}
 			}
+		}
 
-			if (switch_event_create(&event, SWITCH_EVENT_CHANNEL_OUTGOING) == SWITCH_STATUS_SUCCESS) {
-				switch_channel_event_set_data(peer_channel, event);
-				switch_event_fire(&event);
-			}
+		if (switch_event_create(&event, SWITCH_EVENT_CHANNEL_OUTGOING) == SWITCH_STATUS_SUCCESS) {
+			switch_channel_event_set_data(peer_channel, event);
+			switch_event_fire(&event);
 		}
 	}
 



More information about the Freeswitch-svn mailing list