mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Only set the avmd if avmd is set to true
This commit is contained in:
@@ -144,4 +144,4 @@
|
||||
$apps[$x]['db'][$y]['fields'][$z]['type'] = "text";
|
||||
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "";
|
||||
|
||||
?>
|
||||
?>
|
||||
@@ -199,4 +199,4 @@
|
||||
$text['label-has-been']['pt-pt'] = "foi inicializada";
|
||||
$text['label-has-been']['fr-fr'] = "a commencé";
|
||||
|
||||
?>
|
||||
?>
|
||||
@@ -572,4 +572,4 @@ if (count($_POST)>0 && strlen($_POST["persistformvar"]) == 0) {
|
||||
echo "</div>";
|
||||
|
||||
require_once "resources/footer.php";
|
||||
?>
|
||||
?>
|
||||
@@ -85,6 +85,7 @@ function cmd_async($cmd) {
|
||||
$broadcast_destination_type = $row["broadcast_destination_type"];
|
||||
$broadcast_phone_numbers = $row["broadcast_phone_numbers"];
|
||||
$broadcast_destination_data = $row["broadcast_destination_data"];
|
||||
$broadcast_avmd = $row["broadcast_avmd"];
|
||||
//if (strlen($row["broadcast_destination_data"]) == 0) {
|
||||
// $broadcast_destination_application = '';
|
||||
// $broadcast_destination_data = '';
|
||||
@@ -165,7 +166,9 @@ function cmd_async($cmd) {
|
||||
$channel_variables .= ",domain_uuid=".$_SESSION['domain_uuid'];
|
||||
$channel_variables .= ",domain=".$_SESSION['domain_name'];
|
||||
$channel_variables .= ",domain_name=".$_SESSION['domain_name'];
|
||||
$channel_variables .= ",execute_on_answer='avmd start'";
|
||||
if ($broadcast_avmd == "true") {
|
||||
$channel_variables .= ",execute_on_answer='avmd start'";
|
||||
}
|
||||
$origination_url = "{".$channel_variables."}".$bridge_array[0];
|
||||
|
||||
//get the context
|
||||
@@ -376,4 +379,4 @@ unset ($key);
|
||||
unset ($val);
|
||||
unset ($c);
|
||||
*/
|
||||
?>
|
||||
?>
|
||||
Reference in New Issue
Block a user