fixed issue in AGI ALL inbound script where hold prompt would not be played

git-svn-id: svn://192.168.202.10@943 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2008-08-21 05:34:45 +00:00
parent 5980b8de38
commit e11dad4e24
@@ -55,6 +55,7 @@
# 71116-1045 - added fewest_calls_campaign agent call routing option
# 71128-1758 - added CIDLOOKUPRC method to search all lists within a campaign
# 80402-0142 - added code for manual dial transfer duplicate check
# 80821-0133 - fixed non-play issue with hold message
#
$script = 'agi-VDAD_ALL_inbound.agi';
@@ -1153,6 +1154,7 @@ if ($agent_search_method =~ /^LO|^LB/)
if ($hold_message_counter > $prompt_interval)
{
$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;
$start_moh=1;