> -----Original Message----- > From: Leif Madsen [mailto:[EMAIL PROTECTED] > Sent: December 20, 2007 10:47 AM > To: Jim Van Meggelen > Cc: [email protected] > Subject: Re: [on-asterisk] Playing back files from a folder > based on a filespec > > On Dec 15, 2007 4:01 PM, Jim Van Meggelen > <[EMAIL PROTECTED]> wrote: > > I would have thought that System() just passed whatever it > got to the > > shell, so I would have figured that as long as the shell > can handle it, no problem. > > > > The big limitation with System() is that it does not feed > stdout and > > stderr back to asterisk. > > > > Hmm . . . that gives me an idea . . . > > That's right -- you need to use the SHELL() function to do > that. It's only available in trunk, but I just copied the > func_shell.c file into my funcs/ directory, did a ./configure > && make install, and it compiled and was available for my use.
That sounds like a worthy function. I am looking forward to using it (once it's out of beta ;-) That could work well when AGI is too much. I wonder how the two compare, performance-wise, when doing similar things. Jim --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
