All,<div><br></div><div>I am having the same issue, its not sending email(extension --&gt; lua script) getting <b>&quot;Segmentation fault&quot;</b></div><div><br></div><div>xml :</div><div><br></div><div><div>&lt;include&gt;</div>


<div>  &lt;user id=&quot;503&quot;&gt;</div><div>    &lt;params&gt;</div><div>      &lt;param name=&quot;password&quot; value=&quot;1234&quot;/&gt;</div><div>      &lt;param name=&quot;vm-password&quot; value=&quot;503&quot;/&gt;</div>


<div>      &lt;param name=&quot;vm-mailto&quot; value=&quot;<a href="mailto:b2m@a-cti.com" target="_blank">b2m@a-cti.com</a>&quot;/&gt;</div><div>      &lt;param name=&quot;vm-enabled&quot; value=&quot;true&quot;/&gt;</div>

<div>        &lt;param name=&quot;vm-skip-instructions&quot; value=&quot;true&quot;/&gt;</div>
<div>        &lt;param name=&quot;vm-disk-quota&quot; value=&quot;3600&quot;/&gt;</div><div>        &lt;param name=&quot;vm-email-all-messages&quot; value=&quot;true&quot;/&gt;</div><div>        &lt;param name=&quot;max-login-attempts&quot; value=&quot;2&quot;/&gt;</div>


<div>        &lt;param name=&quot;digit-timeout&quot; value=&quot;10000&quot;/&gt;</div><div>        &lt;param name=&quot;max-record-len&quot; value=&quot;900&quot;/&gt;</div><div>        &lt;param name=&quot;tone-spec&quot; value=&quot;%(1000, 0, 640)&quot;/&gt;</div>


<div>        &lt;param name=&quot;record-silence-threshold&quot; value=&quot;2000&quot;/&gt;</div><div>        &lt;param name=&quot;record-silence-hits&quot; value=&quot;3&quot;/&gt;</div><div>    &lt;/params&gt;</div><div>


    &lt;variables&gt;</div><div>      &lt;variable name=&quot;toll_allow&quot; value=&quot;domestic,international,local&quot;/&gt;</div><div>      &lt;variable name=&quot;accountcode&quot; value=&quot;503&quot;/&gt;</div>


<div>      &lt;variable name=&quot;user_context&quot; value=&quot;default&quot;/&gt;</div><div>      &lt;variable name=&quot;effective_caller_id_name&quot; value=&quot;Extension 503&quot;/&gt;</div><div>      &lt;variable name=&quot;effective_caller_id_number&quot; value=&quot;503&quot;/&gt;</div>


<div>      &lt;variable name=&quot;outbound_caller_id_name&quot; value=&quot;$${outbound_caller_name}&quot;/&gt;</div><div>      &lt;variable name=&quot;outbound_caller_id_number&quot; value=&quot;$${outbound_caller_id}&quot;/&gt;</div>


<div>      &lt;variable name=&quot;callgroup&quot; value=&quot;techsupport&quot;/&gt;</div><div>    &lt;/variables&gt;</div><div>  &lt;/user&gt;</div><div>&lt;/include&gt;</div><div><br></div><div>dialplan :</div><div><br>


</div><div><div>&lt;include&gt;</div><div>  &lt;extension name=&quot;503&quot;&gt;</div><div>    &lt;condition field=&quot;destination_number&quot; expression=&quot;^(503)$&quot;&gt;</div><div>      &lt;action application=&quot;lua&quot; data=&quot;vmbox.lua ${effective_caller_id_number}&quot;/&gt;</div>


<div>    &lt;/condition&gt;</div><div>  &lt;/extension&gt;</div><div>&lt;/include&gt;</div></div><div><br></div><div><br></div><div>Lua :</div><div><br></div><div><div>caller=503;</div><div>freeswitch.consoleLog(&quot;info&quot;,&quot;From :&quot;..caller);</div>


<div>session:set_tts_parms(&quot;flite&quot;, &quot;slt&quot;);</div><div>session:speak(&quot;Welcome To Voice Mail !.  You Can Leave Your Message Here.&quot;);</div><div>path=&quot;/usr/local/freeswitch/recordings/&quot;;</div>


<div>prompt=caller..&quot;.mp3&quot;;</div><div>recpath=path..prompt;</div><div>freeswitch.consoleLog(&quot;info&quot;,&quot;record path=&quot;..recpath);</div><div>session:recordFile(recpath,30,10,10);</div><div>session:speak(&quot;Thank you.&quot;);</div>


<div><br></div><div>freeswitch.consoleLog(&quot;info&quot;,&quot;testing&quot;);</div><div>freeswitch.email(&quot;<a href="mailto:b2m@a-cti.com" target="_blank">b2m@a-cti.com</a>&quot;,</div><div>                 &quot;<a href="mailto:saraswathi.devaraj@a-cti.com" target="_blank">saraswathi.devaraj@a-cti.com</a>&quot;,</div>


<div>                 &quot;subject: Voicemail from 801\n&quot;,</div><div>                 &quot;Hello,\n\nYou&#39;ve got a voicemail, click the attachment to listen to it.&quot;,</div><div>                 &quot;/usr/local/freeswitch/recordings/503.mp3&quot;,</div>


<div>                 &quot;&quot;,</div><div>                 &quot;&quot;);</div><div>freeswitch.consoleLog(&quot;info&quot;,&quot;hai&quot;);</div></div><div><br></div><div><br></div><div><br></div><div>switchconf : </div>


<div><br></div><div><br></div><div><div>&lt;param name=&quot;mailer-app&quot; value=&quot;/usr/sbin/sendmail&quot;/&gt;</div><div>    &lt;param name=&quot;mailer-app-args&quot; value=&quot;-t&quot;/&gt;</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">&lt;<a href="mailto:freeswitch@earthspike.net" target="_blank">freeswitch@earthspike.net</a>&gt;</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>
&gt;<br>
&gt; 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>