News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

VoIP with LMCE

Started by nosebreaker, December 02, 2008, 05:45:38 PM

Previous topic - Next topic

donpaul

Yes, you can use the postfix aliases to do that. make sure this is in main.cf:
  alias_maps = hash:/etc/postfix/aliases

then add this to /etc/postfix/aliases:
  email: email@email.com, 2ndemail@email.com

then run:
  postmap /etc/postfix/aliases

restart postfix:
  /etc/init.d/postfix restart

now send voicemail emails to email@dcerouter

That is duct taping - but it works.

dlewis

Quote from: donpaul on March 31, 2009, 11:10:33 PM
Yes, you can use the postfix aliases to do that. make sure this is in main.cf:
  alias_maps = hash:/etc/postfix/aliases

then add this to /etc/postfix/aliases:
  email: email@email.com, 2ndemail@email.com

then run:
  postmap /etc/postfix/aliases

restart postfix:
  /etc/init.d/postfix restart

now send voicemail emails to email@dcerouter

That is duct taping - but it works.

Please add to the wiki :)

krys

Quote from: dlewis on March 31, 2009, 11:13:18 PM
Quote from: donpaul on March 31, 2009, 11:10:33 PM
Yes, you can use the postfix aliases to do that. make sure this is in main.cf:
  alias_maps = hash:/etc/postfix/aliases

then add this to /etc/postfix/aliases:
  email: email@email.com, 2ndemail@email.com

then run:
  postmap /etc/postfix/aliases

restart postfix:
  /etc/init.d/postfix restart

now send voicemail emails to email@dcerouter

That is duct taping - but it works.

Please add to the wiki :)

Sorry I keep giving you all this extra wiki work....  ;)

dlewis

We're trying to do a campaign to update our wiki... We need to constantly grow our knowledge-base :)

donpaul

lol. I'll add it once it's verified working.

krys

Donpaul,
You dont happen to have any experience setting up a VPN on the core do you? I tried that one last week using openVPN but ran into some dead ends.

Techstyle

Donpaul,

Good work, the script works great!!

All,

1) The message caller hear when voicemail picks up is very simple - please leave a message after the tone.  I don't need to add a complex menu system but how do I change that message to one I have uploaded to the 'system recordings' page?

2) (Minor) Is it possible to get the e-mail sent from the name on the account instead of 'Asterisk PBX'?  When the account was entered into the script the 'full name' was asked for but when the mail arrives it comes from Asterisk.  Also is it possible to edit the standard e-mail from Asterisk?

Thanks
Techstyle UK Ltd
[url=http://www.techstyleuk.co.uk]http://www.techstyleuk.co.uk[/url]

Techstyle US Inc.
[url=http://www.techstyleus.com]http://www.techstyleus.com[/url]

Marie.O

Quote from: Techstyle on April 22, 2009, 04:01:57 AM
Also is it possible to edit the standard e-mail from Asterisk?

Yes. Look at /etc/asterisk/vm_email.inc That file looks like it might help you.
If I helped you, feel free to buy me a coffee: [url="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES"]https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=2VKASZLTJH7ES[/url]

Che

Why does LMCE have to be so good? Damned developers, always making things better, and causing me to fall in love with LMCE all over again!

dlewis

Quote from: Che on April 22, 2009, 09:56:58 PM
Why does LinuxMCE have to be so good? Damned developers, always making things better, and causing me to fall in love with LinuxMCE all over again!

Straight COMEDY! HA!