From 6a819d238d2be6e2645f0e0d82012bac0353adcb Mon Sep 17 00:00:00 2001 From: mattf Date: Thu, 21 Aug 2008 05:35:05 +0000 Subject: [PATCH] fixed issue in AGI ALL inbound script where hold prompt would not be played git-svn-id: svn://192.168.202.10@944 3d104415-ff17-0410-8863-d5cf3c621b8a --- agc_2-X/trunk/agi/agi-VDAD_ALL_inbound.agi | 2 ++ 1 file changed, 2 insertions(+) diff --git a/agc_2-X/trunk/agi/agi-VDAD_ALL_inbound.agi b/agc_2-X/trunk/agi/agi-VDAD_ALL_inbound.agi index 735acb34..a6991b99 100644 --- a/agc_2-X/trunk/agi/agi-VDAD_ALL_inbound.agi +++ b/agc_2-X/trunk/agi/agi-VDAD_ALL_inbound.agi @@ -68,6 +68,7 @@ # 80501-0515 - added after hours transfer in-group # 80525-1040 - added ability to convert IVR status inbound calls to LIVE in-group calls # 80630-2232 - added queue_log logging of inbound calls +# 80821-0133 - fixed non-play issue with hold message # $script = 'agi-VDAD_ALL_inbound.agi'; @@ -1441,6 +1442,7 @@ if ($hold_message_counter > $prompt_interval) $affected_rows = $dbhA->do($stmtA); if ($AGILOG) {$agi_string = "-- VDAC posttime record: |$affected_rows|$FDtsSQLdate|$callerid|"; &agi_output;} + $AGI->stream_file('sip-silence'); # stop music-on-hold process $AGI->stream_file('sip-silence'); # stop music-on-hold process $AGI->stream_file("$onhold_prompt_filename"); # this prompt must be less than 10 seconds long $hold_message_counter = 0;