Revision
14778
Author
mrene
Date
2009-09-06 23:35:35 -0500 (Sun, 06 Sep 2009)

Log Message

FSCORE-430

Modified Paths

Diff

Modified: freeswitch/trunk/src/switch_ivr_originate.c (14777 => 14778)


--- freeswitch/trunk/src/switch_ivr_originate.c	2009-09-06 17:17:55 UTC (rev 14777)
+++ freeswitch/trunk/src/switch_ivr_originate.c	2009-09-07 04:35:35 UTC (rev 14778)
@@ -1606,7 +1606,7 @@
 						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 @@
 						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 @@
 						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;
 						}
 					}