[Freeswitch-users] VoiceMail to Email troubles

Brian West brian at freeswitch.org
Wed Sep 1 09:56:16 PDT 2010


Please DO NOT click reply, change the subject and hijack a thread.  You have without knowing hijacked the "Early Media Troubles" thread.  Click New message and input the address of the list.  If you notice the list archives will also show that your thread is in the middle of another thread that is already in progress.  Doing this increases the chances of your email being ignored or lost due to how some clients thread lists.

Have you tried this:

http://wiki.freeswitch.org/wiki/Mod_voicemail#nullmailer_settings


I know it works I use it daily... but I use exim 4 and the perl script in scripts/perl/sendmail

/b


On Sep 1, 2010, at 11:48 AM, Peter Hinman wrote:

>  I'm struggling with getting VoiceMail messages sent out via email.  
> I've tried the python and PHP scripts but it doesn't look like either of 
> them actually get run when a voice mail is left.  I've also created a 
> lua script for testing purposes to show that the script is actually 
> being called, and it doesn't look like it's getting called either.
> 
> Currently in switch.conf.xml I have the following:
> 
> <param name="mailer-app" value="/usr/local/bin/lua51/lua"/>
> <param name="mailer-app-args" 
> value="/usr/local/freeswitch/scripts/test.lua"/>
> 
> 
> My directory.xml contains the following:
> <user id="1001">
> <params>
> <param name="vm-email-all-messages" value="true"/>
> <param name="vm-attach-file" value="true"/>
> <param name="vm-keep-local-after-email" value="false"/>
> <param name="vm-mailto" value="Peter.Hinman at ParcelPool.com"/>
> </params>
> </user>
> 
> The session log for the call shows the following:
> 2010-09-01 16:28:55.588613 [DEBUG] mod_voicemail.c:2403 Deliver VM to 
> 1001 at ParcelPool.com
> 2010-09-01 16:28:55.607187 [DEBUG] switch_utils.c:631 Emailed file 
> [/tmp/mail.12833585354d4c] to [Peter.Hinman at ParcelPool.com]
> 2010-09-01 16:28:55.607187 [DEBUG] mod_voicemail.c:2571 Sending message 
> to Peter.Hinman at ParcelPool.com
> 2010-09-01 16:28:55.609671 [DEBUG] switch_cpp.cpp:602 CoreSession::hangup
> 
> 
> If I call the lua script from the command line it runs correctly, but it 
> doesn't appear to get called by FS when I leave a voice mail msg.
> 
> Any ideas what I'm missing here?
> 
> Thanks,
> Peter




More information about the FreeSWITCH-users mailing list