Voicemail is working fine (gs phone even shows indication), but I can't get
email forwarding to work. The vm is written to the spool directory in wav
format as expected, I see sendmail briefly start in a seperate 'top d1'
display, but no email is ever sent from the * box. (tcpdump on port 25 shows
no smtp conversation ever starts).
* has internet connectivity, I can telnet to port 25 of my co's mail servers
on the net.
* is cvs/02/18/04 on redhat 9.
What am I missing ?
Thanks,
Chris Clifton
======= extensions.conf ======exten => 115,1,Voicemail(u${EXTEN})
exten => 115,2,Hangup
====== voicemail.conf =======;
; Voicemail Configuration
;
[general]
; Default formats for writing Voicemail
;format=g723sf|wav49|wav
format=wav
; Who the e-mail notification should appear to come from
serveremail=asterisk@company.com
;serveremail=asterisk@linux-support.net
; Should the email contain the voicemail as an attachment
attach=yes
; Maximum length of a voicemail message
maxmessage=180
; Maximum length of greetings
;maxgreet=60
; How many miliseconds to skip forward/back when rew/ff in message playback
skipms=3000
; How many seconds of silence before we end the recording
maxsilence=10
; Silence threshold (what we consider silence, the lower, the more
sensitive)
silencethreshold=128
; Max number of failed login attempts
maxlogins=3
; Skip the "[PBX]:" string from the message title
;pbxskip=yes
; Change the From: string
fromstring=The Asterisk PBX
; Change the email body, variables: VM_NAME, VM_DUR, VM_MSGNUM, VM_MAILBOX,
VM_CALLERID, VM_DATE
emailbody=Dear ${VM_NAME}:\n\n\tjust wanted to let you know you were just
left a ${VM_DUR} long message (number ${VM_MSGNUM})\nin mailbox
${VM_MAILBOX} from ${VM_CALLERID}, on ${VM_DATE} so you might\nwant to check
it when you get a chance. Thanks!\n\n\t\t\t\t--Asterisk\n
;
; You can override the default program to send e-mail if you wish, too
;
mailcmd=/usr/sbin/sendmail -t
[zonemessages]
eastern=America/New_York|'vm-received' Q 'digits/at' IMp
central=America/Chicago|'vm-received' Q 'digits/at' IMp
central24=America/Chicago|'vm-received' q 'digits/at' H
'digits/hundred' M
'hours'
;
; Each mailbox is listed in the form
<mailbox>=<password>,<name>,<email>,<pager_email>,<options>
; if the e-mail is specified, a message will be sent when a message is
; received, to the given mailbox. If pager is specified, a message will be
sent there as well.
;
[default]
1234 => 4242,Example Mailbox,root@localhost
;4200 => 9855,Mark
Spencer,markster@linux-support.net,mypager@digium.com,attach=no|serveremailmyaddy@digium.com|tz=central
;4300 => 3456,Ben Rigas,ben@american-computer.net
;4310 => 5432,Sales,sales@marko.net
;4069 => 6522,Matt Brooks,matt@marko.net
;4110 => 3443,Rob Flynn,rflynn@blueridge.net
;
; Mailboxes may be organized into multiple contexts for
; voicemail virtualhosting
;
[company]
115 => 2019,Chris,chris@company.com,,attach=yes
[other]
1234 => 5678,Company2 User,root@localhost
duuh ...... figured it out ... didn't have sendmail running. Too much * hacking at the end of a long day. - Chris ----- Original Message ----- From: "Netlabz - Chris Clifton" <chris@netlabz.com> To: <asterisk-users@lists.digium.com> Sent: Thursday, February 19, 2004 12:57 AM Subject: vm to email ?> Voicemail is working fine (gs phone even shows indication), but I can'tget> email forwarding to work. The vm is written to the spool directory in wav > format as expected, I see sendmail briefly start in a seperate 'top d1' > display, but no email is ever sent from the * box. (tcpdump on port 25shows> no smtp conversation ever starts). > > * has internet connectivity, I can telnet to port 25 of my co's mailservers> on the net. > > * is cvs/02/18/04 on redhat 9. > > What am I missing ? > > Thanks, > Chris Clifton > > ======= extensions.conf ======> exten => 115,1,Voicemail(u${EXTEN}) > exten => 115,2,Hangup > > ====== voicemail.conf =======> ; > ; Voicemail Configuration > ; > [general] > ; Default formats for writing Voicemail > ;format=g723sf|wav49|wav > > format=wav > > ; Who the e-mail notification should appear to come from > > serveremail=asterisk@company.com > > ;serveremail=asterisk@linux-support.net > ; Should the email contain the voicemail as an attachment > > attach=yes > > ; Maximum length of a voicemail message > > maxmessage=180 > > ; Maximum length of greetings > ;maxgreet=60 > ; How many miliseconds to skip forward/back when rew/ff in messageplayback> skipms=3000 > ; How many seconds of silence before we end the recording > maxsilence=10 > ; Silence threshold (what we consider silence, the lower, the more > sensitive) > silencethreshold=128 > ; Max number of failed login attempts > maxlogins=3 > > ; Skip the "[PBX]:" string from the message title > ;pbxskip=yes > ; Change the From: string > > fromstring=The Asterisk PBX > > ; Change the email body, variables: VM_NAME, VM_DUR, VM_MSGNUM,VM_MAILBOX,> VM_CALLERID, VM_DATE > > emailbody=Dear ${VM_NAME}:\n\n\tjust wanted to let you know you were just > left a ${VM_DUR} long message (number ${VM_MSGNUM})\nin mailbox > ${VM_MAILBOX} from ${VM_CALLERID}, on ${VM_DATE} so you might\nwant tocheck> it when you get a chance. Thanks!\n\n\t\t\t\t--Asterisk\n > > ; > ; You can override the default program to send e-mail if you wish, too > ; > > mailcmd=/usr/sbin/sendmail -t > > > [zonemessages] > eastern=America/New_York|'vm-received' Q 'digits/at' IMp > central=America/Chicago|'vm-received' Q 'digits/at' IMp > central24=America/Chicago|'vm-received' q 'digits/at' H 'digits/hundred' M > 'hours' > > ; > ; Each mailbox is listed in the form > <mailbox>=<password>,<name>,<email>,<pager_email>,<options> > ; if the e-mail is specified, a message will be sent when a message is > ; received, to the given mailbox. If pager is specified, a message will be > sent there as well. > ; > [default] > 1234 => 4242,Example Mailbox,root@localhost > ;4200 => 9855,Mark >Spencer,markster@linux-support.net,mypager@digium.com,attach=no|serveremail> myaddy@digium.com|tz=central> ;4300 => 3456,Ben Rigas,ben@american-computer.net > ;4310 => 5432,Sales,sales@marko.net > ;4069 => 6522,Matt Brooks,matt@marko.net > ;4110 => 3443,Rob Flynn,rflynn@blueridge.net > > ; > ; Mailboxes may be organized into multiple contexts for > ; voicemail virtualhosting > ; > > > [company] > 115 => 2019,Chris,chris@company.com,,attach=yes > > > [other] > 1234 => 5678,Company2 User,root@localhost >
You don't say if e-mail can be sent out on the server not using Asterisk. Just try it. Log into the * server box as a noraml user and send an e-mail to hris@netlabz.com If that fails don't blame Asterisk or it's configuration. If the above test fails look in /var/log/maillog or /var/log/messages for the reason it didn't go. Many times your ISP's mail server requires a password authentication and for thatmatter you need to tell your sendmail to use that server a a relay --- Netlabz - Chris Clifton <chris@netlabz.com> wrote:> Voicemail is working fine (gs phone even shows indication), but I > can't get > email forwarding to work. The vm is written to the spool directory in > wav > format as expected, I see sendmail briefly start in a seperate 'top > d1' > display, but no email is ever sent from the * box. (tcpdump on port > 25 shows > no smtp conversation ever starts). > > * has internet connectivity, I can telnet to port 25 of my co's mail > servers > on the net. > > * is cvs/02/18/04 on redhat 9. > > What am I missing ? > > Thanks, > Chris Clifton > > ======= extensions.conf ======> exten => 115,1,Voicemail(u${EXTEN}) > exten => 115,2,Hangup > > ====== voicemail.conf =======> ; > ; Voicemail Configuration > ; > [general] > ; Default formats for writing Voicemail > ;format=g723sf|wav49|wav > > format=wav > > ; Who the e-mail notification should appear to come from > > serveremail=asterisk@company.com > > ;serveremail=asterisk@linux-support.net > ; Should the email contain the voicemail as an attachment > > attach=yes > > ; Maximum length of a voicemail message > > maxmessage=180 > > ; Maximum length of greetings > ;maxgreet=60 > ; How many miliseconds to skip forward/back when rew/ff in message > playback > skipms=3000 > ; How many seconds of silence before we end the recording > maxsilence=10 > ; Silence threshold (what we consider silence, the lower, the more > sensitive) > silencethreshold=128 > ; Max number of failed login attempts > maxlogins=3 > > ; Skip the "[PBX]:" string from the message title > ;pbxskip=yes > ; Change the From: string > > fromstring=The Asterisk PBX > > ; Change the email body, variables: VM_NAME, VM_DUR, VM_MSGNUM, > VM_MAILBOX, > VM_CALLERID, VM_DATE > > emailbody=Dear ${VM_NAME}:\n\n\tjust wanted to let you know you were > just > left a ${VM_DUR} long message (number ${VM_MSGNUM})\nin mailbox > ${VM_MAILBOX} from ${VM_CALLERID}, on ${VM_DATE} so you might\nwant > to check > it when you get a chance. Thanks!\n\n\t\t\t\t--Asterisk\n > > ; > ; You can override the default program to send e-mail if you wish, > too > ; > > mailcmd=/usr/sbin/sendmail -t > > > [zonemessages] > eastern=America/New_York|'vm-received' Q 'digits/at' IMp > central=America/Chicago|'vm-received' Q 'digits/at' IMp > central24=America/Chicago|'vm-received' q 'digits/at' H > 'digits/hundred' M > 'hours' > > ; > ; Each mailbox is listed in the form > <mailbox>=<password>,<name>,<email>,<pager_email>,<options> > ; if the e-mail is specified, a message will be sent when a message > is > ; received, to the given mailbox. If pager is specified, a message > will be > sent there as well. > ; > [default] > 1234 => 4242,Example Mailbox,root@localhost > ;4200 => 9855,Mark >Spencer,markster@linux-support.net,mypager@digium.com,attach=no|serveremail> myaddy@digium.com|tz=central> ;4300 => 3456,Ben Rigas,ben@american-computer.net > ;4310 => 5432,Sales,sales@marko.net > ;4069 => 6522,Matt Brooks,matt@marko.net > ;4110 => 3443,Rob Flynn,rflynn@blueridge.net > > ; > ; Mailboxes may be organized into multiple contexts for > ; voicemail virtualhosting > ; > > > [company] > 115 => 2019,Chris,chris@company.com,,attach=yes > > > [other] > 1234 => 5678,Company2 User,root@localhost > > _______________________________________________ > 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====Chris Albertson Home: 310-376-1029 chrisalbertson90278@yahoo.com Cell: 310-990-7550 Office: 310-336-5189 Christopher.J.Albertson@aero.org KG6OMK __________________________________ Do you Yahoo!? Yahoo! Mail SpamGuard - Read only the mail you want. http://antispam.yahoo.com/tools