Is there anyway for more logs? Thanks for your help!!
I did, also I have no issue sending email outside FS.Thanks,BalaOn Tue, Feb 7, 2012 at 8:31 PM, Balamurugan Mahendran <balamurugan@adaptavant.com> wrote:I did, also I have no issue sending email outside FS.Thanks,BalaOn Tue, Feb 7, 2012 at 8:09 PM, John <freeswitch@earthspike.net> wrote:
I updated the wiki mod_voicemail page a few days ago with some instructions for debugging email from freeswitch. Have you tried those?
On 07/02/12 13:47, Balamurugan Mahendran wrote:All,
I am having the same issue, its not sending email(extension --> lua script) getting "Segmentation fault"
xml :
<include><user id="503"><params><param name="password" value="1234"/><param name="vm-password" value="503"/><param name="vm-mailto" value="b2m@a-cti.com"/><param name="vm-enabled" value="true"/><param name="vm-skip-instructions" value="true"/><param name="vm-disk-quota" value="3600"/><param name="vm-email-all-messages" value="true"/><param name="max-login-attempts" value="2"/><param name="digit-timeout" value="10000"/><param name="max-record-len" value="900"/><param name="tone-spec" value="%(1000, 0, 640)"/><param name="record-silence-threshold" value="2000"/><param name="record-silence-hits" value="3"/></params><variables><variable name="toll_allow" value="domestic,international,local"/><variable name="accountcode" value="503"/><variable name="user_context" value="default"/><variable name="effective_caller_id_name" value="Extension 503"/><variable name="effective_caller_id_number" value="503"/><variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/><variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/><variable name="callgroup" value="techsupport"/></variables></user></include>
dialplan :
<include><extension name="503"><condition field="destination_number" expression="^(503)$"><action application="lua" data="vmbox.lua ${effective_caller_id_number}"/></condition></extension></include>
Lua :
caller=503;freeswitch.consoleLog("info","From :"..caller);session:set_tts_parms("flite", "slt");session:speak("Welcome To Voice Mail !. You Can Leave Your Message Here.");path="/usr/local/freeswitch/recordings/";prompt=caller..".mp3";recpath=path..prompt;freeswitch.consoleLog("info","record path="..recpath);session:recordFile(recpath,30,10,10);session:speak("Thank you.");
freeswitch.consoleLog("info","testing");freeswitch.email("b2m@a-cti.com","subject: Voicemail from 801\n","Hello,\n\nYou've got a voicemail, click the attachment to listen to it.","/usr/local/freeswitch/recordings/503.mp3","","");freeswitch.consoleLog("info","hai");
switchconf :
<param name="mailer-app" value="/usr/sbin/sendmail"/><param name="mailer-app-args" value="-t"/>
Thanks for your help!!
Thanks,Bala
On Sat, Feb 4, 2012 at 12:31 AM, John <freeswitch@earthspike.net> wrote:
On 03/02/12 18:00, Thomas Hoellriegel wrote:
>
> Its works fine!!
Good news!
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
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