Skip to main content

sending a voicemail to multiple e-mails

Posted by Infotech2 on Tue, 09/29/2009

Did somebody has successfully make voicemail to send e-mails with attachement to multiple e-mails?

I tried with the sendmail and aliases configuration, and didn't worked, and still had the issue that thirdlane gui reject the settings on voicemail aliases that doesn't contain name@domain format, that cannot be used inside aliases.

So, any other workaround on this?

Thanks


Submitted by Infotech2 on Tue, 09/29/2009 Permalink

Yes, I have ip names correlated on /etc/hosts file. So, I'm using user@localhost and user is a two e-mails on /etc/aliases. Newaliases has been executed with no errors, and just in case I did a service sendmail restart.

If I leave a voicemail on the extension where user@localhost is the defined e-mail for voicemail, I don't receive anything.

Thanks for your help

Submitted by moshe on Tue, 09/29/2009 Permalink

as far as i know you could only send VM 2EM to a single email address if you want you could set a rule on your email server to forward a copy to multiple email address

Submitted by Infotech2 on Tue, 09/29/2009 Permalink

On a standard Asterisk version, you can put multiple e-mails separated by spaces and that works.

I don't know (and don't wont to modify Voicemail.conf by hand) how to modify Voicemail.conf can affect the Thirdlane add-on. If you try to do it from the GUI it reports as a wrong e-mail address type.

I don't know and I didn't found any specs about the Other Voicemail options since all the docs says is look at Asterisk. That doesn't help at all.

THanks

Submitted by eeman on Tue, 09/29/2009 Permalink

you've done something wrong then for sure because I am doing that at my house. My analog FXO port rings a ring group and if not answered goes to a mailbox extension

102 => xxxxxx,House Extension,housephones@myfqdn.org,,attach=yes|delete=no

in /etc/aliases I have

housephones: eeman@myworkemail.net,tina@myfqdn.org

did you look at your maillog to see what happened? This is more of a sendmail (or exim or postfix depending on distribution) issue as app_voicemail.so just executes sendmail for delivery.

have you tested with the mail command from shell?

you never mentioned what distribution you are using?

for some damn reason the ISO chose postfix which does not honor the etc/aliases. Granted postfix will out perform sendmail, exactly how much performance does one plan to saddle a PBX with? As an ISP we used sendmail as our core mail server from 1994 to 2002 with little issue. Considering the pbx is not designed to be a massive mail server, sendmail listening only on 127.0.0.1 would have been more than sufficient.

Submitted by Infotech2 on Wed, 09/30/2009 Permalink

Ok, About versions I have CentOS 5.2 x86_64, Asterisk 1.4.22, sendmail is using m4. And I'm guessing I have something wrong, but I didn't found it. Yes I tried from CLI, and it send both e-mails.

So, my guess was if there are an overriding on the Webmin GUI of the voicemail.conf, as can happen on realtime systems.

I'm not trying to do an SMTP or POP server, only need to send each voicemail to the original destination and a specific box for security reasons that needs to be storage (It is required by FDIC on this kind of companies).

Thanks

I'll check everything again

Submitted by eeman on Wed, 09/30/2009 Permalink

does the storage have to be local instead of on the remote mail server? In other words could you not run the alias on the fully qualified mail server instead of trying to do it locally? however, local delivery should still work.

Submitted by raven on Tue, 10/06/2009 Permalink

I never see this problem 'cause if my customer wants it sent to multiple targets, I have them provision a mail list or email aliases for a 'dummy address' that the system uses to send. Then I let them worry about the member list.