hi,

The 
VoiceMail<http://www.voip-info.org/wiki/index.php?page=Asterisk+cmd+voicemail2>application
uses
*/usr/sbin/sendmail* to mail voicemail messages to users. This can be any
sendmail-compatible MTA. In practice you can use
Sendmail<http://sendmail.org/>,
Postfix <http://postfix.org/>, Exim <http://www.exim.org/> or any
other MTA<http://www.voip-info.org/wiki/edit.php?page=Asterisk+voicemail+MTA>.
It is recommended to use the default one that comes with your distribution.

I would say if you just create your "own" sendmail.sh and place it
/usr/sbin/sendmail, asterisk will execute it by default, do not forget to
give permissions for asterisk user to execute it.


On 7/27/07, GNUbie <[EMAIL PROTECTED]> wrote:

Hello all,

I am running Asterisk-1.4.5 on my Debian GNU/Linux Etch here and I want to
send the voicemails as attachment to e-mails and delete the voicemails from
my PBX once it has been sent.  But, I don't have a running MTA here even on
the PBX itself.  I just want to send the e-mails to my GMail account from my
PBX.  Can I just use the mail or mailx command to send the e-mail and attach
the voicemail message?

Below are snippets of my voicemail.conf and extensions.conf configuration
files.  Please advice whatever you think I need to change with my current
configurations.

Thank you in advance.

GNUbie

- - - < s n i p > - - -

# cat /etc/asterisk/voicemail.conf

[general]
format=wav49
[EMAIL PROTECTED] ; bogus e-mail address
attach=yes
delete=yes
maxmsg=50
maxmessage=180
minmessage=5
maxgreet=60
skipms=3000
maxsilence=10
silencethreshold=128
maxlogins=3
fromstring=The PBX
usedirectory=yes
emaildateformat=%A, %B %d, %Y at %r
sendvoicemail=yes
emailbody=Hi, ${VM_NAME}!\n\nYou have a new voicemail message from
${VM_CALLERID} attached to this e-mail message.\n\nHave a nice day!\n\nThe
PBX
mailcmd=/usr/bin/exim -t ; not sure about this line

[zonemessages]
eastern=America/New_York|'vm-received' Q 'digits/at' IMp

[default]
101 => 11011,GNUbie,[EMAIL PROTECTED]


# grep 10 /etc/asterisk/extensions.conf

exten => 101,1,Dial(Zap/1,20,rt)
exten => 101,2,VoiceMail(101,u)
exten => 100,1,VoiceMailMain(${CALLERID(num)},s)

_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users




--
Esta mensagem (incluindo quaisquer anexos) pode conter informação
confidencial para uso exclusivo do destinatário. Se não for o destinatário
pretendido, não deverá usar, distribuir ou copiar este e-mail. Se recebeu
esta mensagem por engano, por favor informe o emissor e elimine-a
imediatamente. Obrigado.

This e-mail message is intended only for individual(s) to whom it is
addressed and may contain information that is privileged, confidential,
proprietary, or otherwise exempt from disclosure under applicable law. If
you believe you have received this message in error, please advise the
sender by return e-mail and delete it from your mailbox. Thank you.
_______________________________________________
--Bandwidth and Colocation Provided by http://www.api-digital.com--

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to