How to Voicemail to email ...

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

How to Voicemail to email ...

Postby iboam » Mon Jun 20, 2016 4:00 pm

Hi friends, i need some help sending voicemail to email. i created the extension with my email on it, but cant receive anything on my mailbox. Do i have to setup anything with yast ??
ViciBox: 11 | VERSION: 2.14-897a BUILD: 230927-0857 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 258
Joined: Mon Feb 08, 2016 2:35 pm

Re: How to Voicemail to email ...

Postby williamconley » Mon Jun 20, 2016 4:21 pm

look in /var/log/mail
see if its trying to mail
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: How to Voicemail to email ...

Postby iboam » Mon Jun 20, 2016 4:46 pm

i just realized that from it's does not have my domain name complete ....

Code: Select all
Jun 20 17:23:35 hosted qmgr[1396]: 5F7A7243E48: from=<root@subdomain.domain>, size=15263, nrcpt=1 (queue active)
Jun 20 17:24:05 hosted smtp[20722]: connect to mx-eu.mail.am0.yahoodns.net[188.125.69.79]:25: Connection timed out
Jun 20 17:24:05 hosted smtp[20722]: 5F7A7243E48: to=<email@yahoo.com>, relay=none, delay=3281, delays=3250/0.03/30/0, dsn=4.4.1, status=deferred (connect to mx-eu.mail.am0.yahoodns.net[188.125.69.79]:25: Connection timed out)
ViciBox: 11 | VERSION: 2.14-897a BUILD: 230927-0857 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 258
Joined: Mon Feb 08, 2016 2:35 pm

Re: How to Voicemail to email ...

Postby williamconley » Mon Jun 20, 2016 4:51 pm

Either it can not reach that IP (perhaps you're blacklisted or NOT whitelisted or bad DNS?) or your ISP is blocking port 25. If so, you'll need to set postfix to relay through an actual email account. If your ISP allows it, you may be able to use their outbound smtp email relay. If not, you can use just about any mail service at which you have an account. Most will require a login to send the mail out, except (possibly) your ISP who may assume based on your IP address that you are "you" and allow without user/pass authentication.

So now your question is "postfix mail forwarding" which is not a Vicidial question. Although there may be some posts for setting up postfix to mail relay on this board, there are many more places for this elsewhere on the web. And your best bet would be to get specific instructions for OpenSuSE Postfix mail forwarding if you use Vicibox. Not hard, but very technical. 8-)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: How to Voicemail to email ...

Postby iboam » Mon Jun 20, 2016 4:56 pm

i change my hostname on yast lan and added the .com
this is my log from /var/log/mail

Code: Select all
Jun 20 17:52:21 hosted smtp[2546]: connect to mx-eu.mail.am0.yahoodns.net[188.125.69.79]:25: Connection timed out
Jun 20 17:52:21 hosted smtp[2546]: 301F3243E51: to=<email@yahoo.es>, relay=none, delay=30, delays=0.03/0.01/30/0, dsn=4.4.1, status=deferred (connect to mx-eu.mail.am0.yahoodns.net[188.125.69.79]:25: Connection timed out)
Jun 20 17:54:23 hosted pickup[2135]: 76672243E55: uid=0 from=<root>
Jun 20 17:54:23 hosted cleanup[2870]: 76672243E55: message-id=<Asterisk-1-70389154-1000-2181@hosted>
Jun 20 17:54:23 hosted qmgr[2136]: 76672243E55: from=<root@sub.domain.com>, size=11434, nrcpt=1 (queue active)


i found this ... https://www.howtoforge.com/tutorial/con ... ail-relay/ it's what i need ??
ViciBox: 11 | VERSION: 2.14-897a BUILD: 230927-0857 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 258
Joined: Mon Feb 08, 2016 2:35 pm

Re: How to Voicemail to email ...

Postby williamconley » Mon Jun 20, 2016 5:00 pm

