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

FreeSWITCH SVN mikej at freeswitch.org
Thu May 21 10:55:57 PDT 2009


Author: mikej
Date: Thu May 21 12:55:56 2009
New Revision: 13412

Log:
 use define 

Modified:
   freeswitch/trunk/src/switch_ivr_originate.c

Modified: freeswitch/trunk/src/switch_ivr_originate.c
==============================================================================
--- freeswitch/trunk/src/switch_ivr_originate.c	(original)
+++ freeswitch/trunk/src/switch_ivr_originate.c	Thu May 21 12:55:56 2009
@@ -623,7 +623,7 @@
 	switch_zmalloc(write_frame.data, SWITCH_RECOMMENDED_BUFFER_SIZE);
 	write_frame.buflen = SWITCH_RECOMMENDED_BUFFER_SIZE;
 
-	if (caller_channel && (var = switch_channel_get_variable(caller_channel, "call_timeout"))) {
+	if (caller_channel && (var = switch_channel_get_variable(caller_channel, SWITCH_CALL_TIMEOUT_VARIABLE))) {
 		timelimit = atoi(var);
 		if (timelimit < 0) {
 			timelimit = 60;



More information about the Freeswitch-svn mailing list