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. -- Leif Madsen. http://www.leifmadsen.com http://www.oreilly.com/catalog/asterisk --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
