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
This commit is contained in:
mattf
2008-08-21 05:35:05 +00:00
parent f1f955fda9
commit 463fd1d675
+2
View File
@@ -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;