Hello, we are running freeswitch 1.0.trunk and are currently trying to get the mod_voicemail to send the received messages to the user by using exim4 on a debian machine. So far we followed the instructions in the wiki article ( http://wiki.freeswitch.org/wiki/Mod_voicemail ). I added some lines to the bash script to enable some kind of logging: #! /bin/bash typeset LOG="/tmp/${0##*/}.out" mv $LOG ${LOG}.old >/dev/null 2>&1 [[ -t 1 ]] && echo "Writing to logfile '$LOG'." exec > $LOG 2>&1 exim4 -t -v >> $LOG If I run the script from the command line everything is working as expected. If the script gets called by freeswitch I get the following result in my logfile: /usr/local/freeswitch/scripts/exec_exim.sh: line 6: 4920 Segmentation fault (core dumped) exim4 -t -v >> $LOG Has anybody seen similar effects before? Any advice whats going wrong is heavily appreciated. Thanks Oliver
What SVN rev. exactly? /b On Dec 17, 2009, at 10:13 AM, Oliver Schönbeck wrote:
Hello,
we are running freeswitch 1.0.trunk and are currently trying to get the mod_voicemail to send the received messages to the user by using exim4 on a debian machine.
So far we followed the instructions in the wiki article ( http://wiki.freeswitch.org/wiki/Mod_voicemail ).
I added some lines to the bash script to enable some kind of logging: #! /bin/bash typeset LOG="/tmp/${0##*/}.out" mv $LOG ${LOG}.old >/dev/null 2>&1 [[ -t 1 ]] && echo "Writing to logfile '$LOG'." exec > $LOG 2>&1 exim4 -t -v >> $LOG
If I run the script from the command line everything is working as expected. If the script gets called by freeswitch I get the following result in my logfile: /usr/local/freeswitch/scripts/exec_exim.sh: line 6: 4920 Segmentation fault (core dumped) exim4 -t -v >> $LOG
Has anybody seen similar effects before?
Any advice whats going wrong is heavily appreciated.
Thanks Oliver
_______________________________________________ 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
Currently it is Version 1.0.trunk (15982) Von: freeswitch-users-bounces@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] Im Auftrag von Brian West Gesendet: Donnerstag, 17. Dezember 2009 17:17 An: freeswitch-users@lists.freeswitch.org Betreff: Re: [Freeswitch-users] Voicemail->Email What SVN rev. exactly? /b On Dec 17, 2009, at 10:13 AM, Oliver Schönbeck wrote: Hello, we are running freeswitch 1.0.trunk and are currently trying to get the mod_voicemail to send the received messages to the user by using exim4 on a debian machine. So far we followed the instructions in the wiki article ( http://wiki.freeswitch.org/wiki/Mod_voicemail ). I added some lines to the bash script to enable some kind of logging: #! /bin/bash typeset LOG="/tmp/${0##*/}.out" mv $LOG ${LOG}.old >/dev/null 2>&1 [[ -t 1 ]] && echo "Writing to logfile '$LOG'." exec > $LOG 2>&1 exim4 -t -v >> $LOG If I run the script from the command line everything is working as expected. If the script gets called by freeswitch I get the following result in my logfile: /usr/local/freeswitch/scripts/exec_exim.sh: line 6: 4920 Segmentation fault (core dumped) exim4 -t -v >> $LOG Has anybody seen similar effects before? Any advice whats going wrong is heavily appreciated. Thanks Oliver _______________________________________________ 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
Hello Oliver, I have the same on Ubuntu wth newest trunk. Best regards Peter Oliver Schönbeck schrieb:
Hello,
we are running freeswitch 1.0.trunk and are currently trying to get the mod_voicemail to send the received messages to the user by using exim4 on a debian machine.
So far we followed the instructions in the wiki article ( http://wiki.freeswitch.org/wiki/Mod_voicemail ).
I added some lines to the bash script to enable some kind of logging: #! /bin/bash
typeset LOG="/tmp/${0##*/}.out"
mv $LOG ${LOG}.old >/dev/null 2>&1
[[ -t 1 ]] && echo "Writing to logfile '$LOG'."
exec > $LOG 2>&1
exim4 -t -v >> $LOG
If I run the script from the command line everything is working as expected. If the script gets called by freeswitch I get the following result in my logfile:
/usr/local/freeswitch/scripts/exec_exim.sh: line 6: 4920 Segmentation fault (core dumped) exim4 -t -v >> $LOG
Has anybody seen similar effects before?
Any advice whats going wrong is heavily appreciated.
Thanks
Oliver
------------------------------------------------------------------------
_______________________________________________ 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
yah it's exim segfaulting because you have to configure it to emulate sendmail per the wiki page. On Thu, Dec 17, 2009 at 4:17 PM, Peter P GMX <Prometheus001@gmx.net> wrote:
Hello Oliver,
I have the same on Ubuntu wth newest trunk.
Best regards Peter
Oliver Schönbeck schrieb:
Hello,
we are running freeswitch 1.0.trunk and are currently trying to get the mod_voicemail to send the received messages to the user by using exim4 on a debian machine.
So far we followed the instructions in the wiki article ( http://wiki.freeswitch.org/wiki/Mod_voicemail ).
I added some lines to the bash script to enable some kind of logging: #! /bin/bash
typeset LOG="/tmp/${0##*/}.out"
mv $LOG ${LOG}.old >/dev/null 2>&1
[[ -t 1 ]] && echo "Writing to logfile '$LOG'."
exec > $LOG 2>&1
exim4 -t -v >> $LOG
If I run the script from the command line everything is working as expected. If the script gets called by freeswitch I get the following result in my logfile:
/usr/local/freeswitch/scripts/exec_exim.sh: line 6: 4920 Segmentation fault (core dumped) exim4 -t -v >> $LOG
Has anybody seen similar effects before?
Any advice whats going wrong is heavily appreciated.
Thanks
Oliver
------------------------------------------------------------------------
_______________________________________________ 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
_______________________________________________ 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
-- Anthony Minessale II FreeSWITCH http://www.freeswitch.org/ ClueCon http://www.cluecon.com/ Twitter: http://twitter.com/FreeSWITCH_wire AIM: anthm MSN:anthony_minessale@hotmail.com <MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net #freeswitch FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:+19193869900
participants (4)
-
Anthony Minessale
-
Brian West
-
Oliver Schönbeck
-
Peter P GMX