Picture of Aaltjan 171
Registered 13 years 123 days
Aaltjan 171 Thursday, 28 April 2016, 12:37 PM
Voicemail email MWI sender id
Hello All,

When using the email.xml for sending the MWI a from email adres, subject with number and a body is send to the Email / URL of the user object.

When using the voicemail as a awnsering machine you would like to know what object the MWI was from if you use the same email adres to send it to.

I would like to request that the Sender ID of the object (Long name, name or e164) could be added to the email.


Picture of Aaltjan 171
Registered 13 years 123 days
Aaltjan 171 Tuesday, 3 May 2016, 10:10 AM
Re: Voicemail email MWI sender id
Made a addition to the email.xml to add the info:

<assign out="$subject" value="You recieved a voicemail from: "/>
<assign out="$body" value="This voicemail is in the voicemail box of: "/>

<!--Now send the email-->
<exec url="mailto:$to?from=$to&amp;subject=$subject&amp;subject=$cgpn&amp;srv=$server&amp;usr=$user&amp;pwd=$password&amp;body=$body&amp;body=$cdpn&amp;body= &amp;body=$cn&amp;file=$file"/>

Now the voicemail email has text in the body:

This voicemail is in the voicemail box of: 470 Aaltjan Evink
Picture of Aaltjan 171
Registered 13 years 123 days
Aaltjan 171 Tuesday, 3 May 2016, 10:43 AM
Re: Voicemail email MWI sender id
I also added a extra line with the text:
To listen to this voicemail call: (voicemailnumber)

But how do i do a line break in the body text?
Picture of Christoph Künkel (innovaphone)
Moderator Registered 15 years 125 days
Christoph Künkel (innovaphone) Monday, 9 May 2016, 07:13 PM
Re: Voicemail email MWI sender id
well, I guess it should work with &body=first-line%0Asecond-line in the URL part. Never tried it though.

Will be a bit tricky as you have to XML encode the URL also...

smile Christoph
Picture of mabu
Registered 10 years 35 days
mabu Thursday, 26 May 2016, 10:50 AM
Re: Voicemail email MWI sender id
Has someone tried this with this Linebreak in URL?

I`m at the same point in email.xml right now. Will test it but don´t really have a clue how it should look like in the url.

This is my part so far:
url="mailto:$to?from=$to&subject=$ename&subject=$subject&body=$body&body=$cgpn&srv=$server&usr=$user&pwd=$password&file=$file">


So far the body in a mail looks like this: Sprachnachricht von 60225


Martin
Picture of Christoph Künkel (innovaphone)
Moderator Registered 15 years 125 days
Christoph Künkel (innovaphone) Friday, 27 May 2016, 09:32 AM
Re: Voicemail email MWI sender id
did you try the %0A trick? I think this should be transparent to XML, so the attribute value should be something like

&amp;body=first-line%0Asecond-line

in the script.
Picture of mabu
Registered 10 years 35 days
mabu Friday, 27 May 2016, 10:13 AM
Re: Voicemail email MWI sender id
I read about this part but really don´t have a clue how to get it right into the line.

My line right now is:

url="mailto:$to?from=$to&amp;subject=$ename&amp;subject=$subject&amp;body=$body1&amp;body=$cgpn&amp;body=$body2&amp;body=$nummer&amp;body=$body3&amp;body=$body4&amp;body=$body5&amp;srv=$server&amp;usr=$user&amp;pwd=$password&amp;file=$file"

I used a couple of body-Variables to get the text I want into the e-mail.

So far the body now is "Sprachnachricht von 60xxx -- Zum Abhoeren die xxx anrufen. - Bei Rueckfragen Herrn bbbbb unter 60yyy anrufen.*** erzeugt vom innovaphone Voicemail-System ***"

I would like to have at least two line breaks. My test with %0A only lead to "Sprachnachricht von 00" wink


Martin



Picture of Henning 1803
Registered 10 years 269 days
Henning 1803 Monday, 6 March 2017, 02:30 PM
Re: Voicemail email MWI sender id
Hello 

are any solutions available for this problem?

Henning
← You can define your color theme preference here