|
PHP AGI Voicemail
See http://opensource.mwater.ca/projects/phpvm
This code needs to be re-written from scratch. A better framework needs to be created for writing telephony applications, some kind of OOP-based state machine structure that makes coding very simple.
class mainmenu extends menu {
function option_1() {
$this->loadmenu('playmenu');
}
function option_2() {
$this->folder = 'OLD';
$this->replayintro();
}
}
as of ast 1.2, playback can be controlled (rewing/ffw): http://www.voip-info.org/wiki/view/control+stream+file
Ideas
(Optionally) Connect to external IMAP server, mark voicemail messages as read once they are listened to in vm application, or move to OLD if message is marked as read in IMAP. This could be extended further by having all voicemail stored in IMAP, which would mean that a compactflash-based system could store everything remotely.