Neither of which is likely related to "they didn't answer you". You're sending a request. They are ignoring you ... OR they are never getting the request. Nothing you change on your end is going to fix that unless there is a port blockage in your firewall.

So you have to send your request through a real mail service, most likely. Especially if your ISP is blocking port 25.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: How to Voicemail to email ...

Postby iboam » Wed Jun 22, 2016 9:56 am

My server is local, port 25 it's not blocked by the firewall, before setup email under extensions or voicemail there is any missing step ?? this is the 4th server i have installed and i have never get the voicemail to email on any. Thanks in advance
ViciBox: 11 | VERSION: 2.14-897a BUILD: 230927-0857 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 258
Joined: Mon Feb 08, 2016 2:35 pm

Re: How to Voicemail to email ...

Postby williamconley » Wed Jun 22, 2016 9:35 pm

"my server is local" and "port 25 is not blocked". These are unrelated statements, but you put them next to each other and I get the impression you think that they are related. So let's explore this a bit more ...

How do you know that port 25 outbound is not blocked?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Solved

Postby iboam » Thu Jun 23, 2016 2:48 pm

1- Yast
2- Network Services -> Mail Server
3- Outgoing Mail Server
4- Connection Type -> Permanent -> Next -> Next
5- Open Port in Firewall -> X
6- Finish
7- Quit
8- open /etc/asterisk/voicemail.conf and add/edit this lines under [general]

serveremail=from@email.com
fromstring= Sender Name
emailsubject = New message from ${VM_CALLERID}


8- Create new Voicemail in Vicidial
Admin -> Voicemail -> Add A New Voicemail Entry
Voicemail ID: New Voicemail id (Cant use an existing phone extension)
Email: your@email.com
Active: Y


Admin -> Phones -> Edit Phone
Email: your@email.com
ViciBox: 11 | VERSION: 2.14-897a BUILD: 230927-0857 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 258
Joined: Mon Feb 08, 2016 2:35 pm

Re: How to Voicemail to email ...

Postby iboam » Fri Jul 15, 2016 11:28 am

Just deployed a new server, followed same steps and voicemail to email not working

1- Yast
2- Network Services -> Mail Server
3- Outgoing Mail Server -> mail.domain.com
4- Authentication -> Outgoing Mail Server = mail.domain.com / username = voicemail@domain.com / password = XXXXXX
4- Connection Type -> Permanent -> Next -> Next
5- Open Port in Firewall -> X
6- Finish
7- Quit
8- open /etc/asterisk/voicemail.conf and add/edit this lines under [general]

serveremail=voicemail@domain.com
fromstring= Sender Name
emailsubject = New message from ${VM_CALLERID}


7- Create new Voicemail in Vicidial
Admin -> Voicemail -> Add A New Voicemail Entry
Voicemail ID: New Voicemail id (Cant use an existing phone extension)
Email: your@email.com
Active: Y


Admin -> Phones -> Edit Phone
Email: your@email.com

/var/log/mail
Jul 15 12:13:44 hosted smtp[6050]: 918B040A6D: to=<your@email.com>, relay=none, delay=2181, delays=2151/0.02/30/0, dsn=4.4.1, status=deferred (connect to mail.domain.com[XXX.XXX.XXX.XXX]:25: Connection timed out)

Any help ??
ViciBox: 11 | VERSION: 2.14-897a BUILD: 230927-0857 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 258
Joined: Mon Feb 08, 2016 2:35 pm

Re: How to Voicemail to email ...

Postby iboam » Mon Jul 18, 2016 11:24 am

please help, i just disabled the internal firewall but nothing works
ViciBox: 11 | VERSION: 2.14-897a BUILD: 230927-0857 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 258
Joined: Mon Feb 08, 2016 2:35 pm

Re: How to Voicemail to email ...

Postby williamconley » Mon Jul 18, 2016 11:23 pm

Have you verified the mail is being generated? /var/log/mail ...
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: How to Voicemail to email ...

Postby iboam » Tue Jul 19, 2016 8:58 am

Jul 19 09:31:16 hosted smtp[19082]: connect to mx-eu.mail.am0.yahoodns.net[188.125.69.79]:25: Connection timed out
Jul 19 09:31:16 hosted smtp[19083]: connect to mx-eu.mail.am0.yahoodns.net[188.125.69.79]:25: Connection timed out
Jul 19 09:31:16 hosted smtp[19082]: 5011940AF2: to=<email@yahoo.es>, relay=none, delay=330546, delays=330516/0.02/30/0, dsn=4.4.1, status=deferred (connect to mx-eu.mail.am0.yahoodns.net[188.125.69.79]:25: Connection timed out)
Jul 19 09:31:16 hosted smtp[19083]: 5916940B59: to=<email@yahoo.es>, relay=none, delay=83033, delays=83003/0.01/30/0, dsn=4.4.1, status=deferred (connect to mx-eu.mail.am0.yahoodns.net[188.125.69.79]:25: Connection timed out)
Jul 19 09:31:16 hosted smtp[19084]: connect to mx-eu.mail.am0.yahoodns.net[188.125.69.79]:25: Connection timed out
Jul 19 09:31:16 hosted smtp[19085]: connect to mx-eu.mail.am0.yahoodns.net[188.125.69.79]:25: Connection timed out
Jul 19 09:31:16 hosted smtp[19084]: 3171940B16: to=<email@yahoo.es>, relay=none, delay=324108, delays=324078/0.02/30/0, dsn=4.4.1, status=deferred (connect to mx-eu.mail.am0.yahoodns.net[188.125.69.79]:25: Connection timed out)
Jul 19 09:31:16 hosted smtp[19086]: connect to mx-eu.mail.am0.yahoodns.net[188.125.69.79]:25: Connection timed out
Jul 19 09:31:16 hosted smtp[19085]: 6A9AA40AFF: to=<email@yahoo.es>, relay=none, delay=324667, delays=324637/0.02/30/0, dsn=4.4.1, status=deferred (connect to mx-eu.mail.am0.yahoodns.net[188.125.69.79]:25: Connection timed out)
Jul 19 09:31:16 hosted smtp[19086]: 6E16640B1E: to=<email@yahoo.es>, relay=none, delay=323528, delays=323498/0.03/30/0, dsn=4.4.1, status=deferred (connect to mx-eu.mail.am0.yahoodns.net[188.125.69.79]:25: Connection timed out)
Jul 19 09:50:46 hosted qmgr[1409]: 8251640B2A: from=<root@linux.local>, size=25237, nrcpt=1 (queue active)
Jul 19 09:51:16 hosted smtp[21893]: connect to mx-eu.mail.am0.yahoodns.net[188.125.69.79]:25: Connection timed out
Jul 19 09:51:16 hosted smtp[21893]: 8251640B2A: to=<email@yahoo.es>, relay=none, delay=320136, delays=320106/0.01/30/0, dsn=4.4.1, status=deferred (connect to mx-eu.mail.am0.yahoodns.net[188.125.69.79]:25: Connection timed out)
ViciBox: 11 | VERSION: 2.14-897a BUILD: 230927-0857 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 258
Joined: Mon Feb 08, 2016 2:35 pm

Re: How to Voicemail to email ...

Postby williamconley » Tue Jul 19, 2016 11:05 am

This would be an issue to take to a postfix forum. Your server is trying to send to a mail service but is not connecting. It's possible that you're being ignored and it's likely that port 25 is blocked for outbound traffic. So you'll probably need to configure postfix to send through a mail relay using a different port. Gmail, Yahoo, etc., all have alternate ports.

But this is not related to Vicidial or asterisk (as they are in fact generating the email as they should!)

Not difficult, nor particularly expensive. But not related to Vicidial. You're much more likely to find your answer on a forum specifically for this topic (postfix, for instance). 8-)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: How to Voicemail to email ...

Postby iboam » Tue Jul 19, 2016 11:58 am

i remember i had same issue before and did dis steps ans it solved

Code: Select all
1- Yast
2- Network Services -> Mail Server
3- Outgoing Mail Server
4- Connection Type -> Permanent -> Next -> Next
5- Open Port in Firewall -> X
6- Finish
7- Quit
8- open /etc/asterisk/voicemail.conf and add/edit this lines under [general]

serveremail=from@email.com
fromstring= Sender Name
emailsubject = New message from ${VM_CALLERID}


8- Create new Voicemail in Vicidial
Admin -> Voicemail -> Add A New Voicemail Entry
Voicemail ID: New Voicemail id (Cant use an existing phone extension)
Email: your@email.com
Active: Y


Admin -> Phones -> Edit Phone
Email: your@email.com


But now it's not working, maybe i miss to save all steps ...
ViciBox: 11 | VERSION: 2.14-897a BUILD: 230927-0857 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 258
Joined: Mon Feb 08, 2016 2:35 pm

Re: How to Voicemail to email ...

Postby williamconley » Tue Jul 19, 2016 12:20 pm

Possible: I don't see a "from" in your log file. Perhaps if you were to ask a postfix forum ... LOL
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: How to Voicemail to email ...

Postby iboam » Thu Jul 21, 2016 9:36 am

Jul 21 10:34:30 hosted pickup[12599]: 5E88B40B0D: uid=0 from=<root>
Jul 21 10:34:30 hosted cleanup[12820]: 5E88B40B0D: message-id=<Asterisk-1-1776767561-1000-1479@hosted>
Jul 21 10:34:30 hosted qmgr[12600]: 5E88B40B0D: from=<root@hosted.pbxautodialer.com>, size=16895, nrcpt=1 (queue active)
Jul 21 10:35:00 hosted smtp[12824]: connect to mail.cloudpbx4business.com[192.254.236.174]:25: Connection timed out
Jul 21 10:35:00 hosted smtp[12824]: 5E88B40B0D: to=<info@cloudpbx4business.com>, relay=none, delay=30, delays=0.02/0.01/30/0, dsn=4.4.1, status=deferred (connect to mail.cloudpbx4business.com[192.254.236.174]:25: Connection timed out)

i performed a telnet 192.254.236.174 25 and still Trying 192.254.236.174...
ViciBox: 11 | VERSION: 2.14-897a BUILD: 230927-0857 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 258
Joined: Mon Feb 08, 2016 2:35 pm

Re: How to Voicemail to email ...

Postby williamconley » Thu Jul 21, 2016 9:48 am

In which case, your server is attempting to connect and being ignored OR the packets are being blocked. See my earlier response, you should be working with a Postfix forum to work your way through this outbound email issue. Postfix is not difficult, but it's not Vicidial. We do this all the time, but every email provider has their own ports and setup and in a postfix forum this gets easier.

8-)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: How to Voicemail to email ...

Postby iboam » Thu Jul 21, 2016 11:21 am

You have new mail in /var/mail/root

####################################################################
# THIS IS A WARNING ONLY. YOU DO NOT NEED TO RESEND YOUR MESSAGE. #
####################################################################

Your message could not be delivered for more than 1 hour(s).
It will be retried until it is 5 day(s) old.

For further assistance, please send mail to postmaster.

If you do so, please include this problem report. You can
delete your own text from the attached returned message.

The mail system

<info@cloudpbx4business.com>: connect to
mail.cloudpbx4business.com[192.254.236.174]:25: Connection timed out

--5E88B40B0D.1469117437/hosted.pbxautodialer.com
Content-Description: Delivery report
Content-Type: message/delivery-status

Reporting-MTA: dns; hosted.pbxautodialer.com
X-Postfix-Queue-ID: 5E88B40B0D
X-Postfix-Sender: rfc822; root@hosted.pbxautodialer.com
Arrival-Date: Thu, 21 Jul 2016 10:34:30 -0400 (EDT)

Final-Recipient: rfc822; info@cloudpbx4business.com
Action: delayed
Status: 4.4.1
Diagnostic-Code: X-Postfix; connect to
mail.cloudpbx4business.com[192.254.236.174]:25: Connection timed out
Will-Retry-Until: Tue, 26 Jul 2016 10:34:30 -0400 (EDT)

--5E88B40B0D.1469117437/hosted.pbxautodialer.com
Content-Description: Undelivered Message Headers
Content-Type: text/rfc822-headers
Content-Transfer-Encoding: 8bit

Return-Path: <root@hosted.pbxautodialer.com>
Received: by hosted.pbxautodialer.com (Postfix, from userid 0)
id 5E88B40B0D; Thu, 21 Jul 2016 10:34:30 -0400 (EDT)
Date: Thu, 21 Jul 2016 10:34:30 -0400
From: "Cloud PBX Voicemail" <voicemail@cloudpbx4business.com>
To: "Cloud PBX Voicemail" <info@cloudpbx4business.com>
Subject: New message from +17863251053
Message-ID: <Asterisk-1-1776767561-1000-1479@hosted>
X-Asterisk-CallerID: +17863251053
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----voicemail_110001479305294054"

--5E88B40B0D.1469117437/hosted.pbxautodialer.com-
ViciBox: 11 | VERSION: 2.14-897a BUILD: 230927-0857 | Clusters: 1 DB-WEB-ASTX | SSL | WebRTC | Wallboard | DNC Nightly Scrubber
iboam
 
Posts: 258
Joined: Mon Feb 08, 2016 2:35 pm

Re: Solved

Postby susam » Tue Feb 27, 2018 12:59 pm

iboam wrote:1- Yast
2- Network Services -> Mail Server
3- Outgoing Mail Server
4- Connection Type -> Permanent -> Next -> Next
5- Open Port in Firewall -> X
6- Finish
7- Quit
8- open /etc/asterisk/voicemail.conf and add/edit this lines under [general]

serveremail=from@email.com
fromstring= Sender Name
emailsubject = New message from ${VM_CALLERID}


8- Create new Voicemail in Vicidial
Admin -> Voicemail -> Add A New Voicemail Entry
Voicemail ID: New Voicemail id (Cant use an existing phone extension)
Email: your@email.com
Active: Y


Admin -> Phones -> Edit Phone
Email: your@email.com


---------------------------------------------------------------------------------------------------------------------------------

I could not find this option in vicidial 8.0.1. Network Services -> Mail Server
how too get this option
susam
 
Posts: 30
Joined: Wed Oct 11, 2017 9:27 am

Re: How to Voicemail to email ...

Postby williamconley » Tue Feb 27, 2018 1:09 pm

Vicibiox 8 moved some things around due to the new yast/OpenSuse menus. Wander around in that menu (or check an OpenSuSE forum!). I bet you find it.

Post the result here for the next tech! I'll give you karma. 8-)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: How to Voicemail to email ...

Postby shanepearce » Wed May 09, 2018 11:23 pm

i couldnt find the "mail server" option too.

So i did a bit of digging and did the following and it appeared.

Code: Select all
zypper in imap postfix fetchmail yast2-mail


After that completes, you should have the basic components for what you want.
You should now be able to open YAST and see an applet "Mail Server" in the Network Services category.
Use that to configure your mail server, if necessary

hope this helps someone in the future.
shanepearce
 
Posts: 23
Joined: Mon Nov 28, 2016 3:50 pm


Return to Support

Who is online

Users browsing this forum: Bing [Bot], Majestic-12 [Bot] and 152 guests