[Asterisk-Users] 'System' application exit with error even if it performs the job as expected

Sip Rtp vovida2001 at yahoo.com
Fri Aug 1 22:14:47 MST 2003


Then I am afraid that i can't help much.May be someone
else will.

Rgds
Manoj K Gupta
----- Original Message -----
From: "Dan" <dtoma at fx.ro>
To: <asterisk-users at 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 to
run 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 at yahoo.com>
> To: <asterisk-users at lists.digium.com>
> Sent: Friday, August 01, 2003 10:07 AM
> Subject: Re: [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 at fx.ro>
> > To: <asterisk-users at 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 (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 at digium.com>
> > > To: "Asterisk Users"
> > <asterisk-users at 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 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 at lists.digium.com
> > > > >
> >
http://lists.digium.com/mailman/listinfo/asterisk-users
> > > > >
> > > >
> > > >
_______________________________________________
> > > > Asterisk-Users mailing list
> > > > Asterisk-Users at lists.digium.com
> > > >
> >
http://lists.digium.com/mailman/listinfo/asterisk-users
> > > >
> > > >
> > >
> > >
> > > _______________________________________________
> > > Asterisk-Users mailing list
> > > Asterisk-Users at 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
> > _______________________________________________
> > Asterisk-Users mailing list
> > Asterisk-Users at lists.digium.com
> >
http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> >
>
>
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at 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



More information about the asterisk-users mailing list