From: Michael Collins Date: Fri, 5 Dec 2008 00:05:22 +0000 (+0000) Subject: Fix progressmsec issue X-Git-Tag: v1.0.2~353 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e9026b7cd3c83407e924b9150694cfb2e26d572;p=thirdparty%2Ffreeswitch.git Fix progressmsec issue git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@10603 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- diff --git a/src/switch_channel.c b/src/switch_channel.c index 4370c7cc23..57aa7b5311 100644 --- a/src/switch_channel.c +++ b/src/switch_channel.c @@ -2307,7 +2307,7 @@ SWITCH_DECLARE(switch_status_t) switch_channel_set_timestamps(switch_channel_t * switch_snprintf(tmp, sizeof(tmp), "%d", progressmsec); switch_channel_set_variable(channel, "progressmsec", tmp); - switch_snprintf(tmp, sizeof(tmp), "%" SWITCH_TIME_T_FMT, progressusec); + switch_snprintf(tmp, sizeof(tmp), "%" SWITCH_TIME_T_FMT, progressmsec); switch_channel_set_variable(channel, "progress_mediamsec", tmp); switch_snprintf(tmp, sizeof(tmp), "%d", legbillmsec);