Howto:A Simple Recording Solution On-Top of The innovaphone Voicemail
Applies To
This information applies to
- innovaphone PBX, V6
- innovaphone Voicemail 07-60044
More Information
This article explains how a simple recording solution could be set up on-top of an innovaphone Voicemail (VM).
Please note, that this recording solution is exemplary and free. It can be adapted in such, that it doesn't require the VM. It(record.xml) does not require VM-licensing, at all.
The recording works on-demand an stores G.711a files into the "stored messages"-area of a user's voicebox. Recorded messages can be listened to by calling a user's voicebox and by proceeding into the main menu option 2 for stored messages.
Please be informed, that recording usually requires the agreement of the calling peer and as such must be indicated to the peer.
Configuration
The outline for the following configuration scenario shall be as follows:
- The VM is pre-installed on a CompactFlash card and is available at the number 66.
- The confgured URL for the VM is http://127.0.0.1/drive/CF0/vm/vm.xml.
- An IP phone 49:Klaus may exist.
- Klaus has a voicebox configured which is available at http://127.0.0.1/drive/CF0/vm/Klaus/
- The recording solution requires an additional voicemail object, which shall be available as 67:vm-record.
Open up a new file within a text editor.
- Paste the following content into it:
<?xml version="1.0" encoding="utf-8" ?> <voicemail xmlns="http://www.innovaphone.com/xsd/voicemail6.xsd"> <function define="Main"> <pbx-getcallinfo out-cgpn="$cgpn"/> <pbx-finduser-e164 e164="$cgpn" out-cn="$cn" /> <if cond="$cn"> <lib-strcat string="$cn" string2="/store" out-string="$sub" /> <store-getnew root="$sub" ext=".g711a" out-url="$ctrl"/> <pbx-record url="$ctrl" barge-in="false"/> </if> <pbx-disc/> </function> </voicemail>
- Save the file as record.xml into the VM directory, such that record.xml resides in the same directory of the VM's vm.xml and becomes HTTP-available as http://127.0.0.1/drive/CF0/vm/record.xml.
Create a new Voicemail Object at Administration/PBX/Objects/New
- Enter vm-record as Long Name and Name.
- Enter 67 as Number
- Enter http://127.0.0.1/drive/CF0/vm/record.xml as URL.
Browse to the phone's Web UI: Configuration/RegistrationX/Recording
- As Mode enter manual.
- As Number enter 67.
Testing
Klaus is engaged in call.
- During the call press the redial-button. The phone's display should now indicate something like "Recording".
After the call has been finished Klaus calls his voicebox 6649. He enters main menu option 2. The recorded message should now be among the stored messages.