[Freeswitch-users] Fs ignoring voicemail to email
Balamurugan Mahendran
b2m at a-cti.com
Wed Feb 8 15:04:09 MSK 2012
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 at 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 at 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 at 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 at 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 at 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 at 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 at 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 at a-cti.com",
>>>>> "saraswathi.devaraj at 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 at earthspike.net>wrote:
>>>>>
>>>>>> On 03/02/12 18:00, Thomas Hoellriegel wrote:
>>>>>> >
>>>>>> > Its works fine!!
>>>>>> Good news!
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> _________________________________________________________________________
>>>>> Professional FreeSWITCH Consulting Services:
>>>>> consulting at freeswitch.org
>>>>> http://www.freeswitchsolutions.com
>>>>>
>>>>>
>>>>>
>>>>>
>>>>> Official FreeSWITCH Sites
>>>>> http://www.freeswitch.org
>>>>> http://wiki.freeswitch.org
>>>>> http://www.cluecon.com
>>>>>
>>>>> FreeSWITCH-users mailing list
>>>>> FreeSWITCH-users at lists.freeswitch.org
>>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>>> UNSUBSCRIBE:
>>>>> http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>>> http://www.freeswitch.org
>>>>>
>>>>>
>>>>
>>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120208/4287e31f/attachment.html
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list