[Freeswitch-users] Fs ignoring voicemail to email
John
freeswitch at earthspike.net
Thu Feb 2 16:49:54 MSK 2012
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 at mydomain.com>
To: <testuser at 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 at mydomain.com testuser at 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 at 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 at blie-ent.com> wrote:
>> I think you're missing the email address:
>>
>> <param name="vm-mailto" value="xxxx at yyy.com" />
>>
>>
>>
>> The<param name="vm-notify-mailto" value="admin at 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 at 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 at 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 at 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 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
>>
>>
>>
>>
>> _________________________________________________________________________
>> 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
>>
> _________________________________________________________________________
> 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
>
>
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list