XML-RPC on different ip than 0.0.0.0
Hello, is there any chance to limit the listening ips of the xml-rpc server (which is currently 0.0.0.0) to another one (e.g. 127.0.0.1)? Best regards Peter
there is a configuration option in the xml file to control which ip it binds to. On Mon, Aug 24, 2009 at 6:25 AM, Peter P GMX <Prometheus001@gmx.net> wrote:
Hello,
is there any chance to limit the listening ips of the xml-rpc server (which is currently 0.0.0.0) to another one (e.g. 127.0.0.1)?
Best regards Peter
_______________________________________________ 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:213-799-1400
Any clue which one? I could not identify it, also looked into the sources. Best regards Peter Anthony Minessale schrieb:
there is a configuration option in the xml file to control which ip it binds to.
On Mon, Aug 24, 2009 at 6:25 AM, Peter P GMX <Prometheus001@gmx.net <mailto:Prometheus001@gmx.net>> wrote:
Hello,
is there any chance to limit the listening ips of the xml-rpc server (which is currently 0.0.0.0) to another one (e.g. 127.0.0.1)?
Best regards Peter
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto: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 <mailto:MSN%3Aanthony_minessale@hotmail.com> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com <mailto:PAYPAL%3Aanthony.minessale@gmail.com> IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <mailto:sip%3A888@conference.freeswitch.org> iax:guest@conference.freeswitch.org/888 <http://iax:guest@conference.freeswitch.org/888> googletalk:conf+888@conference.freeswitch.org <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org> pstn:213-799-1400 ------------------------------------------------------------------------
_______________________________________________ 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
oh yeah, it's only the port they let you pick it looks like they don't let you pick ip in the abyss code, it would require an intrusive patch into that depend lib to allow you to set that. On Mon, Aug 24, 2009 at 4:17 PM, Peter P GMX <Prometheus001@gmx.net> wrote:
Any clue which one? I could not identify it, also looked into the sources.
Best regards Peter
Anthony Minessale schrieb:
there is a configuration option in the xml file to control which ip it binds to.
On Mon, Aug 24, 2009 at 6:25 AM, Peter P GMX <Prometheus001@gmx.net <mailto:Prometheus001@gmx.net>> wrote:
Hello,
is there any chance to limit the listening ips of the xml-rpc server (which is currently 0.0.0.0) to another one (e.g. 127.0.0.1)?
Best regards Peter
_______________________________________________ FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org <mailto: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> <mailto:MSN%3Aanthony_minessale@hotmail.com<MSN%253Aanthony_minessale@hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com> <mailto:PAYPAL%3Aanthony.minessale@gmail.com<PAYPAL%253Aanthony.minessale@gmail.com>
IRC: irc.freenode.net <http://irc.freenode.net> #freeswitch
FreeSWITCH Developer Conference sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org> <mailto:sip%3A888@conference.freeswitch.org<sip%253A888@conference.freeswitch.org>
iax:guest@conference.freeswitch.org/888 <http://iax:guest@conference.freeswitch.org/888> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org> <mailto:googletalk%3Aconf%2B888@conference.freeswitch.org<googletalk%253Aconf%252B888@conference.freeswitch.org>
pstn:213-799-1400 ------------------------------------------------------------------------
_______________________________________________ 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:213-799-1400
Dear all, In one of the applications I am writing I need to convert a recorded wav to mp3. After using session.recordFile() and obtaining a foo.wav file, I am calling session.execute("system",lmLameCmd); to invoke lame for the conversion. The system command looks like this: lmLameCmd = "/usr/local/freeswitch/bin/lame -V2 foo.wav foo.mp3 -S"; Here it comes the mystery. I am use lame 3.98.2 the mp3 file never appears, if I use version 3.97 (older version), it does!. If I execute the conversion from the command line, i get the mp3 with both 3.97 and 3.98.2 In fact, i am considering doing the conversions as background job, but I am very curious to hear if this behavior has a pseudo-scientific explanation /aep -- Stopping junk mailers is good for the environment
Try running it at the CLI and see if you see any errors. Also please do not hijack threads. The original thread "[Freeswitch-users] XML- RPC on different ip than 0.0.0.0" which was hijacked by clicking reply, changing the subject and clicking send. Please in the future do not do that as it clutters up the threading and could get your query lost in the noise. Thanks, Brian On Aug 25, 2009, at 1:54 AM, Alberto Escudero-Pascual (lists) wrote:
Here it comes the mystery. I am use lame 3.98.2 the mp3 file never appears, if I use version 3.97 (older version), it does!.
Hi Brian,
From the CLI>
freeswitch@open46> system /usr/local/freeswitch/bin/lame -V2 /tmp/foo.wav /tmp/foo.mp3 -S 2009-08-25 22:41:51.556484 [NOTICE] mod_commands.c:3386 Executing command: /usr/local/freeswitch/bin/lame -V2 /tmp/foo.wav /tmp/foo.mp3 -S API CALL [system(/usr/local/freeswitch/bin/lame -V2 /tmp/foo.wav /tmp/foo.mp3 -S)] output: +OK open46:/tmp# ls foo.wav and running the command from the command line: open46:/tmp# /usr/local/freeswitch/bin/lame -V2 /tmp/foo.wav /tmp/foo.mp3 -Sopen46:/tmp# ls foo.mp3 foo.wav If I do the same with lame397 freeswitch@open46> system /usr/local/freeswitch/bin/lame397 -V2 /tmp/foo.wav /tmp/foo.mp3 -S 2009-08-25 22:44:32.743998 [NOTICE] mod_commands.c:3386 Executing command: /usr/local/freeswitch/bin/lame397 -V2 /tmp/foo.wav /tmp/foo.mp3 -S API CALL [system(/usr/local/freeswitch/bin/lame397 -V2 /tmp/foo.wav /tmp/foo.mp3 -S)] output: +OK open46:/tmp# ls foo.mp3 foo.wav Highly paranormal! Sorry for hijacking the previous thread. /aep -- Stopping junk mailers is good for the environment
Try running it at the CLI and see if you see any errors. Also please do not hijack threads. The original thread "[Freeswitch-users] XML- RPC on different ip than 0.0.0.0" which was hijacked by clicking reply, changing the subject and clicking send. Please in the future do not do that as it clutters up the threading and could get your query lost in the noise.
Thanks, Brian
On Aug 25, 2009, at 1:54 AM, Alberto Escudero-Pascual (lists) wrote:
Here it comes the mystery. I am use lame 3.98.2 the mp3 file never appears, if I use version 3.97 (older version), it does!.
_______________________________________________ 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
maybe it's writing some err to stderr that is being suppressed somehow On Tue, Aug 25, 2009 at 3:46 PM, Alberto Escudero-Pascual (lists) < aep.lists@it46.se> wrote:
Hi Brian,
From the CLI>
freeswitch@open46> system /usr/local/freeswitch/bin/lame -V2 /tmp/foo.wav /tmp/foo.mp3 -S 2009-08-25 22:41:51.556484 [NOTICE] mod_commands.c:3386 Executing command: /usr/local/freeswitch/bin/lame -V2 /tmp/foo.wav /tmp/foo.mp3 -S API CALL [system(/usr/local/freeswitch/bin/lame -V2 /tmp/foo.wav /tmp/foo.mp3 -S)] output: +OK
open46:/tmp# ls foo.wav
and running the command from the command line:
open46:/tmp# /usr/local/freeswitch/bin/lame -V2 /tmp/foo.wav /tmp/foo.mp3 -Sopen46:/tmp# ls foo.mp3 foo.wav
If I do the same with lame397
freeswitch@open46> system /usr/local/freeswitch/bin/lame397 -V2 /tmp/foo.wav /tmp/foo.mp3 -S 2009-08-25 22:44:32.743998 [NOTICE] mod_commands.c:3386 Executing command: /usr/local/freeswitch/bin/lame397 -V2 /tmp/foo.wav /tmp/foo.mp3 -S API CALL [system(/usr/local/freeswitch/bin/lame397 -V2 /tmp/foo.wav /tmp/foo.mp3 -S)] output: +OK
open46:/tmp# ls foo.mp3 foo.wav
Highly paranormal! Sorry for hijacking the previous thread.
/aep
-- Stopping junk mailers is good for the environment
Try running it at the CLI and see if you see any errors. Also please do not hijack threads. The original thread "[Freeswitch-users] XML- RPC on different ip than 0.0.0.0" which was hijacked by clicking reply, changing the subject and clicking send. Please in the future do not do that as it clutters up the threading and could get your query lost in the noise.
Thanks, Brian
On Aug 25, 2009, at 1:54 AM, Alberto Escudero-Pascual (lists) wrote:
Here it comes the mystery. I am use lame 3.98.2 the mp3 file never appears, if I use version 3.97 (older version), it does!.
_______________________________________________ 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:213-799-1400
I ran strace from freeswitch and from the command line. lame segfaults when run from system FS. The only obvious different i see is in the execve() /* XX vars */ apart from the final Segfault From execve("/usr/local/freeswitch/bin/lame", ["/usr/local/freeswitch/bin/lame", "/tmp/foo.wav", "/tmp/foo.mp3", "-S"], [/* 16 vars */]) = 0
From FS execve("/usr/local/freeswitch/bin/lame", ["/usr/local/freeswitch/bin/lame", "/tmp/foo.wav", "/tmp/fooooooooooooooo.mp3", "-S"], [/* 14 vars */]) = 0
I am attaching the full straces in case they are of any help. Not sure if this deserves a jira /aep -- Stopping junk mailers is good for the environment
maybe it's writing some err to stderr that is being suppressed somehow
On Tue, Aug 25, 2009 at 3:46 PM, Alberto Escudero-Pascual (lists) < aep.lists@it46.se> wrote:
Hi Brian,
From the CLI>
freeswitch@open46> system /usr/local/freeswitch/bin/lame -V2 /tmp/foo.wav /tmp/foo.mp3 -S 2009-08-25 22:41:51.556484 [NOTICE] mod_commands.c:3386 Executing command: /usr/local/freeswitch/bin/lame -V2 /tmp/foo.wav /tmp/foo.mp3 -S API CALL [system(/usr/local/freeswitch/bin/lame -V2 /tmp/foo.wav /tmp/foo.mp3 -S)] output: +OK
open46:/tmp# ls foo.wav
and running the command from the command line:
open46:/tmp# /usr/local/freeswitch/bin/lame -V2 /tmp/foo.wav /tmp/foo.mp3 -Sopen46:/tmp# ls foo.mp3 foo.wav
If I do the same with lame397
freeswitch@open46> system /usr/local/freeswitch/bin/lame397 -V2 /tmp/foo.wav /tmp/foo.mp3 -S 2009-08-25 22:44:32.743998 [NOTICE] mod_commands.c:3386 Executing command: /usr/local/freeswitch/bin/lame397 -V2 /tmp/foo.wav /tmp/foo.mp3 -S API CALL [system(/usr/local/freeswitch/bin/lame397 -V2 /tmp/foo.wav /tmp/foo.mp3 -S)] output: +OK
open46:/tmp# ls foo.mp3 foo.wav
Highly paranormal! Sorry for hijacking the previous thread.
/aep
-- Stopping junk mailers is good for the environment
Try running it at the CLI and see if you see any errors. Also please do not hijack threads. The original thread "[Freeswitch-users] XML- RPC on different ip than 0.0.0.0" which was hijacked by clicking reply, changing the subject and clicking send. Please in the future do not do that as it clutters up the threading and could get your query lost in the noise.
Thanks, Brian
On Aug 25, 2009, at 1:54 AM, Alberto Escudero-Pascual (lists) wrote:
Here it comes the mystery. I am use lame 3.98.2 the mp3 file never appears, if I use version 3.97 (older version), it does!.
_______________________________________________ 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:213-799-1400 _______________________________________________ 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
Running out of stack space? The stack space we run freeswitch in is fairly small. Programs launched from the freeswitch process inherit this. Mike On Aug 26, 2009, at 4:28 AM, Alberto Escudero-Pascual (lists) wrote:
I ran strace from freeswitch and from the command line. lame segfaults when run from system FS.
The only obvious different i see is in the execve() /* XX vars */ apart from the final Segfault
From execve("/usr/local/freeswitch/bin/lame", ["/usr/local/freeswitch/bin/lame", "/tmp/foo.wav", "/tmp/foo.mp3", "- S"], [/* 16 vars */]) = 0
From FS execve("/usr/local/freeswitch/bin/lame", ["/usr/local/freeswitch/bin/lame", "/tmp/foo.wav", "/tmp/fooooooooooooooo.mp3", "-S"], [/* 14 vars */]) = 0
I am attaching the full straces in case they are of any help. Not sure if this deserves a jira
/aep -- Stopping junk mailers is good for the environment
maybe it's writing some err to stderr that is being suppressed somehow
On Tue, Aug 25, 2009 at 3:46 PM, Alberto Escudero-Pascual (lists) < aep.lists@it46.se> wrote:
Hi Brian,
From the CLI>
freeswitch@open46> system /usr/local/freeswitch/bin/lame -V2 /tmp/foo.wav /tmp/foo.mp3 -S 2009-08-25 22:41:51.556484 [NOTICE] mod_commands.c:3386 Executing command: /usr/local/freeswitch/bin/lame -V2 /tmp/foo.wav /tmp/foo.mp3 -S API CALL [system(/usr/local/freeswitch/bin/lame -V2 /tmp/foo.wav /tmp/foo.mp3 -S)] output: +OK
open46:/tmp# ls foo.wav
and running the command from the command line:
open46:/tmp# /usr/local/freeswitch/bin/lame -V2 /tmp/foo.wav /tmp/foo.mp3 -Sopen46:/tmp# ls foo.mp3 foo.wav
If I do the same with lame397
freeswitch@open46> system /usr/local/freeswitch/bin/lame397 -V2 /tmp/foo.wav /tmp/foo.mp3 -S 2009-08-25 22:44:32.743998 [NOTICE] mod_commands.c:3386 Executing command: /usr/local/freeswitch/bin/lame397 -V2 /tmp/foo.wav /tmp/foo.mp3 -S API CALL [system(/usr/local/freeswitch/bin/lame397 -V2 /tmp/foo.wav /tmp/foo.mp3 -S)] output: +OK
open46:/tmp# ls foo.mp3 foo.wav
Highly paranormal! Sorry for hijacking the previous thread.
/aep
-- Stopping junk mailers is good for the environment
Try running it at the CLI and see if you see any errors. Also please do not hijack threads. The original thread "[Freeswitch-users] XML- RPC on different ip than 0.0.0.0" which was hijacked by clicking reply, changing the subject and clicking send. Please in the future do not do that as it clutters up the threading and could get your query lost in the noise.
Thanks, Brian
On Aug 25, 2009, at 1:54 AM, Alberto Escudero-Pascual (lists) wrote:
Here it comes the mystery. I am use lame 3.98.2 the mp3 file never appears, if I use version 3.97 (older version), it does!.
_______________________________________________ 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:213-799-1400 _______________________________________________ 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
<lame_strace.txt>_______________________________________________ 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 run into this problem before. Don't remember the exact error but might be segfault of lame runing in freeswitch-lua. If you use Linux you would like to try iwatch. It's a perl program watching your file system and can execute the lame command as soon as it got the CLOSE_WRITE(or other) filesystem event. On Aug 26, 2009, at 4:44 PM, Michael Jerris wrote:
Running out of stack space? The stack space we run freeswitch in is fairly small. Programs launched from the freeswitch process inherit this.
Mike
On Aug 26, 2009, at 4:28 AM, Alberto Escudero-Pascual (lists) wrote:
I ran strace from freeswitch and from the command line. lame segfaults when run from system FS.
The only obvious different i see is in the execve() /* XX vars */ apart from the final Segfault
From execve("/usr/local/freeswitch/bin/lame", ["/usr/local/freeswitch/bin/lame", "/tmp/foo.wav", "/tmp/foo.mp3", "- S"], [/* 16 vars */]) = 0
From FS execve("/usr/local/freeswitch/bin/lame", ["/usr/local/freeswitch/bin/lame", "/tmp/foo.wav", "/tmp/fooooooooooooooo.mp3", "-S"], [/* 14 vars */]) = 0
I am attaching the full straces in case they are of any help. Not sure if this deserves a jira
/aep -- Stopping junk mailers is good for the environment
maybe it's writing some err to stderr that is being suppressed somehow
On Tue, Aug 25, 2009 at 3:46 PM, Alberto Escudero-Pascual (lists) < aep.lists@it46.se> wrote:
Hi Brian,
From the CLI>
freeswitch@open46> system /usr/local/freeswitch/bin/lame -V2 /tmp/foo.wav /tmp/foo.mp3 -S 2009-08-25 22:41:51.556484 [NOTICE] mod_commands.c:3386 Executing command: /usr/local/freeswitch/bin/lame -V2 /tmp/foo.wav /tmp/foo.mp3 -S API CALL [system(/usr/local/freeswitch/bin/lame -V2 /tmp/foo.wav /tmp/foo.mp3 -S)] output: +OK
open46:/tmp# ls foo.wav
and running the command from the command line:
open46:/tmp# /usr/local/freeswitch/bin/lame -V2 /tmp/foo.wav /tmp/foo.mp3 -Sopen46:/tmp# ls foo.mp3 foo.wav
If I do the same with lame397
freeswitch@open46> system /usr/local/freeswitch/bin/lame397 -V2 /tmp/foo.wav /tmp/foo.mp3 -S 2009-08-25 22:44:32.743998 [NOTICE] mod_commands.c:3386 Executing command: /usr/local/freeswitch/bin/lame397 -V2 /tmp/foo.wav /tmp/foo.mp3 -S API CALL [system(/usr/local/freeswitch/bin/lame397 -V2 /tmp/foo.wav /tmp/foo.mp3 -S)] output: +OK
open46:/tmp# ls foo.mp3 foo.wav
Highly paranormal! Sorry for hijacking the previous thread.
/aep
-- Stopping junk mailers is good for the environment
Try running it at the CLI and see if you see any errors. Also please do not hijack threads. The original thread "[Freeswitch-users] XML- RPC on different ip than 0.0.0.0" which was hijacked by clicking reply, changing the subject and clicking send. Please in the future do not do that as it clutters up the threading and could get your query lost in the noise.
Thanks, Brian
On Aug 25, 2009, at 1:54 AM, Alberto Escudero-Pascual (lists) wrote:
Here it comes the mystery. I am use lame 3.98.2 the mp3 file never appears, if I use version 3.97 (older version), it does!.
_______________________________________________ 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:213-799-1400 _______________________________________________ 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
<lame_strace.txt>_______________________________________________ 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
Hi Steven, Sounds like a very good tip. Do you have any example available to share? I will be happy to upload it to the wiki when i put it up and running. /aep -- Stopping junk mailers is good for the environment
I run into this problem before. Don't remember the exact error but might be segfault of lame runing in freeswitch-lua.
If you use Linux you would like to try iwatch. It's a perl program watching your file system and can execute the lame command as soon as it got the CLOSE_WRITE(or other) filesystem event.
On Aug 26, 2009, at 4:44 PM, Michael Jerris wrote:
Running out of stack space? The stack space we run freeswitch in is fairly small. Programs launched from the freeswitch process inherit this.
Mike
On Aug 26, 2009, at 4:28 AM, Alberto Escudero-Pascual (lists) wrote:
I ran strace from freeswitch and from the command line. lame segfaults when run from system FS.
The only obvious different i see is in the execve() /* XX vars */ apart from the final Segfault
From execve("/usr/local/freeswitch/bin/lame", ["/usr/local/freeswitch/bin/lame", "/tmp/foo.wav", "/tmp/foo.mp3", "- S"], [/* 16 vars */]) = 0
From FS execve("/usr/local/freeswitch/bin/lame", ["/usr/local/freeswitch/bin/lame", "/tmp/foo.wav", "/tmp/fooooooooooooooo.mp3", "-S"], [/* 14 vars */]) = 0
I am attaching the full straces in case they are of any help. Not sure if this deserves a jira
/aep -- Stopping junk mailers is good for the environment
maybe it's writing some err to stderr that is being suppressed somehow
On Tue, Aug 25, 2009 at 3:46 PM, Alberto Escudero-Pascual (lists) < aep.lists@it46.se> wrote:
Hi Brian,
From the CLI>
freeswitch@open46> system /usr/local/freeswitch/bin/lame -V2 /tmp/foo.wav /tmp/foo.mp3 -S 2009-08-25 22:41:51.556484 [NOTICE] mod_commands.c:3386 Executing command: /usr/local/freeswitch/bin/lame -V2 /tmp/foo.wav /tmp/foo.mp3 -S API CALL [system(/usr/local/freeswitch/bin/lame -V2 /tmp/foo.wav /tmp/foo.mp3 -S)] output: +OK
open46:/tmp# ls foo.wav
and running the command from the command line:
open46:/tmp# /usr/local/freeswitch/bin/lame -V2 /tmp/foo.wav /tmp/foo.mp3 -Sopen46:/tmp# ls foo.mp3 foo.wav
If I do the same with lame397
freeswitch@open46> system /usr/local/freeswitch/bin/lame397 -V2 /tmp/foo.wav /tmp/foo.mp3 -S 2009-08-25 22:44:32.743998 [NOTICE] mod_commands.c:3386 Executing command: /usr/local/freeswitch/bin/lame397 -V2 /tmp/foo.wav /tmp/foo.mp3 -S API CALL [system(/usr/local/freeswitch/bin/lame397 -V2 /tmp/foo.wav /tmp/foo.mp3 -S)] output: +OK
open46:/tmp# ls foo.mp3 foo.wav
Highly paranormal! Sorry for hijacking the previous thread.
/aep
-- Stopping junk mailers is good for the environment
Try running it at the CLI and see if you see any errors. Also please do not hijack threads. The original thread "[Freeswitch-users] XML- RPC on different ip than 0.0.0.0" which was hijacked by clicking reply, changing the subject and clicking send. Please in the future do not do that as it clutters up the threading and could get your query lost in the noise.
Thanks, Brian
On Aug 25, 2009, at 1:54 AM, Alberto Escudero-Pascual (lists) wrote:
> Here it comes the mystery. I am use lame 3.98.2 the mp3 file > never > appears, if I use version 3.97 (older version), it does!.
_______________________________________________ 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:213-799-1400 _______________________________________________ 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
<lame_strace.txt>_______________________________________________ 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
_______________________________________________ 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
participants (7)
-
Alberto Escudero
-
Alberto Escudero-Pascual (lists)
-
Anthony Minessale
-
Brian West
-
Michael Jerris
-
Peter P GMX
-
Seven Du