Re: [Freeswitch-users] Fs ignoring voicemail to email
I did, also I have no issue sending email outside FS. Thanks, Bala On 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, Bala
On 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", "saraswathi.devaraj@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
Is there anyway for more logs? Thanks for your help!! --Bala On Tue, Feb 7, 2012 at 8:34 PM, Balamurugan Mahendran <b2m@a-cti.com> wrote:
I did, also I have no issue sending email outside FS.
Thanks, Bala
On 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, Bala
On 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", "saraswathi.devaraj@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
I think found the log, not sure how to proceed. Feb 8 11:51:03 ip-10-252-39-229 kernel: [7140198.319410] sendmail[15835]: segfault at 7fff89aa2ed0 ip 00007f75670e9a8a sp 00007fff89aa2ea0 error 6 in sendmail[7f7567056000+cd000] Thanks, Bala On Tue, Feb 7, 2012 at 10:23 PM, Balamurugan Mahendran <b2m@a-cti.com>wrote:
Is there anyway for more logs? Thanks for your help!!
--Bala
On Tue, Feb 7, 2012 at 8:34 PM, Balamurugan Mahendran <b2m@a-cti.com>wrote:
I did, also I have no issue sending email outside FS.
Thanks, Bala
On 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, Bala
On 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", "saraswathi.devaraj@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
Also looks like FS creates file in /tmp location, but I cannot find this file in this location. fs_cli: 2012-02-08 12:01:26.506096 [DEBUG] switch_utils.c:767 Emailed file [/tmp/mail.13287024861013] to [b2m@a-cti.com] syslog : Feb 8 12:01:26 ip-10-252-39-229 kernel: [7140816.707307] show_signal_msg: 3 callbacks suppressed Feb 8 12:01:26 ip-10-252-39-229 kernel: [7140816.707313] sendmail[1335]: segfault at 7fff4a735100 ip 00007fb706a67a8a sp 00007fff4a7350d0 error 6 in sendmail[7fb7069d4000+cd000] Thanks, Bala On Wed, Feb 8, 2012 at 5:22 PM, Balamurugan Mahendran <b2m@a-cti.com> wrote:
I think found the log, not sure how to proceed.
Feb 8 11:51:03 ip-10-252-39-229 kernel: [7140198.319410] sendmail[15835]: segfault at 7fff89aa2ed0 ip 00007f75670e9a8a sp 00007fff89aa2ea0 error 6 in sendmail[7f7567056000+cd000]
Thanks, Bala
On Tue, Feb 7, 2012 at 10:23 PM, Balamurugan Mahendran <b2m@a-cti.com>wrote:
Is there anyway for more logs? Thanks for your help!!
--Bala
On Tue, Feb 7, 2012 at 8:34 PM, Balamurugan Mahendran <b2m@a-cti.com>wrote:
I did, also I have no issue sending email outside FS.
Thanks, Bala
On 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, Bala
On 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", "saraswathi.devaraj@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
It gets deleted after the message is sent. By then, it's an attachment to the email and no longer required. John On 08/02/12 12:04, Balamurugan Mahendran wrote:
Also looks like FS creates file in /tmp location, but I cannot find this file in this location.
fs_cli:
2012-02-08 12:01:26.506096 [DEBUG] switch_utils.c:767 Emailed file [/tmp/mail.13287024861013] to [b2m@a-cti.com <mailto:b2m@a-cti.com>]
syslog :
Feb 8 12:01:26 ip-10-252-39-229 kernel: [7140816.707307] show_signal_msg: 3 callbacks suppressed Feb 8 12:01:26 ip-10-252-39-229 kernel: [7140816.707313] sendmail[1335]: segfault at 7fff4a735100 ip 00007fb706a67a8a sp 00007fff4a7350d0 error 6 in sendmail[7fb7069d4000+cd000]
Thanks, Bala
On Wed, Feb 8, 2012 at 5:22 PM, Balamurugan Mahendran <b2m@a-cti.com <mailto:b2m@a-cti.com>> wrote:
I think found the log, not sure how to proceed.
Feb 8 11:51:03 ip-10-252-39-229 kernel: [7140198.319410] sendmail[15835]: segfault at 7fff89aa2ed0 ip 00007f75670e9a8a sp 00007fff89aa2ea0 error 6 in sendmail[7f7567056000+cd000]
Thanks, Bala
On Tue, Feb 7, 2012 at 10:23 PM, Balamurugan Mahendran <b2m@a-cti.com <mailto:b2m@a-cti.com>> wrote:
Is there anyway for more logs? Thanks for your help!!
--Bala
On Tue, Feb 7, 2012 at 8:34 PM, Balamurugan Mahendran <b2m@a-cti.com <mailto:b2m@a-cti.com>> wrote:
I did, also I have no issue sending email outside FS.
Thanks, Bala
On Tue, Feb 7, 2012 at 8:31 PM, Balamurugan Mahendran <balamurugan@adaptavant.com <mailto:balamurugan@adaptavant.com>> wrote:
I did, also I have no issue sending email outside FS.
Thanks, Bala
On Tue, Feb 7, 2012 at 8:09 PM, John <freeswitch@earthspike.net <mailto: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 <mailto: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 <mailto:b2m@a-cti.com>", "saraswathi.devaraj@a-cti.com <mailto:saraswathi.devaraj@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 <mailto:freeswitch@earthspike.net>> wrote:
On 03/02/12 18:00, Thomas Hoellriegel wrote: > > Its works fine!! Good news!
What you're seeing is sendmail is having a memory tracking problem - it's attempting to write to memory that's already allocated to something else. This forum is a Freeswitch forum. You'll need to troubleshoot this problem with the sendmail team, on their own forum. (The reason you won't get any help here is because Freeswitch has already delivered the email to sendmail. Sendmail acknowledged receiving it and is now showing the segfault (or memory problem). It isn't a Freeswitch issue, though, and this team is not familiar with the sendmail code in such a way as to troubleshoot it or fix it.) I had the same issue. I ended up installing SSMTP which simply routes the mail off of my PBX to an SMTP server. Unless you actually want your Freeswitch server to also be a mail server, that is the path that I recommend. If you're running CentOS, yum install ssmtp and put the following in your /usr/local/freeswitch/conf/autoload_configs/switch.conf.xml <param name="mailer-app" value="/usr/sbin/ssmtp"/> <param name="mailer-app-args" value=""/> Good luck, Rob From: Balamurugan Mahendran [mailto:b2m@a-cti.com] Sent: Wednesday, February 08, 2012 6:53 AM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Fs ignoring voicemail to email I think found the log, not sure how to proceed. Feb 8 11:51:03 ip-10-252-39-229 kernel: [7140198.319410] sendmail[15835]: segfault at 7fff89aa2ed0 ip 00007f75670e9a8a sp 00007fff89aa2ea0 error 6 in sendmail[7f7567056000+cd000] Thanks, Bala On Tue, Feb 7, 2012 at 10:23 PM, Balamurugan Mahendran <b2m@a-cti.com> wrote: Is there anyway for more logs? Thanks for your help!! --Bala On Tue, Feb 7, 2012 at 8:34 PM, Balamurugan Mahendran <b2m@a-cti.com> wrote: I did, also I have no issue sending email outside FS. Thanks, Bala On 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, Bala On 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", "saraswathi.devaraj@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
participants (3)
-
Balamurugan Mahendran
-
John
-
Rob Morin