[asterisk-biz] How do i enter two different SMTP in Asterisk VoiceMail

Jaswinder Singh vicky.r at gmail.com
Tue Jun 9 08:05:50 CDT 2009


As far as i remember asterisk uses sendmail to send outgoing voicemail
emails so maybe that is where u should look.

On Tue, Jun 9, 2009 at 12:20 PM, Trixter aka Bret McDanel <
trixter at 0xdecafbad.com> wrote:

> On Tue, 2009-06-09 at 00:21 -0600, Brandon B. wrote:
> > This is a SMTP question more than an Asterisk issue. Is the DNS
> > information for these two mail destinations correctly configured? If
> > not, use your own DNS server with the necessary information or write a
> > script that will accept the voicemail email with attachment and make
> > the necessary SMTP connnections.
> >
>
> does asterisk do it that way or does it look up the first A record it
> gets and use that and only that ??  If that is the case, and it does not
> even support MX records then the correct answer would probably be closer
> to "asterisk does not do that".
>
> I really dont know but if I had to guess I would say that its not using
> MX records, because it wants a smtp server, and given the way other
> things in asterisk are done its likely that it does not try a secondary
> A record if the primary is down.
>
> You can still trick asterisk by using something similar to
> ultramonkey.org (although you may not have to go quite as far as
> ultramonkey would take you) so that asterisk thinks its just connecting
> to a single host all the time, and if it fails its transparently
> switched to the backup system.
>
> Of course a more elegant solution would be, assuming its not there which
> is an assumption I did make, to add the functionality to try multiple
> hosts in order until it gets something resembling a success code (2xx,
> usually 200), and if it runs out of hosts then queue and schedule an
> event to try again in some timeout interval until the queue is empty.
> But hey, for all I know it already does this, I really havent looked and
> barely read the posts in this thread.
> --
> Trixter http://www.0xdecafbad.com     Bret McDanel
> pgp key: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8AE5C721
>
>
>
> _______________________________________________
> --Bandwidth and Colocation Provided by http://www.api-digital.com--
>
> asterisk-biz mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-biz
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-biz/attachments/20090609/1c701a44/attachment.htm 


More information about the asterisk-biz mailing list