unable to make outbound fax
Hi, I've got problem with outbound fax, the fax machine is connected to FS server via ATA device in a pass through mode, inbound fax works fine, but could get outbound fax to work, here is the dialplan for it, do I miss any parameters? What's wrong with the dialplan? Fax_A (4919)->ATA_A->SIP->FreeSWITCH->SIP provider->PSTN->Fax B <extension name="t38_passthru"> <condition field="destination_number" expression="^61000$"> <action application="export" data="t38_passthru=true"/> <action application="bridge" data="{sip_invite_domain=$${domain}}user/${dialed_extension}@${domain_name}" /> </condition> </extension> Cheers, Louie
You might want to pastebin the console debug log of the failed call. -MC On Wed, Feb 1, 2012 at 2:08 PM, Louie Liu <lliu@multinet.net.au> wrote:
** **
Hi,****
** **
I’ve got problem with outbound fax, the fax machine is connected to FS server via ATA device in a pass through mode, inbound fax works fine, but could get outbound fax to work, here is the dialplan for it, do I miss any parameters? What’s wrong with the dialplan?****
** **
Fax_A (4919)->ATA_A->SIP->FreeSWITCH->SIP provider->PSTN->Fax B****
** **
** **
<extension name="t38_passthru">****
<condition field="destination_number" expression="^61000$">****
<action application="export" data="t38_passthru=true"/>****
<action application="bridge" data="{sip_invite_domain=$${domain}}user/${dialed_extension}@ ${domain_name}"/>****
</condition>****
</extension>****
** **
** **
Cheers,****
Louie****
_________________________________________________________________________ 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
Hi all, I have setup a useraccount. But Fs don.t send my Voicemails to the emialadress. my useraccount settings is: <include> <user id="1001"> <params> <param name="password" value="my_password"/> <param name="vm-password" value="1234"/> <param name="vm-enabled" value="true"/> <param name="vm-skip-instructions" value="true"/> <param name="vm-disk-quota" value="3600"/> <param name="vm-notify-mailto" value="admin@blindi.net"/> <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="landline,mobile,sonder,0180,ausland"/> <variable name="accountcode" value="1001"/> <variable name="default_language" value="de"/> <variable name="user_context" value="default"/> <variable name="effective_caller_id_name" value="Extension 1001"/> <variable name="effective_caller_id_number" value="1001"/> <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> Fs ignore the maildelivery Can you help please? --------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
Did you check your maillog? Try to see whether it reached your mail server. -djbinter On Wed, Feb 1, 2012 at 7:04 PM, Thomas Hoellriegel <admin@blindi.net> wrote:
Hi all, I have setup a useraccount. But Fs don.t send my Voicemails to the emialadress. my useraccount settings is:
<include> <user id="1001"> <params> <param name="password" value="my_password"/> <param name="vm-password" value="1234"/> <param name="vm-enabled" value="true"/> <param name="vm-skip-instructions" value="true"/> <param name="vm-disk-quota" value="3600"/> <param name="vm-notify-mailto" value="admin@blindi.net"/> <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="landline,mobile,sonder,** 0180,ausland"/> <variable name="accountcode" value="1001"/> <variable name="default_language" value="de"/> <variable name="user_context" value="default"/> <variable name="effective_caller_id_**name" value="Extension 1001"/> <variable name="effective_caller_id_**number" value="1001"/> <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>
Fs ignore the maildelivery Can you help please?
--------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/**listinfo/blinde-misc<http://www.blindi.net/mailman/listinfo/blinde-misc>
_________________________________________________________________________ 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 you're missing the email address: <param name="vm-mailto" value="xxxx@yyy.com" /> The <param name="vm-notify-mailto" value="admin@blindi.net"/> isn't going to send any voicemails, just send a notification that there are voicemails. You might also need to look in your system log - there're problems with certain platforms sending emails. They'll show up in the system log as a segfault. Good luck, Rob From: DJB International [mailto:djbinter@gmail.com] Sent: Wednesday, February 01, 2012 11:06 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Fs ignoring voicemail to email Did you check your maillog? Try to see whether it reached your mail server. -djbinter On Wed, Feb 1, 2012 at 7:04 PM, Thomas Hoellriegel <admin@blindi.net> wrote: Hi all, I have setup a useraccount. But Fs don.t send my Voicemails to the emialadress. my useraccount settings is: <include> <user id="1001"> <params> <param name="password" value="my_password"/> <param name="vm-password" value="1234"/> <param name="vm-enabled" value="true"/> <param name="vm-skip-instructions" value="true"/> <param name="vm-disk-quota" value="3600"/> <param name="vm-notify-mailto" value="admin@blindi.net"/> <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="landline,mobile,sonder,0180,ausland"/> <variable name="accountcode" value="1001"/> <variable name="default_language" value="de"/> <variable name="user_context" value="default"/> <variable name="effective_caller_id_name" value="Extension 1001"/> <variable name="effective_caller_id_number" value="1001"/> <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> Fs ignore the maildelivery Can you help please? --------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc _________________________________________________________________________ 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
Perhaps stupid answer, but have you installed sendmail or similar? On Thu, Feb 2, 2012 at 12:58 PM, Rob Morin <rmorin@blie-ent.com> wrote:
I think you're missing the email address:
<param name="vm-mailto" value="xxxx@yyy.com" />
The <param name="vm-notify-mailto" value="admin@blindi.net"/> isn't going to send any voicemails, just send a notification that there are voicemails.
You might also need to look in your system log - there're problems with certain platforms sending emails. They'll show up in the system log as a segfault.
Good luck,
Rob
From: DJB International [mailto:djbinter@gmail.com] Sent: Wednesday, February 01, 2012 11:06 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Fs ignoring voicemail to email
Did you check your maillog? Try to see whether it reached your mail server.
-djbinter
On Wed, Feb 1, 2012 at 7:04 PM, Thomas Hoellriegel <admin@blindi.net> wrote:
Hi all, I have setup a useraccount. But Fs don.t send my Voicemails to the emialadress. my useraccount settings is:
<include> <user id="1001"> <params> <param name="password" value="my_password"/> <param name="vm-password" value="1234"/> <param name="vm-enabled" value="true"/> <param name="vm-skip-instructions" value="true"/> <param name="vm-disk-quota" value="3600"/> <param name="vm-notify-mailto" value="admin@blindi.net"/> <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="landline,mobile,sonder,0180,ausland"/> <variable name="accountcode" value="1001"/> <variable name="default_language" value="de"/> <variable name="user_context" value="default"/> <variable name="effective_caller_id_name" value="Extension 1001"/> <variable name="effective_caller_id_number" value="1001"/> <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>
Fs ignore the maildelivery Can you help please?
--------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
_________________________________________________________________________ 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
_________________________________________________________________________ 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
You do need to check that you can send an email outside of FS as FS does very little error reporting on emails. Basically, once the email is accepted for queueing, FS has lost interest. To test outside FS, try first a minimal email in a text file: --email.txt---8<------------------------- From: <freeswitch@mydomain.com> To: <testuser@mydomain.com> Date: Thu, 2 Feb 2012 13:13:40 +0100 Subject: Test 131340 (I always put a timestamp in the subject line when testing email due to the queueing and routing and stuff) Minimal test email 131340 ---------------8<--------------------------- Then send it from the command line with (on one line): # cat email.txt | sendmail -f freeswitch@mydomain.com testuser@mydomain.com They nearly all have a 'sendmail' alias even if they are not sendmail itself. Depending on the local mail server you are using, you may have to include the -t switch which extracts the To address(es) from the message itself. If you don't have a sendmail installed, you can choose from a wide variety, but I would recommend nullmailer or ssmtp if you only need to originate email. ssmtp has advantages over nullmailer if you need to connect to a MTA that requires authentication and/or SSL/TLS. Once that works, transfer your settings into conf/autoload_configs/switch.conf.xml eg <param name="mailer-app" value="sendmail"/> <param name="mailer-app-args" value="-f freeswitch@mydomain.com"/> (I am using ssmtp which barfs with -t but needs -f.) Note that if you need to run sendmail with no args, explicitly state them as <param name="mailer-app-args" value="" /> as the default if not specified is to use "-t". Hope that helps. Maybe I should put this on the wiki... John On 02/02/12 12:13, Henrik Aagaard Sørensen wrote:
Perhaps stupid answer, but have you installed sendmail or similar?
On Thu, Feb 2, 2012 at 12:58 PM, Rob Morin<rmorin@blie-ent.com> wrote:
I think you're missing the email address:
<param name="vm-mailto" value="xxxx@yyy.com" />
The<param name="vm-notify-mailto" value="admin@blindi.net"/> isn't going to send any voicemails, just send a notification that there are voicemails.
You might also need to look in your system log - there're problems with certain platforms sending emails. They'll show up in the system log as a segfault.
Good luck,
Rob
From: DJB International [mailto:djbinter@gmail.com] Sent: Wednesday, February 01, 2012 11:06 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Fs ignoring voicemail to email
Did you check your maillog? Try to see whether it reached your mail server.
-djbinter
On Wed, Feb 1, 2012 at 7:04 PM, Thomas Hoellriegel<admin@blindi.net> wrote:
Hi all, I have setup a useraccount. But Fs don.t send my Voicemails to the emialadress. my useraccount settings is:
<include> <user id="1001"> <params> <param name="password" value="my_password"/> <param name="vm-password" value="1234"/> <param name="vm-enabled" value="true"/> <param name="vm-skip-instructions" value="true"/> <param name="vm-disk-quota" value="3600"/> <param name="vm-notify-mailto" value="admin@blindi.net"/> <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="landline,mobile,sonder,0180,ausland"/> <variable name="accountcode" value="1001"/> <variable name="default_language" value="de"/> <variable name="user_context" value="default"/> <variable name="effective_caller_id_name" value="Extension 1001"/> <variable name="effective_caller_id_number" value="1001"/> <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>
Fs ignore the maildelivery Can you help please?
--------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
_________________________________________________________________________ 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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
On 02/02/12 16:46, Michael Collins wrote:
Hope that helps. Maybe I should put this on the wiki...
No maybe about - definitely throw that up on the wiki! :) -MC
New sections in mod_voicemail wiki page on sSMTP and debugging external mailers. Open to constructive criticism... John
Am 02.02.12 um 13:49 schrieb John:
You do need to check that you can send an email outside of FS as FS does very little error reporting on emails. Basically, once the email is
Thanks, yes i can send mails outside from fs. Postfix log this acton under: /var/log/mail.log.
Once that works, transfer your settings into conf/autoload_configs/switch.conf.xml
Maildelivery don.t works. I don.t understand this error. Postfix give no actionlog, the The voicemail did.nt send to my adress. why is the problem please? Thanks.
--------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
Are you using the latest git? There was a bug a few weeks ago for a short while where temporary files were being misnamed and email from FS failed for those FS installations where bin/freeswitch was running as a non-root user. John On 03/02/12 03:13, Thomas Hoellriegel wrote:
Am 02.02.12 um 13:49 schrieb John:
You do need to check that you can send an email outside of FS as FS does very little error reporting on emails. Basically, once the email is
Thanks, yes i can send mails outside from fs.
Postfix log this acton under: /var/log/mail.log.
Once that works, transfer your settings into conf/autoload_configs/switch.conf.xml
Maildelivery don.t works. I don.t understand this error. Postfix give no actionlog, the The voicemail did.nt send to my adress. why is the problem please? Thanks.
--------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
_________________________________________________________________________ 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
Hi John, thanks for your nice help. I have update the gitversion. And i have all the user re-edited. The uservariables are now: <user id="1000"> <params> <param name="password" value="00498925007676"/> <param name="vm-password" value="4711"/> <param name="vm-enabled" value="true"/> <param name="vm-skip-instructions" value="true"/> <param name="vm-disk-quota" value="3600"/> <param name="vm-mailto" value="admin@blindi.net"/> <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="landline,mobile,sonder,0180,ausland"/> <variable name="accountcode" value="1001"/> <variable name="default_language" value="de"/> <variable name="user_context" value="default"/> <variable name="effective_caller_id_name" value="Extension 1000"/> <variable name="effective_caller_id_number" value="1000"/> <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> my settings in: /usr/local/freeswitch/conf/autoload_configs/switch.conf.xml <param name="mailer-app" value="/usr/sbin/sendmail"/> <param name="mailer-app-args" value="-t"/> Its works fine!! --------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
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 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!
As I suggested, the voicemail itself won't be sent to the address provided by <param name="vm-notify-mailto">. You have to use <param name="vm-mailto" value="blindi@gmx.net">. That said, you *should* be receiving text messages because of the "vm-notify-mailto" parameter, which apparently you aren't. In your conf/autoload_configs/switch.conf.xml file, what do you have for <param name="mailer-app"... and <param name="mailer-app-args"...? Those need to be configured properly for your mailer app. I'm not familiar with what to use for debian/postfix, so that's as far as I can help. Good luck, Rob -----Original Message----- From: Thomas Hoellriegel [mailto:admin@blindi.net] Sent: Thursday, February 02, 2012 10:14 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] Fs ignoring voicemail to email Am 02.02.12 um 13:49 schrieb John:
You do need to check that you can send an email outside of FS as FS does very little error reporting on emails. Basically, once the email is
Thanks, yes i can send mails outside from fs. Postfix log this acton under: /var/log/mail.log.
Once that works, transfer your settings into conf/autoload_configs/switch.conf.xml
Maildelivery don.t works. I don.t understand this error. Postfix give no actionlog, the The voicemail did.nt send to my adress. why is the problem please? Thanks.
--------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
Hi rob, thanks for your nice Message Unfortunately I did not know the difference. --------------- Du kannst mich jederzeit kostenlos per Festnetz erreichen unter: http://www.blindi.net/callback homepage: http://www.blindi.net blinde-misc mailingliste für blinde. anmeldung unter: http://www.blindi.net/mailman/listinfo/blinde-misc
Am 02.02.12 um 13:13 schrieb Henrik Aagaard Sørensen:
Perhaps stupid answer, but have you installed sendmail or similar?
yes, i install postfix. Postfix is working, but i have not action in my logfile "/var/log/mail.log" I using debian squeeze And my Mailadress is defined in the directoryuse: <param name="vm-notify-mailto" value="blindi@gmx.net"/>>
participants (8)
-
Balamurugan Mahendran
-
DJB International
-
Henrik Aagaard Sørensen
-
John
-
Louie Liu
-
Michael Collins
-
Rob Morin
-
Thomas Hoellriegel