Howto:Send Email from the innovaphone Voicemail without saving data on the CF

From innovaphone wiki
Jump to navigation Jump to search

Applies To

This information applies to

innovaphone PBX V9


More Information

How to convert a voicemail in an email is described in the related Wiki article. Some customer anyway don’t want to save the voice messages on the CF. In fact after transmitting the audio file to the Email server the audio file is still there and saved on the CF, and if you check your voice mails using the phone you will hear that there are x new messages.

If you add just two lines in the script no files will be saved anymore on the CF, so the messages are just transmitted to your Email account.

But be aware that Email is unsafe, and if for any reason the Email is not successfully transmitted the message is lost.

This info will show you how to modify the VM.xml script file.

Configuration

Copy the file to your PC and open it with the editor. Do the modifications as show, save the file and copy it back. Try it, done.

The modification is at the end of the script, around line 886 (depending on the version of the script, the exact line may differ). In this region you will see the following code:

 <event type="call-end">
   <if cond="$vm">
      <store-get root="" name="email.xml" out-url="$suburl" />
      <call name="Subscript"/>
   </if>
 </event>

Enter just the following two additional lines:

<assign out="$url" value="$vm"/> 
<store-del url="$url"/>


in this way:


 <event type="call-end">
   <if cond="$vm">
      <store-get root="" name="email.xml" out-url="$suburl" />
      <call name="Subscript"/>
      <assign out="$url" value="$vm"/> 
      <store-del url="$url"/> 
   </if>
 </event>

Now no more message files are stored on the CF.

You can also disable the message waiting indication shown on the phone if this is annoying for the users reading their voice messages via email. For this, you need to remove the call to

<pbx-mwi/>

(this should be around line 58).

Known Problems

If the Email fails, no message.


Related Articles

Howto:Configure_the_innovaphone_Voicemail