All,<div><br></div><div>I am having the same issue, its not sending email(extension --> lua script) getting <b>"Segmentation fault"</b></div><div><br></div><div>xml :</div><div><br></div><div><div><include></div>
<div> <user id="503"></div><div> <params></div><div> <param name="password" value="1234"/></div><div> <param name="vm-password" value="503"/></div>
<div> <param name="vm-mailto" value="<a href="mailto:b2m@a-cti.com" target="_blank">b2m@a-cti.com</a>"/></div><div> <param name="vm-enabled" value="true"/></div>
<div> <param name="vm-skip-instructions" value="true"/></div>
<div> <param name="vm-disk-quota" value="3600"/></div><div> <param name="vm-email-all-messages" value="true"/></div><div> <param name="max-login-attempts" value="2"/></div>
<div> <param name="digit-timeout" value="10000"/></div><div> <param name="max-record-len" value="900"/></div><div> <param name="tone-spec" value="%(1000, 0, 640)"/></div>
<div> <param name="record-silence-threshold" value="2000"/></div><div> <param name="record-silence-hits" value="3"/></div><div> </params></div><div>
<variables></div><div> <variable name="toll_allow" value="domestic,international,local"/></div><div> <variable name="accountcode" value="503"/></div>
<div> <variable name="user_context" value="default"/></div><div> <variable name="effective_caller_id_name" value="Extension 503"/></div><div> <variable name="effective_caller_id_number" value="503"/></div>
<div> <variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/></div><div> <variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/></div>
<div> <variable name="callgroup" value="techsupport"/></div><div> </variables></div><div> </user></div><div></include></div><div><br></div><div>dialplan :</div><div><br>
</div><div><div><include></div><div> <extension name="503"></div><div> <condition field="destination_number" expression="^(503)$"></div><div> <action application="lua" data="vmbox.lua ${effective_caller_id_number}"/></div>
<div> </condition></div><div> </extension></div><div></include></div></div><div><br></div><div><br></div><div>Lua :</div><div><br></div><div><div>caller=503;</div><div>freeswitch.consoleLog("info","From :"..caller);</div>
<div>session:set_tts_parms("flite", "slt");</div><div>session:speak("Welcome To Voice Mail !. You Can Leave Your Message Here.");</div><div>path="/usr/local/freeswitch/recordings/";</div>
<div>prompt=caller..".mp3";</div><div>recpath=path..prompt;</div><div>freeswitch.consoleLog("info","record path="..recpath);</div><div>session:recordFile(recpath,30,10,10);</div><div>session:speak("Thank you.");</div>
<div><br></div><div>freeswitch.consoleLog("info","testing");</div><div>freeswitch.email("<a href="mailto:b2m@a-cti.com" target="_blank">b2m@a-cti.com</a>",</div><div> "<a href="mailto:saraswathi.devaraj@a-cti.com" target="_blank">saraswathi.devaraj@a-cti.com</a>",</div>
<div> "subject: Voicemail from 801\n",</div><div> "Hello,\n\nYou've got a voicemail, click the attachment to listen to it.",</div><div> "/usr/local/freeswitch/recordings/503.mp3",</div>
<div> "",</div><div> "");</div><div>freeswitch.consoleLog("info","hai");</div></div><div><br></div><div><br></div><div><br></div><div>switchconf : </div>
<div><br></div><div><br></div><div><div><param name="mailer-app" value="/usr/sbin/sendmail"/></div><div> <param name="mailer-app-args" value="-t"/></div></div><div><br>
</div><div><br></div><div>Thanks for your help!!</div><div><br></div><div>Thanks,</div><div>Bala</div><div><br></div><div><br></div><br><div class="gmail_quote">On Sat, Feb 4, 2012 at 12:31 AM, John <span dir="ltr"><<a href="mailto:freeswitch@earthspike.net" target="_blank">freeswitch@earthspike.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 03/02/12 18:00, Thomas Hoellriegel wrote:<br>
><br>
> Its works fine!!<br>
Good news!<br>
<div><div></div><div><br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br></div>