Hello all,<br><br>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.&nbsp; But, I don&#39;t have a running MTA here even on the PBX itself.&nbsp; I just want to send the e-mails to my GMail account from my PBX.&nbsp; Can I just use the mail or mailx command to send the e-mail and attach the voicemail message?
<br><br>Below are snippets of my voicemail.conf and extensions.conf configuration files.&nbsp; Please advice whatever you think I need to change with my current configurations.<br><br>Thank you in advance.<br><br>GNUbie<br><br>
- - - &lt; s n i p &gt; - - -<br><br># cat /etc/asterisk/voicemail.conf<br><br>[general]<br>format=wav49<br>serveremail=<a href="mailto:pbx@gnubie.com">pbx@gnubie.com</a> ; bogus e-mail address<br>attach=yes<br>delete=yes
<br>maxmsg=50<br>maxmessage=180<br>minmessage=5<br>maxgreet=60<br>skipms=3000<br>maxsilence=10<br>silencethreshold=128<br>maxlogins=3<br>fromstring=The PBX<br>usedirectory=yes<br>emaildateformat=%A, %B %d, %Y at %r<br>sendvoicemail=yes
<br>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<br>mailcmd=/usr/bin/exim -t ; not sure about this line<br><br>[zonemessages]
<br>eastern=America/New_York|&#39;vm-received&#39; Q &#39;digits/at&#39; IMp<br><br>[default]<br>101 =&gt; 11011,GNUbie,<a href="mailto:gnubie@gmail.com">gnubie@gmail.com</a><br><br><br># grep 10 /etc/asterisk/extensions.conf
<br><br>exten =&gt; 101,1,Dial(Zap/1,20,rt)<br>exten =&gt; 101,2,VoiceMail(101,u)<br>exten =&gt; 100,1,VoiceMailMain(${CALLERID(num)},s)<br>