How to send voicemail + notifications to emaisl in Elastix

Hello all,

Im hoping someone can help me get Elastix configured so as to forward voicemails to email accounts.

My Situation: The Company Im working for wants a simple answering machine, we decided to set up Elastix to do just that. So far Ive been able to get Elastix to accept calls from a PSTN trunk line and it directs these calls to an extension. If this extension does not pick up, it goes straight to the extentions voicemail. Voicemails are being recorded but the voicemails are not being emailed out.

Ive installed 1 x100p clone from www.x100p.com. It has one FXO and no FXS. Ive set up another computer as a softphone.

I think the reason its not emailing out the voicemails is because I do not fully understand how to edit the /etc/postfix/main.cf file.

Can someone please help me find the correct information and where to put it so as to get emails working?

We want to send out these emails through our exchange server we have on our network.

Any help is much appreciated! Im completely new to this VoIP stuff.

For reference, please look at pg. 119 and 197 of Elastix without Tears:
http://www.elastixconnection.com/downloads/elastix_without_tears.pdf

Shirubia-
shirubiaAsked:
Who is Participating?
 
shirubiaConnect With a Mentor Author Commented:
Didn't have to edit that file, the DNS entry was incorrect and Elastix wasn't able to talk to my DNS server.
0
 
shirubiaAuthor Commented:
So I reinstalled Elastix, but even after restarting I still cant get emails to send out...  I tried it first without configuring any email settings, then I edited the "relayhost" and "myorigin" properties of the main.cf file

here is my maillog file:

Dec 28 16:43:05 elastix postfix/smtp[3033]: A59F74B6672: to=<mypersonalemail@hotmail.com>, relay=none, delay=-.16, delays=0.15/0.01/0/0, dsn=4.4.3, status=deferred (Host or domain name not found. Name service error for name=relay.mycompany.com type=MX: Host not found, try again)

This is driving me nuts!! any help is much appreciated!
0
 
memo_tntCommented:
hi

yes you need to relay to your smtp server

edit this file
/etc/postfix/main.cf
and add the follwing
relayhost = mail.your-domain.com >>> being your or your ISP smtp server


0
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
shirubiaAuthor Commented:
I tried that, yet it still doesn't work...
0
 
memo_tntCommented:
hi

check the follwowing filr

/etc/resolv.conf
what DNS's defined
plus is the relayed domain in name=relay.mycompany.com a real public or not?


0
 
shirubiaAuthor Commented:
Sorry for my noobness.. how do I open /etc/resolv.conf?

vi /etc/resolv.conf? when I try this, only a blank screen shows up
less /etc/resolv.conf? when I try this, only a blank screen shows up
PBX>tools>file editor? I dont see a resolv.conf file

public? I don't think so

Is there something in MS exchange that I need to configure?

0
 
memo_tntCommented:
ok

then add your DNS to this file as the following

vi /etc/resolv.conf
then press insert and copy and past this line

nameserver your.DNS.IP >> you can add more than one DNS

as

nameserver 192.168.111.2
nameserver 8.8.8.8


0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.