Howto:Getting started with your own PBX voicemail script: Difference between revisions
Line 15: | Line 15: | ||
To start your own voice mail derivative, just | To start your own voice mail derivative, just | ||
* copy vm.xml (found in the \drive\CF0\VM\en|de) in your voicemail installation to a new name | * copy vm.xml (found in the \drive\CF0\VM\en|de) in your voicemail installation to a new name | ||
* change the URL in the [[ | * change the URL in the [[Reference9:PBX/Objects/Voicemail|voicemail configuration page]] to point to the new script | ||
* make the required changes to your new xml copy | * make the required changes to your new xml copy | ||
Revision as of 15:45, 29 October 2013
The innovaphone voicemail is implemented as an XML script running in a PBX Voicemail object. While this is a pretty complete implementation of a voice box, it is possible to modify the script or even write your own scripts. Here is how to start.
Voice mail scripting is a quite powerful tool. Please note that "voice mail script" is rather a misnomer. You can support a variety of applications using this scripting language, not only voice mail.
Applies To
This information applies to
- All V6 and later PBX Platforms
More Information
System Requirements
The PBX voicemail object provides an interpreter for an XML based scripting language. This language is defined in a XML schema file vm.xsd and a documentation is available in vm.htm. Both files can be found in the schema folder in the voicemail application download package on the download page (beware: you must download the full "vm" package, not a single language package only).
To start your own voice mail derivative, just
- copy vm.xml (found in the \drive\CF0\VM\en|de) in your voicemail installation to a new name
- change the URL in the voicemail configuration page to point to the new script
- make the required changes to your new xml copy
To interface the voicemail to other web based applications (such as php or asp scripts on your web server), have a look at the exec tag in vm.htm.
Editing your xml file
Editing your xml script is much easier if you use a dedicated xml editor that is capable of reading the corresponding xml schema file (vm.xsd).