Dan
2003-Jul-31 09:23 UTC
[Asterisk-Users] 'System' application exit with error even if it performs the job as expected
Hi, When I try to run the command wmix to mix two WAV files recorded by the Monitor application I get the following warning in the console and the macro exit at that point. Running the command from a standard system console it works. More, even from this macro it works and produce a valid mixed file, but still get that error and the macro cannot continue. Why? I have tried even with a simple wmix without any parameter and I get the same error. ..... -- Executing System("SIP/103-b7c0", "/usr/local/bin/wmix /var/spool/asterisk/monitor/31072003-19:08:11-103-in.wav /var/spool/asterisk/monitor/31072003-19:08:11-103-out.wav > /var/spool/asterisk/monitor/31072003-19:08:11-103.wav") in new stack WARNING[1200825920]: File app_system.c, Line 57 (skel_exec): Unable to execute '/usr/local/bin/wmix /var/spool/asterisk/monitor/31072003-19:08:11-103-in.wav /var/spool/asterisk/monitor/31072003-19:08:11-103-out.wav > /var/spool/asterisk/monitor/31072003-19:08:11-103.wav' == Spawn extension (macro-record-cleanup, s, 3) exited non-zero on 'SIP/103-b7c0' in macro 'record-cleanup' == Spawn extension (fullaccess, h, 1) exited non-zero on 'SIP/103-b7c0' Thanks, Dan
Martin Pycko
2003-Jul-31 09:49 UTC
[Asterisk-Users] 'System' application exit with error even if it performs the job as expected
Try to do the same in shell. Does it work ? Martin On Thu, 31 Jul 2003, Dan wrote:> Hi, > > When I try to run the command wmix to mix two WAV files recorded by the > Monitor application I get the following warning in the console and the macro > exit at that point. > Running the command from a standard system console it works. More, even from > this macro it works and produce a valid mixed file, but still get that error > and the macro cannot continue. > > Why? > I have tried even with a simple wmix without any parameter and I get the > same error. > > ..... > -- Executing System("SIP/103-b7c0", "/usr/local/bin/wmix > /var/spool/asterisk/monitor/31072003-19:08:11-103-in.wav > /var/spool/asterisk/monitor/31072003-19:08:11-103-out.wav > > /var/spool/asterisk/monitor/31072003-19:08:11-103.wav") in new stack > WARNING[1200825920]: File app_system.c, Line 57 (skel_exec): Unable to > execute '/usr/local/bin/wmix > /var/spool/asterisk/monitor/31072003-19:08:11-103-in.wav > /var/spool/asterisk/monitor/31072003-19:08:11-103-out.wav > > /var/spool/asterisk/monitor/31072003-19:08:11-103.wav' > == Spawn extension (macro-record-cleanup, s, 3) exited non-zero on > 'SIP/103-b7c0' in macro 'record-cleanup' > == Spawn extension (fullaccess, h, 1) exited non-zero on 'SIP/103-b7c0' > > > Thanks, > Dan > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users >
Dan
2003-Jul-31 09:58 UTC
[Asterisk-Users] 'System' application exit with error even if it performs the job as expected
Something even more interesting. I have tried to execute the command 'ls' in the following line: ... exten => s,3,System(ls) ... And this is the result from the console: -- Executing System("SIP/103-2259", "ls") in new stack adsi.conf asterisk.conf iax.conf modem.conf oss.conf privacy.conf~ tcpdmp.log adtranvofr.conf cdr_mysql.conf indications.conf modules.conf oss.conf~ queues.conf telcordia-1.adsi agents.conf enum.conf logger.conf modules.conf~ parking.conf rpt.conf voicemail.conf alsa.conf extensions.conf manager.conf musiconhold.conf phone.conf rtp.conf vpb.conf alsa.conf~ extensions.conf~ meetme.conf musiconhold.conf~ phone.conf~ sip.conf zapata.conf asterisk.adsi festival.conf mgcp.conf oh323.conf privacy.conf sip.conf~ WARNING[1200825920]: File app_system.c, Line 57 (skel_exec): Unable to execute 'ls' == Spawn extension (macro-record-cleanup, s, 3) exited non-zero on 'SIP/103-2259' in macro 'record-cleanup' == Spawn extension (fullaccess, h, 1) exited non-zero on 'SIP/103-2259' As you can see, the command was executed successfully, but still that warning who make the macro to exit . Dan ----- Original Message ----- From: "Dan" <dtoma@fx.ro> To: "Asterisk Users" <asterisk-users@lists.digium.com> Sent: Thursday, July 31, 2003 7:23 PM Subject: [Asterisk-Users] 'System' application exit with error even if it performs the job as expected> Hi, > > When I try to run the command wmix to mix two WAV files recorded by the > Monitor application I get the following warning in the console and themacro> exit at that point. > Running the command from a standard system console it works. More, evenfrom> this macro it works and produce a valid mixed file, but still get thaterror> and the macro cannot continue. > > Why? > I have tried even with a simple wmix without any parameter and I get the > same error. > > ..... > -- Executing System("SIP/103-b7c0", "/usr/local/bin/wmix > /var/spool/asterisk/monitor/31072003-19:08:11-103-in.wav > /var/spool/asterisk/monitor/31072003-19:08:11-103-out.wav > > /var/spool/asterisk/monitor/31072003-19:08:11-103.wav") in new stack > WARNING[1200825920]: File app_system.c, Line 57 (skel_exec): Unable to > execute '/usr/local/bin/wmix > /var/spool/asterisk/monitor/31072003-19:08:11-103-in.wav > /var/spool/asterisk/monitor/31072003-19:08:11-103-out.wav > > /var/spool/asterisk/monitor/31072003-19:08:11-103.wav' > == Spawn extension (macro-record-cleanup, s, 3) exited non-zero on > 'SIP/103-b7c0' in macro 'record-cleanup' > == Spawn extension (fullaccess, h, 1) exited non-zero on 'SIP/103-b7c0' > > > Thanks, > Dan > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com > http://lists.digium.com/mailman/listinfo/asterisk-users > >
Sip Rtp
2003-Aug-01 00:07 UTC
[Asterisk-Users] 'System' application exit with error even if it performs the job as expected
Does, it not look like a privilege problem on the file /usr/local/bin/wmix? Please check that also. Rgds SIP ----- Original Message ----- From: "Dan" <dtoma@fx.ro> To: <asterisk-users@lists.digium.com> Sent: Thursday, July 31, 2003 10:30 PM Subject: Re: [Asterisk-Users] 'System' application exit with error even if it performs the job as expected> Yes. > It works even in the macro (not only oin the shell),but because of that> warning, the macro exit. > The resulting file of the mix is perfect (triedafter that), but still that> warning. > > See my previous mail ... testet with a simple 'ls'command.> > I don't know what to do...:( > > BR, > Dan > > ----- Original Message ----- > From: "Martin Pycko" <martinp@digium.com> > To: "Asterisk Users"<asterisk-users@lists.digium.com>> Sent: Thursday, July 31, 2003 7:49 PM > Subject: Re: [Asterisk-Users] 'System' applicationexit with error even if> it performs the job as expected > > > > Try to do the same in shell. Does it work ? > > > > Martin > > > > On Thu, 31 Jul 2003, Dan wrote: > > > > > Hi, > > > > > > When I try to run the command wmix to mix twoWAV files recorded by the> > > Monitor application I get the following warningin the console and the> macro > > > exit at that point. > > > Running the command from a standard systemconsole it works. More, even> from > > > this macro it works and produce a valid mixedfile, but still get that> error > > > and the macro cannot continue. > > > > > > Why? > > > I have tried even with a simple wmix without anyparameter and I get the> > > same error. > > > > > > ..... > > > -- Executing System("SIP/103-b7c0","/usr/local/bin/wmix> > >/var/spool/asterisk/monitor/31072003-19:08:11-103-in.wav> > >/var/spool/asterisk/monitor/31072003-19:08:11-103-out.wav> > > >/var/spool/asterisk/monitor/31072003-19:08:11-103.wav") in new stack> > > WARNING[1200825920]: File app_system.c, Line 57(skel_exec): Unable to> > > execute '/usr/local/bin/wmix > > >/var/spool/asterisk/monitor/31072003-19:08:11-103-in.wav> > >/var/spool/asterisk/monitor/31072003-19:08:11-103-out.wav> > > >/var/spool/asterisk/monitor/31072003-19:08:11-103.wav'> > > == Spawn extension (macro-record-cleanup, s,3) exited non-zero on> > > 'SIP/103-b7c0' in macro 'record-cleanup' > > > == Spawn extension (fullaccess, h, 1) exitednon-zero on> 'SIP/103-b7c0' > > > > > > > > > Thanks, > > > Dan > > > > > > > > > _______________________________________________ > > > Asterisk-Users mailing list > > > Asterisk-Users@lists.digium.com > > >http://lists.digium.com/mailman/listinfo/asterisk-users> > > > > > > _______________________________________________ > > Asterisk-Users mailing list > > Asterisk-Users@lists.digium.com > >http://lists.digium.com/mailman/listinfo/asterisk-users> > > > > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com
Sip Rtp
2003-Aug-01 22:14 UTC
[Asterisk-Users] 'System' application exit with error even if it performs the job as expected
Then I am afraid that i can't help much.May be someone else will. Rgds Manoj K Gupta ----- Original Message ----- From: "Dan" <dtoma@fx.ro> To: <asterisk-users@lists.digium.com> Sent: Friday, August 01, 2003 12:44 PM Subject: Re: [Asterisk-Users] 'System' application exit with error even if it performs the job as expected> Hi, > > It is the same with any other application I try torun from the System()> application. > I don't think is a privilege problem. Even with 'ls'as command, it displays> the directory listing and then exit with error. > > Thanks, > Dan > > ----- Original Message ----- > From: "Sip Rtp" <vovida2001@yahoo.com> > To: <asterisk-users@lists.digium.com> > Sent: Friday, August 01, 2003 10:07 AM > Subject: Re: [Asterisk-Users] 'System' applicationexit with error even if> it performs the job as expected > > > > Does, it not look like a privilege problem on thefile> > /usr/local/bin/wmix? > > Please check that also. > > > > Rgds > > SIP > > > > ----- Original Message ----- > > From: "Dan" <dtoma@fx.ro> > > To: <asterisk-users@lists.digium.com> > > Sent: Thursday, July 31, 2003 10:30 PM > > Subject: Re: [Asterisk-Users] 'System' application > > exit with error even if > > it performs the job as expected > > > > > > > Yes. > > > It works even in the macro (not only oin theshell),> > but because of that > > > warning, the macro exit. > > > The resulting file of the mix is perfect (tried > > after that), but still > > that > > > warning. > > > > > > See my previous mail ... testet with a simple'ls'> > command. > > > > > > I don't know what to do...:( > > > > > > BR, > > > Dan > > > > > > ----- Original Message ----- > > > From: "Martin Pycko" <martinp@digium.com> > > > To: "Asterisk Users" > > <asterisk-users@lists.digium.com> > > > Sent: Thursday, July 31, 2003 7:49 PM > > > Subject: Re: [Asterisk-Users] 'System'application> > exit with error even if > > > it performs the job as expected > > > > > > > > > > Try to do the same in shell. Does it work ? > > > > > > > > Martin > > > > > > > > On Thu, 31 Jul 2003, Dan wrote: > > > > > > > > > Hi, > > > > > > > > > > When I try to run the command wmix to mixtwo> > WAV files recorded by > > the > > > > > Monitor application I get the followingwarning> > in the console and the > > > macro > > > > > exit at that point. > > > > > Running the command from a standard system > > console it works. More, > > even > > > from > > > > > this macro it works and produce a validmixed> > file, but still get that > > > error > > > > > and the macro cannot continue. > > > > > > > > > > Why? > > > > > I have tried even with a simple wmix withoutany> > parameter and I get > > the > > > > > same error. > > > > > > > > > > ..... > > > > > -- Executing System("SIP/103-b7c0", > > "/usr/local/bin/wmix > > > > > > >/var/spool/asterisk/monitor/31072003-19:08:11-103-in.wav> > > > > > >/var/spool/asterisk/monitor/31072003-19:08:11-103-out.wav> > > > > > > > > >/var/spool/asterisk/monitor/31072003-19:08:11-103.wav")> > in new stack > > > > > WARNING[1200825920]: File app_system.c, Line57> > (skel_exec): Unable to > > > > > execute '/usr/local/bin/wmix > > > > > > >/var/spool/asterisk/monitor/31072003-19:08:11-103-in.wav> > > > > > >/var/spool/asterisk/monitor/31072003-19:08:11-103-out.wav> > > > > > > > > >/var/spool/asterisk/monitor/31072003-19:08:11-103.wav'> > > > > == Spawn extension (macro-record-cleanup,s,> > 3) exited non-zero on > > > > > 'SIP/103-b7c0' in macro 'record-cleanup' > > > > > == Spawn extension (fullaccess, h, 1)exited> > non-zero on > > > 'SIP/103-b7c0' > > > > > > > > > > > > > > > Thanks, > > > > > Dan > > > > > > > > > > > > > > >_______________________________________________> > > > > Asterisk-Users mailing list > > > > > Asterisk-Users@lists.digium.com > > > > > > >http://lists.digium.com/mailman/listinfo/asterisk-users> > > > > > > > > > > > >_______________________________________________> > > > Asterisk-Users mailing list > > > > Asterisk-Users@lists.digium.com > > > > > >http://lists.digium.com/mailman/listinfo/asterisk-users> > > > > > > > > > > > > > > > > _______________________________________________ > > > Asterisk-Users mailing list > > > Asterisk-Users@lists.digium.com > > > > >http://lists.digium.com/mailman/listinfo/asterisk-users> > > > > > __________________________________ > > Do you Yahoo!? > > Yahoo! SiteBuilder - Free, easy-to-use web sitedesign software> > http://sitebuilder.yahoo.com > > _______________________________________________ > > Asterisk-Users mailing list > > Asterisk-Users@lists.digium.com > >http://lists.digium.com/mailman/listinfo/asterisk-users> > > > > > > _______________________________________________ > Asterisk-Users mailing list > Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com