Paul Tyreman
2004-Apr-25 11:22 UTC
[Asterisk-Users] Using Exchange to send voicemail message
Hi, I run a local exchange server and would like asterisk to send voicemail notification messages via exchange. I have had a look at the voicemail.conf file, but I can't see how I would go about configuring it to use an account set up on exchange ? The exchange account would have both POP3 and IMAP access, so how can I tell Asterisk to use the exchange account rather then sendmail ? Thanks, Paul.
Robert Hajime Lanning
2004-Apr-25 11:39 UTC
[Asterisk-Users] Using Exchange to send voicemail message
IMAP and POP3 are used for the MUA to get access to a mailbox. They are not used for delivering messages to a mailbox, but for reading message out of a mailbox. What you are looking for, is an SMTP gateway. Sendmail is an SMTP MTA that can be configured to send the email (via SMTP/ESMTP) to the Exchange server. All you really need to do is have the DNS MX records for foo.com pointing to your Exchange server. Then, in voicemail.conf you would have the email address set to user@foo.com. Of course, change foo.com to whatever your domain, for the Exchange server, is. And, make sure you have the SMTP connector configured for Exchange. <quote who="Paul Tyreman">> Hi, > > I run a local exchange server and would like asterisk to send voicemail > notification messages via exchange. > > I have had a look at the voicemail.conf file, but I can't see how I would go > about configuring it to use an account set up on exchange ? The exchange > account would have both POP3 and IMAP access, so how can I tell Asterisk to > use the exchange account rather then sendmail ? > > Thanks, Paul.-- END OF LINE -MCP
Paul Tyreman wrote:> Hi, > > I run a local exchange server and would like asterisk to send > voicemail notification messages via exchange. > > I have had a look at the voicemail.conf file, but I can't see how I > would go about configuring it to use an account set up on exchange ? > The exchange account would have both POP3 and IMAP access, so how can > I tell Asterisk to use the exchange account rather then sendmail ? > > Thanks, Paul. > _______________________________________________Do you have internet email accounts on the exchange server ? If this is the case then you have an mx record in DNS that points to your exchange server. This also means that you have the smtp part configured in the exchange server so it will accept smtp messages from the asterisk box. And then you just use the users email adr. as voice mail destination. POP3 and IMAp is just for the end users connectivity to the exchange server and has nothing to do with how asterisk delivers voicemails to the exchange server, for this purpose is SMTP used. /Mats
Paul Tyreman
2004-Apr-25 12:37 UTC
[Asterisk-Users] Using Exchange to send voicemail message
Re: [Asterisk-Users] Using Exchange to send voicemail messageAn of course, its SMTP that I need. I don't want sendmail to send mail to the exchange server, I want to use the exchange server to send the mail in the first place ! What I want to do is forget about sendmail, and make an account on the exchange server for asterisk to send mail from. Can that be done ? Thanks, Paul. -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Robert Hajime Lanning Posted At: 25 April 2004 19:40 Posted To: Asterisk-Users Conversation: [Asterisk-Users] Using Exchange to send voicemail message Subject: Re: [Asterisk-Users] Using Exchange to send voicemail message IMAP and POP3 are used for the MUA to get access to a mailbox. They are not used for delivering messages to a mailbox, but for reading message out of a mailbox. What you are looking for, is an SMTP gateway. Sendmail is an SMTP MTA that can be configured to send the email (via SMTP/ESMTP) to the Exchange server. All you really need to do is have the DNS MX records for foo.com pointing to your Exchange server. Then, in voicemail.conf you would have the email address set to user@foo.com. Of course, change foo.com to whatever your domain, for the Exchange server, is. And, make sure you have the SMTP connector configured for Exchange. <quote who="Paul Tyreman">> Hi, > > I run a local exchange server and would like asterisk to send > voicemail notification messages via exchange. > > I have had a look at the voicemail.conf file, but I can't see how I > would go about configuring it to use an account set up on exchange ? > The exchange account would have both POP3 and IMAP access, so how can > I tell Asterisk to use the exchange account rather then sendmail ? > > Thanks, Paul.-- END OF LINE -MCP _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20040425/b7d783c1/attachment.htm
Paul Tyreman
2004-Apr-26 01:23 UTC
[Asterisk-Users] Using Exchange to send voicemail message
The reason that I would like to set Asterisk up in this way, is because my exchange server is local on my LAN and for some reason loop-back isn't working. This means that when you send an e-mail to paul@<exchange-address>.com, from within the LAN, it bounces back. If I could get Asterisk to send the mail from the exchange server in the first place this wouldn't be an issuse as the mail would never leave the LAN ! I don't think I'm at the stage of being able to write Linux scripts, as I am just in the process of learning about the OS. How do I configure sendmail to realy everything through exchange ? Does this mean that Asterisk would need a exchange account, or do you mean that Asterisk simply passes the message to exchange, and the mail message is sent via the Exchange SMTP server ? Thanks again for your help. Paul. -----Original Message----- From: asterisk-users-admin@lists.digium.com [mailto:asterisk-users-admin@lists.digium.com] On Behalf Of Robert Hajime Lanning Posted At: 26 April 2004 05:28 Posted To: Asterisk-Users Conversation: [Asterisk-Users] Using Exchange to send voicemail message Subject: Re: [Asterisk-Users] Using Exchange to send voicemail message Technicaly it can be done. If you want to pick up a book, learn how to speak MAPI (the protocol Exchange uses) and write a program/script that gets the message via STDIN and the recipient from the "To:" header and talks MAPI to your Exchange server. Then all you have to do is use the mailcmdcommand in voicemail.conf. You will have to store the MAPI hostname/username/password in some configuration file. Take care of queueing messages if the Exchange server is down, retry delivery when it comes up, expire if undeliverable. This is one thing you do not want built into Asterisk. Asterisk is busy enough with handling the calls, no need for email queue management. Sendmail has all of this done already and has proven itself on the Internet. Though, my question is, why do you need it generated this way? Even if the mailboxes are not on the Exchange server, you can configure sendmail to relay everything through the Exchange server. It is a one line change to the sendmail.cf file. And the "From:" line is settable via voicemail.cf. Currently, Asterisk just fork()s, then exec()s, "/usr/sbin/sendmail -t", passing the email message to sendmail's STDIN. (done through the popen() call.) Sendmail tries to deliver, if it can't, it queues it. You then have a background process (/usr/sbin/sendmail -q15m) that runs through the queue every 15 minutes and manages it. (delivery attempts, expiring...) Remember, the only protocols the Asterisk speaks natively are VoIP protocols and the Asterisk management protocol. <quote who="Paul Tyreman">> And of course, its SMTP that I need. > > I don't want sendmail to send mail to the exchange server, I want to > use the exchange server to send the mail in the first place ! > > What I want to do is forget about sendmail, and make an account on the > exchange server for asterisk to send mail from. > > Can that be done ? > > Thanks, Paul.-- END OF LINE -MCP _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users
Hi All, It would appear that Vovida, have accessed a G729A codec for development and non commercial use, without a licence fee. See... http://www.vovida.org/applications/downloads/G729A/ Can this be implemented in * ? craig
Craig wrote:>Hi All, > >It would appear that Vovida, have accessed a G729A codec for development >and non commercial use, without a licence fee. > >See... http://www.vovida.org/applications/downloads/G729A/ > > >Can this be implemented in * ? > >craig > > >If you search the archives you will see that this has been brought up before.. Later..
On Mon, 2004-04-26 at 03:59, Craig wrote:> Hi All, > > It would appear that Vovida, have accessed a G729A codec for development > and non commercial use, without a licence fee. > > See... http://www.vovida.org/applications/downloads/G729A/ > > > Can this be implemented in * ?From: http://www.voiceage.com/openinit.htm "This "FREE" offer is a single port Win32 implementation allowing experimentation with the G.729(c) standard. You can take it from one desktop computer to another without constraints. Take note that this version is not indemnified, meaning that you the usage of this code is not allowed for commercial use - it is restricted to research and prototype development. You have to obtain the legal rights through licensing if commercial deployment is planned (see www.sipro.com). An indemnified Win32 version will soon be offered from our transactional web site." -- Eric Wieling * BTEL Consulting * 504-899-1387 x2111 "In a related story, the IRS has recently ruled that the cost of Windows upgrades can NOT be deducted as a gambling loss."
Colin Anderson
2004-Apr-26 08:53 UTC
[Asterisk-Users] Using Exchange to send voicemail message
>The reason that I would like to set Asterisk up in this way, is because my >exchange server is local on my LAN and for some reason loop-back isn't >working. This means that when you send an e-mail to >paul@<exchange-address>.com, from within the LAN, it bounces back.Check your relay settings in Exchange: http://support.microsoft.com/default.aspx?scid=kb;en-us;293800&Product=exch2 k If you are using 5.5: http://support.microsoft.com/default.aspx?scid=kb;en-us;193922&Product=ech