Use the broadcast uuid so we can use it to del the scheduled calls.

This commit is contained in:
Mark Crane
2014-02-19 06:47:51 +00:00
parent 01946ce16e
commit dbaeadc69c

View File

@@ -170,7 +170,7 @@ function cmd_async($cmd) {
}
//set the command
$cmd = "bgapi sched_api +".$sched_seconds." none bgapi originate ".$origination_url." ".$broadcast_destination_data." XML $context";
$cmd = "bgapi sched_api +".$sched_seconds." ".$call_broadcast_uuid." bgapi originate ".$origination_url." ".$broadcast_destination_data." XML $context";
//if the event socket connection is lost then re-connect
if (!$fp) {
@@ -234,7 +234,6 @@ require_once "resources/header.php";
echo " <td align=\"center\">\n";
echo " <br>";
echo "<table width='100%' border='0'><tr>\n";
echo "<td width='50%' nowrap><b>Contact List</b></td>\n";
echo "<td width='50%' align='right'>&nbsp;</td>\n";