[Freeswitch-users] Fs ignoring voicemail to email

Balamurugan Mahendran b2m at a-cti.com
Tue Feb 7 19:53:03 MSK 2012


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/20120207/c578e258/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list