From ee0a0b79c87e268b3b266001bcab898544fbe4aa Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Fri, 25 Feb 2011 21:29:47 -0600 Subject: [PATCH] FS-3103 --- src/mod/applications/mod_conference/mod_conference.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/mod/applications/mod_conference/mod_conference.c b/src/mod/applications/mod_conference/mod_conference.c index 0eb8f3ccb0..7ab57b2dd5 100644 --- a/src/mod/applications/mod_conference/mod_conference.c +++ b/src/mod/applications/mod_conference/mod_conference.c @@ -1724,7 +1724,12 @@ static void conference_loop_fn_volume_talk_up(conference_member_t *member, calle //switch_snprintf(msg, sizeof(msg), "Volume level %d", member->volume_out_level); //conference_member_say(member, msg, 0); - switch_snprintf(msg, sizeof(msg), "digits/%d.wav", member->volume_out_level); + if (member->volume_out_level < 0) { + switch_snprintf(msg, sizeof(msg), "currency/negative.wav", member->volume_out_level); + conference_member_play_file(member, msg, 0); + } + + switch_snprintf(msg, sizeof(msg), "digits/%d.wav", abs(member->volume_out_level)); conference_member_play_file(member, msg, 0); }