[asterisk-dev] Module to Asterisk function Compiler Issue question

Mike Myhre digium at aeisecure.com
Mon Aug 8 17:02:32 CDT 2011


> Your best bet is to use dup2() to re-channel the output of that subprocess
> to the STDOUT_FILENO (2), after the fork() (or ast_safe_fork(), in versions
> which support that API), but before the exec().
>
That worked great.
I ended up copying the AGI model.

Thanks for your help.



More information about the asterisk-dev mailing list