[Freeswitch-users] voicemail to email not working

Michael Collins msc at freeswitch.org
Tue Aug 28 18:55:19 MSD 2012


What MTA are you using? I know that I've had much more success using Tony's
sendmail replacement script. (src/scripts/perl/sendmail).

-MC

On Mon, Aug 27, 2012 at 3:27 PM, Abaci <abaci64 at gmail.com> wrote:

>  I'm trying to get FreeSWITCH to send my voicemail to my email and can't
> it to work. I have sSMTP installed and working (tested using voicemail.tpl)
> I see in the FreeSWITCH logs *"switch_utils.c:761 Emailed file
> [/tmp/mail.13461330724a96] to [me at mydomain.com]" *however in
> /var/log/maillog I see nothing and I don't get the email. does someone have
> a clue on what might be wrong here, or is there any debug I can enable for
> this?
>
> *in switch.conf.xml I have:*
>     <param name="mailer-app" value="sendmail"/>
>     <param name="mailer-app-args" value="-t"/>
>
> *in voicemail.conf.xml I have:*
>     <email>
>         <param name="template-file" value="voicemail.tpl"/>
>         <param name="notify-template-file" value="notify-voicemail.tpl"/>
>         <!-- this is the format voicemail_time will have -->
>         <param name="date-fmt" value="%A, %B %d %Y, %I %M %p"/>
>         <!--<param name="email-from" value="${voicemail_account}@
> ${voicemail_domain}"/>-->
>     </email>
>
> *in the directory (xml_curl) I have:*
> <document type="freeswitch/xml">
>   <section name="directory">
>     <domain name="mydomain.com">
>       <user id="200">
>         <params>
>           <param name="password" value="cj987r5y95"/>
>           <param name="vm-password" value="1234"/>
>           <param name="vm-enabled" value="true"/>
>           <param name="vm-email-all-messages" value="true"/>
>           <param name="vm-mailto" value="me at mydomain.com"<me at mydomain.com>
> />
>           <param name="vm-mailfrom" value="Voicemail Server
> <voicemail at mydomain.com> <voicemail at mydomain.com>"/>
>           <param name="vm-attach-file" value="true" />
>           <param name="dial-string" value=
> "${sofia_contact(200 at mydomain.com)}"<$%7Bsofia_contact(200 at mydomain.com)%7D>
> />
>         </params>
>         <variables>
>           <variable name="toll_allow"
> value="domestic,international,local"/>
>           <variable name="user_context" value="routing"/>
>           <variable name="effective_caller_id_name" value="test user"/>
>           <variable name="effective_caller_id_number" value="2125551212"/>
>           <variable name="outbound_caller_id_number" value="2125551212"/>
>         </variables>
>       </user>
>     </domain>
>   </section>
> </document>
>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> 
> 
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>


-- 
Michael S Collins
Twitter: @mercutioviz
http://www.FreeSWITCH.org
http://www.ClueCon.com
http://www.OSTAG.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120828/9e66f71b/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list