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

From innovaphone wiki
Revision as of 17:47, 28 March 2012 by Kwa (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 relative Wiki article. Some customer anyway don’t wont saving 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 with the phone your VM 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 you Email account.

But be aware that Email is unsaved, 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. In this region your 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>

...

Ente 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.


Known Problems

If the Email fails, no message.


Howto:Configure_the_innovaphone_Voicemail