mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 08:05:37 +00:00
use define
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13412 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
6d0b6a9f91
commit
bcfccaee16
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user