From: Michael Jerris Date: Thu, 21 May 2009 17:55:56 +0000 (+0000) Subject: use define X-Git-Tag: v1.0.4~793 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bcfccaee169a678eb322f392f3707be56f6b6663;p=thirdparty%2Ffreeswitch.git use define git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13412 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_ivr_originate.c b/src/switch_ivr_originate.c index e0f6314cd1..5a34c8d006 100644 --- a/src/switch_ivr_originate.c +++ b/src/switch_ivr_originate.c @@ -623,7 +623,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_wait_for_answer(switch_core_session_t 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;