The VMAuthenticate dialplan command is extremely useful in the implementation of new modules such as those that require that the person using a phone is the authorized person. Users already have a voicemail password that they have selected and memorized so the same password can be used during remote control of call forwards or for restricted access to outbound routes.
I therefore request that the following snippet is added to extensions.class.php
class ext_vmauthenticate {
var $mailbox;
var $context;
var $options;
function ext_vmauthenticate($mailbox=,$context=, $options=) {
$this->mailbox = $mailbox;
$this->context = $context;
$this->options = $options;
}
function output() {
return "VMAuthenticate("
.($this->mailbox ? $this->mailbox : )
.($this->context ? '@'.$this->context : )
.($this->options ? '|'.$this->options : )
.")";
}
}