Commit 0c961649 authored by Kulya's avatar Kulya 😊

Check DND togller bag1

parent 96ff5214
...@@ -561,11 +561,11 @@ class AloVoiceActions ...@@ -561,11 +561,11 @@ class AloVoiceActions
else{ else{
$this->runAsteriskAction([ $this->runAsteriskAction([
new \PAMI\Message\Action\DBDelAction("DND",$n), new \PAMI\Message\Action\DBDelAction("DND",$n),
new \PAMI\Message\Action\CommandAction("dialplan set global DEVICE_STATE(Custom:DND".$n.") ONHOLD"), // new \PAMI\Message\Action\CommandAction("dialplan set global DEVICE_STATE(Custom:DND".$n.") ONHOLD"),
// new \PAMI\Message\Action\CommandAction("dialplan set global DEVICE_STATE(Custom:DND".$n.") UNAVAILABLE"), new \PAMI\Message\Action\CommandAction("dialplan set global DEVICE_STATE(Custom:DND".$n.") UNAVAILABLE"),
//"dialplan set global DEVICE_STATE(Custom:DND".$n.") NOT_INUSE", //"dialplan set global DEVICE_STATE(Custom:DND".$n.") NOT_INUSE",
new \PAMI\Message\Action\CommandAction("dialplan set global DEVICE_STATE(Custom:DEVDND".$n.") ONHOLD") // new \PAMI\Message\Action\CommandAction("dialplan set global DEVICE_STATE(Custom:DEVDND".$n.") ONHOLD")
// new \PAMI\Message\Action\CommandAction("dialplan set global DEVICE_STATE(Custom:DEVDND".$n.") UNAVAILABLE") new \PAMI\Message\Action\CommandAction("dialplan set global DEVICE_STATE(Custom:DEVDND".$n.") UNAVAILABLE")
//"dialplan set global DEVICE_STATE(Custom:DEVDND".$n.") NOT_INUSE" //"dialplan set global DEVICE_STATE(Custom:DEVDND".$n.") NOT_INUSE"
] ]
); );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment