SOLVED IncrediblePBX 13 - voicemail to email

Brianmac

Active Member
Joined
Oct 7, 2014
Messages
598
Reaction score
177
I have a new install on Vultr. I asked them to unblock port 25(they did). I am still confused on getting this to work. I shouldn't need to do a relay and i thought you can email directly from the PBX?

does this work out of the box, or do you need to fo some configuration? Again, port 25 is not being blocked?

Thanks for any help you may provide!
Brian
 

Brianmac

Active Member
Joined
Oct 7, 2014
Messages
598
Reaction score
177
ok, i installed postfix and can send email from commandline(e.g. mail [email protected]). When i leave a voicemail to an extension, the email is never sent. I am using the same to email address that works in the commandline. I doublechecked the email on the voicemail tab in extensions...

any thoughts?
thanks,
Brian
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,206
Reaction score
5,228
What platform are you on and which version of Incredible PBX 13 are you running? Are you sending to a Gmail address??
 

Brianmac

Active Member
Joined
Oct 7, 2014
Messages
598
Reaction score
177
sorry ward!!!

Incredible PBX 13-13.3 for Centos 6
asterisk 13.18.5
incredible 13.0.120.10
centos 6.9
 

Brianmac

Active Member
Joined
Oct 7, 2014
Messages
598
Reaction score
177
Code:
 Incredible PBX/FAX 13-13.3 for CentOS 6

                 Asterisk: UP      Apache: UP    MySQL: UP
                 SendMail: UP    IPtables: UP      SSH: UP
                 LAN port: UP    Fail2Ban: UP   Webmin: UP
                 GV OAUTH: UP   PortKnock: DN   NR VPN: UP
                 FaxGetty: DN   IAX Modem: DN  HylaFax: DN

                 RAM:149MB CentOS release 6.9  Disk:17GB

                 Asterisk 13.18.5    Incredible 13.0.120.10

                  Private IP: x.x.x.x

                 Public Info: x.x.x.x

                 System Time: Thu Jan 18 12:28:39 EST 2018

                                 <  OK  >
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,206
Reaction score
5,228
Google now blocks incoming email messages without Reverse DNS and PTR record.

I don't know the Postfix app, but one solution with the default SendMail app is to simply enable incoming mail delivery to your server which seems to satisfy Google.

Edit /etc/mail/sendmail.mc.

Change:
Code:
DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
to:
Code:
dnl # DAEMON_OPTIONS(`Port=smtp,Addr=127.0.0.1, Name=MTA')dnl
FEATURE(`dnsbl',`dnsbl.njabl.org',`"550 Mail from " $&{client_addr} " rejected - see http://njabl.org/"')dnl
Change:
Code:
FEATURE(`accept_unresolvable_domains')dnl
to:
Code:
dnl # FEATURE(`accept_unresolvable_domains')dnl
Save the file and then:
Code:
make
service sendmail restart

Then enable TCP port 25 in /etc/sysconfig/iptables and restart IPtables: iptables-restart

Now test sending a message to yourself and be sure to check your spam folder:
Code:
echo "test" | mail -s testmessage [email protected]

Be sure to also check that your server is not an open mail relay.
 

Brianmac

Active Member
Joined
Oct 7, 2014
Messages
598
Reaction score
177
Ward thank you!
But, if i run the command "mail [email protected]"
"some subject"
"some body message"
"."
I get EOT

I do get the email in my gmail inbox. When I leave a voicemail to an extension(i only have 1 right now for testing), and in the extension voicemail tab, i have the same gmail account, it do not get the email....

thanks,
Brian
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,206
Reaction score
5,228
You'll have to check the email log in /var/log to see what's going on. We don't support Postfix so I'm not going to be much help. Sorry.
 

kyle95wm

Phone Genius Owner
Joined
Apr 16, 2016
Messages
520
Reaction score
90
I see OP is not the only one with this problem. I had to switch back to 13-12 for my production system so that my customers can receive emails.
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,206
Reaction score
5,228
This may be configured to use IBM transcription. Have you inserted your STT credentials?
 

Brianmac

Active Member
Joined
Oct 7, 2014
Messages
598
Reaction score
177
ok, created another server on Vultr, everything is working fine with regards to voicemail to email. I have two questions:
The email comes in with a heading:
PBX Phone System <[email protected]>
I would like the email to come from MY gmail address., so it would look like this:

PBX Phone System <[email protected]>

Can this be done easily or should i just leave well alone?
Thanks for ALL the help!
brian
 

mainenotarynet

Not really a Guru - Just a long time user
Joined
May 29, 2010
Messages
754
Reaction score
155
/etc/hosts - change your hostname on the first 2 lines (one in IPv4 the second ::1 is IPv6)
save file and reboot.

What the Voicemail does is use asterisk as the user at the hostname and from what you show above, you didn't set one (either on Vultr's control panel or by the file I mention in this post)

This is what I did and it worked.

Oops I did not read carefully enough - I don't think you can unless you use a Gmail relay (because Gmail will put [email protected] ON BEHALF OF [email protected]) I do not use Gmail as a relay so I could be wrong here too.
 

Brianmac

Active Member
Joined
Oct 7, 2014
Messages
598
Reaction score
177
worked perfectly, also changed in etc/sysconfig/network
Thanks!!!!
brian

PS - not using gmail at all now...
 

wardmundy

Nerd Uno
Joined
Oct 12, 2007
Messages
19,206
Reaction score
5,228
ward, was that last response for this thread?

It was for this thread. I can't remember how the email forwarding was set up and whether it used IBM's STT engine for transcription. It might not matter though. You still should get the email.
 

Brianmac

Active Member
Joined
Oct 7, 2014
Messages
598
Reaction score
177
Thank you, i must have fowled up something, i reloaded a new server from scratch and all working well. Next step is to actually use my gmail account, so i can keep records of the voicemail for reference. This is just going to be used for an after hours hotline...
 

kmcdaniel

Member
Joined
Jan 23, 2008
Messages
427
Reaction score
19
You'll have to check the email log in /var/log to see what's going on. We don't support Postfix so I'm not going to be much help. Sorry.
I am having the same issue on a new install on Vultr. 13-13.7 Centos 6.9 Enchilada. In fact, echo "test" | mail -s testmessage [email protected] does not work even with non-gmail addresses?

* I did add DSsmtp.comcast.net to the sendmail.cf file.

Webmin states that "Deferred: Connection timed out with smtp.comcast.net" I'm guessing this means I need to contact support to unblock port 25?
 
Last edited:

Members online

Forum statistics

Threads
25,824
Messages
167,830
Members
19,249
Latest member
jetest
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Top