TIPS Not receiving voicemail e-mail attachments from extentions

catch22tb

New Member
Joined
Apr 2, 2015
Messages
8
Reaction score
0
Has there been a resolution to this or has this issue been solved? I have experienced the same issue with my recently upgraded PIAF/FreePbx and seem to be running into the same issues.

To specify:
In the past week I upgraded to 2.11. Prior to upgrade, everything worked fine. I've been running my setup in Virtualbox in a Ubuntu server host. Voicemail email was being sent using the default sendmail to root@localhost with vm attachments, a procmail filter would detect the email based on the subject, take off the attachment then resend to a local alias I created (vmemail) which sends to 3 external email addresses only the notice that voice mail had arrived.

After upgrade this all stopped working, there was nothing in any log file to indicate that Freepbx was even attempting to send mail if a voice mail was left. Yet, sending mail from the command line worked with out problems to internal and external email addresses.

As a work around, I created a script to separately send an indication that voicemail had arrived and placed the command in externnotify. This script sends a local email to root@localhost that then sends to vmemail and my 3 external email addressed. This is working fine, except that there are no details of the voicemail in the message that the script sends (Vm length, caller id, etc)

I see another post on this thread had upgraded to Freepbx 12 and still has this issue with email. Hence, I have not upgraded further. Since I have found no log to indicate where the problem is, I am finding it difficult to troubleshoot this issue. Its as if Feeepbx does not even try to send any email upon a voice mail being left. Numerous searches on the internet describe a procedure to send the voice mail email to gmail, however, I want to keep the initial local method I previously had before.

I would be interested if there has been any progress on this.
Best regards,
 

atsak

Guru
Joined
Sep 7, 2009
Messages
2,381
Reaction score
436
Freepbx doesn't let you use root@localhost anymore, you have to use an FQDN. You can make a fake one in sendmail.
 

catch22tb

New Member
Joined
Apr 2, 2015
Messages
8
Reaction score
0
Thank you atsak.

It sounds like it is not possible to have Freepbx send a local email anymore? Is there some setting or some place in the code that this can be altered (to send a local email as I was before).

Best regards
 

atsak

Guru
Joined
Sep 7, 2009
Messages
2,381
Reaction score
436
You sort of can. Just configure the local mail server (postfix or whatever it is - I am feeling too lazy to look and don't do Linux mail every day) to "own" pbx.yourdomain.com and then setup the local aliases / mailing lists in postfix. You can do it through webmin even with less hassle. Then email from the freepbx interface to [email protected] and you're back to where you started. Just think of replacing localhost with an alias that takes the form of an FQDN.
 

dandy_don

Member
Joined
Sep 27, 2010
Messages
173
Reaction score
11
I didn't have much luck getting roadrunner to work. However, I followed these instructions to utilize my (almost-never used) gmail account to act as the relay host. Works great!

http://www.gnali.org/?p=123
 

catch22tb

New Member
Joined
Apr 2, 2015
Messages
8
Reaction score
0
Thanks Dandy_don. I had this working using my original setup to send local mail to root (back at the last post from atsak on 4/6), then it just stopped working. Not sure why it just stops working - I can't help but wonder if its a bug of some kind since I make no further changes after I get the voicemail email to work. Same problem as I previously described too - There is no log file that indicates that Freebpx is even attempting to send mail. It appears that Freepbx is not trying to send any mail at all. Also, my work around (placing a command in externnotify) also has stopped working. However, voice mail is still being sent to the appropriate mail box.

Strange and frustrating.
 

catch22tb

New Member
Joined
Apr 2, 2015
Messages
8
Reaction score
0
Updating...
I have the voicemail working again as before. Here is what I did. I don't know if any of this contributed to this working again. This is in addition to any comment I posted above.
(fyi, I am now running freepbx 12.0.54. I upgraded after my post above mentioning the voice mail to email stopped working again, figuring an upgrade couldn't hurt.)

- Using Webmin, I performed a system upgrade. This took a long time as I had a number of packages that were out of date.
- Using Webmin, Networking, Network Configuration, Hostname and DNS Client. I changed my host name to pbx.local.net
- Rebooted.

Everything working again - When a voice mail is recieved, FreePBX sends a local notification email to [email protected] with the voice message attached. This triggers a procmail recipe to take off the attachment and send the email message to an alias called vmemail which is setup to email to 3 external email addresses. I have sendmail setup to use my roadrunner smtp address to send out going messages.

Perhaps it was all in the system upgrade and hostname.

I'll re-post if this stops working again.
 

catch22tb

New Member
Joined
Apr 2, 2015
Messages
8
Reaction score
0
The voicemail to email setup I had stopped working when I tested it this morning. After a reboot, it was working again.
There was nothing in the maillog to indicate that Freepbx was even attempting to send an email, when this wasn't working, just as before.

I'm open to suggestions on where and what to look for in which log file to find out what is going on when the voicemail to email ceases to function. Since this works after a reboot, I'm thinking there must be some process that fails later on that affects voicemail to email notification, yet the rest of FreePbx works fine (meaning - the system accepts calls, allows calls, accepts and keeps voicemail).
 

atsak

Guru
Joined
Sep 7, 2009
Messages
2,381
Reaction score
436
It was in the hostname. Had nothing to do with the upgrade. Are you short on disk space or memory or something more mundane like this?
 

catch22tb

New Member
Joined
Apr 2, 2015
Messages
8
Reaction score
0
It would be great if it is mundane, that would be easy to address. I have a 13.5 gb virtual machine with only 6gb used. there is 1gb of ram and 768 mb of swap. This seems adequate, no?

I do recall, before I upgraded when the Freepbx landing page displayed the memory usage - after a while the memory and swap would be >90% used and in the red. However, the email notification would still work fine.

As I write this, the uptime is 43 min, with CPU load of 0.02, ~ 275 /1000 mb real mem used and no virtual memory used (From webmin). This is a little different using the top command. Mem is ~ 500/1000 used.

I'll watch the memory and test the voice mail towards the end of the day if the memory is showing it is running low. The host machine has 3.2/4 gb memory used, but it runs everything (calendar, vpn, couple other low resource programs) without a problem and I'm not aware that it would impact the VM Freepbx solely where I'm seeing the problem.
 

atsak

Guru
Joined
Sep 7, 2009
Messages
2,381
Reaction score
436
No, 1GB isn't enough. Try upping it to 2. Weird stuff happens.
 

catch22tb

New Member
Joined
Apr 2, 2015
Messages
8
Reaction score
0
Thanks. I was able to spare 1.75 gb from the host machine. I'll watch and see what happens and place an order from some ram for the host.

Best regards
 

catch22tb

New Member
Joined
Apr 2, 2015
Messages
8
Reaction score
0
Resolution, solved - After a few weeks of making sure the additional ram was the issue, I can confirm that increasing the ram to 2gb (actual is 2.1gb) there are no more problems with voicemail notifications being sent, everything works. Thank you.
 

Members online

Forum statistics

Threads
25,782
Messages
167,509
Members
19,203
Latest member
frapu
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