Howto:A Simple Recording Solution On-Top of The innovaphone Voicemail

From innovaphone wiki
Revision as of 16:04, 27 February 2009 by Tsr (talk | contribs) (→‎Applies To)
Jump to navigation Jump to search

Applies To

This information applies to

  • innovaphone PBX, V6,V7
  • innovaphone Voicemail 07-60044
  • all innovaphone Phones V6 and V7
  • innovaphone BRIA softphone

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" out-leg2="$leg2"/>
       <pbx-finduser-e164 e164="$cgpn" out-cn="$cn" />
       <if cond="$cn">
           <if cond="$leg2">
               <lib-strcat string="$cn" string2="/store" out-string="$sub" />
               <store-getnew root="$sub" out-url="$ctrl"/>
               <lib-strcat string="$ctrl" string2="-" out-string="$ctrl" />
               <lib-strcat string="$ctrl" string2="$leg2" out-string="$ctrl" />
               <lib-strcat string="$ctrl" string2=".g711a" out-string="$ctrl" />
           </if>
           <else>
               <lib-strcat string="$cn" string2="/store" out-string="$sub" />
               <store-getnew root="$sub" ext=".g711a" out-url="$ctrl"/>
           </else>
           <pbx-record url="$ctrl" barge-in="false"/>
       </if>
       <pbx-disc/>
   </function>

</voicemail>

Create a new Voicemail Object at Administration/PBX/Objects/New

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.

Known Problems

Related Articles

How to Configure the innovaphone Voicemail