Added Talk Seconds URLs features to campaigns and in-groups

Small fix for Stereo Call Recordings
Added code for Monitor Deprecation after Asterisk 20

git-svn-id: svn://192.168.202.10@3945 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2025-09-25 17:02:37 +00:00
parent 76f69322b8
commit fa9884bde3
18 changed files with 1075 additions and 140 deletions
+20 -3
View File
@@ -265,7 +265,8 @@
# 240723-1632 - Small fix for ConfBridge
# 240906-1032 - Added testing for stereo_recording in-group option *NOT PRODUCTION READY*
# 250325-1724 - Fix for possible daily_limit issue
# 250825-1824 - Added stereo_recording code
# 250825-1824 - Added stereo_recording code
# 250924-2147 - Added code for deprecation of "Monitor" application after Asterisk 20
#
$script = 'agi-VDAD_ALL_inbound.agi';
@@ -2691,7 +2692,15 @@ if ( ($CLchannel_group =~ /DID_INBOUND/) && (length($CLend_epoch) < 5) )
}
else
{
$AGI->exec("StopMonitor","wav,$PATHmonitor/MIX/$CLfilename");
if ($ast_ver_str{major} > 20)
{
# Deprecation of "Monitor" application after Asterisk 20
$AGI->exec("StopMixMonitor","");
}
else
{
$AGI->exec("StopMonitor","wav,$PATHmonitor/MIX/$CLfilename");
}
}
@@ -5034,7 +5043,15 @@ while ( ($drop_timer <= $DROP_TIME) && ($wait_in_queue > 0) && ($MCdrop_override
}
else
{
$retval = $AGI->exec("Monitor","wav,$PATHmonitor/MIX/$campaign_rec_filename");
if ($ast_ver_str{major} > 20)
{
# Deprecation of "Monitor" application after Asterisk 20
$retval = $AGI->exec("MixMonitor",",r($PATHmonitor/MIX/$campaign_rec_filename-in.wav)t($PATHmonitor/MIX/$campaign_rec_filename-out.wav)");
}
else
{
$retval = $AGI->exec("Monitor","wav,$PATHmonitor/MIX/$campaign_rec_filename");
}
}
}