From e071f1a68ca144dfb31e5fa519f3b6928727e84f Mon Sep 17 00:00:00 2001 From: Mathieu Rene Date: Mon, 7 Sep 2009 04:35:35 +0000 Subject: [PATCH] FSCORE-430 git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@14778 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_ivr_originate.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/switch_ivr_originate.c b/src/switch_ivr_originate.c index 3f311d5a2a..48d83dcefb 100644 --- a/src/switch_ivr_originate.c +++ b/src/switch_ivr_originate.c @@ -1606,7 +1606,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess int val = atoi(vvar); if (val > 0) { switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "%s Setting leg timeout to %d\n", - switch_channel_get_name(originate_status[0].peer_channel), val); + switch_channel_get_name(originate_status[i].peer_channel), val); originate_status[i].per_channel_timelimit_sec = (uint32_t) val; } } @@ -1615,7 +1615,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess int val = atoi(vvar); if (val > 0) { switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "%s Setting leg progress timeout to %d\n", - switch_channel_get_name(originate_status[0].peer_channel), val); + switch_channel_get_name(originate_status[i].peer_channel), val); originate_status[i].per_channel_progress_timelimit_sec = (uint32_t) val; } } @@ -1624,7 +1624,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_originate(switch_core_session_t *sess int val = atoi(vvar); if (val > 0) { switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "%s Setting leg delay start to %d\n", - switch_channel_get_name(originate_status[0].peer_channel), val); + switch_channel_get_name(originate_status[i].peer_channel), val); originate_status[i].per_channel_delay_start = (uint32_t) val; } }