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

Freeswitch SVN anthm at freeswitch.org
Fri Jun 30 17:45:29 EDT 2006


Author: anthm
Date: Fri Jun 30 17:45:29 2006
New Revision: 1716

Modified:
   freeswitch/trunk/src/switch.c
   freeswitch/trunk/src/switch_ivr.c

Log:
minor adj

Modified: freeswitch/trunk/src/switch.c
==============================================================================
--- freeswitch/trunk/src/switch.c	(original)
+++ freeswitch/trunk/src/switch.c	Fri Jun 30 17:45:29 2006
@@ -81,7 +81,7 @@
 	SetPriorityClass(GetCurrentProcess(), HIGH_PRIORITY_CLASS);
 #else
 	int pid;
-	//nice(-20);
+	nice(-20);
 #endif
 
 #ifdef HAVE_MLOCKALL

Modified: freeswitch/trunk/src/switch_ivr.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr.c	(original)
+++ freeswitch/trunk/src/switch_ivr.c	Fri Jun 30 17:45:29 2006
@@ -1123,6 +1123,7 @@
 						  switch_channel_get_name(caller_channel),
 						  switch_channel_get_name(peer_channel)
 						  );
+		switch_channel_hangup(peer_channel, SWITCH_CAUSE_NO_ANSWER);
 	}
 
 	return status;



More information about the Freeswitch-svn mailing list