mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-08 00:49:21 +00:00
Added record_ext to record_template
This commit is contained in:
@@ -689,7 +689,8 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
echo " ".$text['label-record_template'].":\n";
|
||||
echo "</td>\n";
|
||||
echo "<td class='vtable' align='left'>\n";
|
||||
$record_template = $_SESSION['switch']['recordings']['dir']."/archive/\${strftime(%Y)}/\${strftime(%b)}/\${strftime(%d)}/\${uuid}.wav";
|
||||
$record_ext=($_SESSION['record_ext']=='mp3'?'mp3':'wav');
|
||||
$record_template = $_SESSION['switch']['recordings']['dir']."/archive/\${strftime(%Y)}/\${strftime(%b)}/\${strftime(%d)}/\${uuid}.".$record_ext;
|
||||
echo " <select class='formfld' name='queue_record_template'>\n";
|
||||
if (strlen($queue_record_template) > 0) {
|
||||
echo " <option value='$record_template' selected='selected' >".$text['option-true']."</option>\n";
|
||||
|
||||
Reference in New Issue
Block a user