thedss@ntlworld.com
2007-Jun-02 14:38 UTC
[asterisk-users] System Application, Fail/Timeout Issue
Does the System() dialplan application have a limit on how long it can run? Either a time limit, or server load limit? I'm trying to pipe the output of Sphinx2 into Text2Wave, but Asterisk just runs by it to the next extension priority, with no errors. If I run the same command via the system shell, all is good, though it does take a few seconds, probably about 5 seconds to run. Yes, it's a slowish machine. Another example is, I have some text being piped out to Text2Wave, then played back using Playback(), and this works fine. If I increase the text input by another sentence, the same problem as above occurs... Asterisk just skips by to the next extension priority. I'm using Asterisk v1.2.13 on FreeBSD v6.0. ----------------------------------------- Email sent from www.virginmedia.com/email Virus-checked using McAfee(R) Software and scanned for spam
thedss@ntlworld.com wrote:> Does the System() dialplan application have a limit on how long it can run? Either a time limit, or server load limit? > > I'm trying to pipe the output of Sphinx2 into Text2Wave, but Asterisk just runs by it to the next extension priority, with no errors. > > If I run the same command via the system shell, all is good, though it does take a few seconds, probably about 5 seconds to run. Yes, it's a slowish machine. > > Another example is, I have some text being piped out to Text2Wave, then played back using Playback(), and this works fine. If I increase the text input by another sentence, the same problem as above occurs... Asterisk just skips by to the next extension priority. > > I'm using Asterisk v1.2.13 on FreeBSD v6.0. >Hi, Maybe check your timeouts? AbsoluteTimeout and maybe also rtpholdtimeout and rtptimeout as well. -- Warm Regards, Lee
thedss@ntlworld.com
2007-Jun-03 05:13 UTC
[asterisk-users] System Application, Fail/Timeout Issue
Thank you. Seems the rtptimeout did the trick. Sphinx2 doesn't always manage to work out what i'm saying but when it does, everything works. Thanks again. ----------------------------------------- Email sent from www.virginmedia.com/email Virus-checked using McAfee(R) Software and scanned for spam