D'oh! Sorry about that. I did try the nullmailer. I've had a hard time finding details on getting it setup correctly, so I don't know if FS actually tried to use it and nullmailer failed, or if FS didn't even make the call. Given that the php/python/lua scripts don't appear to be called at all, I'm inclined to think that nullmailer never had a chance either. Any other ideas? On 9/1/2010 10:56 AM, Brian West wrote:
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@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@ParcelPool.com 2010-09-01 16:28:55.607187 [DEBUG] switch_utils.c:631 Emailed file [/tmp/mail.12833585354d4c] to [Peter.Hinman@ParcelPool.com] 2010-09-01 16:28:55.607187 [DEBUG] mod_voicemail.c:2571 Sending message to Peter.Hinman@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
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Peter Hinman ParcelPool.com Office: 801-434-7400 Cell: 801-830-8292