Displaying 1 result from an estimated 1 matches for "printf_to_agi_result_buffer".
2005 Mar 24
0
AGI commands STDOUT problem
...annoying :( , So, i started to look out in the Asterisk
C code. I checked out mainly the file res/agi_res.c
well, once here i checked the function 'static void setup_env' that
function sends the initial environment variables, uses
the function fdprintf, that appears to be a redefinition of
printf_to_agi_result_buffer function,to send data to the AGI script.
I assume that since i receive correctly the initial data, then the
function fdprintf works fine. Then i checked out the function
that handles the command SAY_NUMBER, this function is called
handle_saynumber, i put some extra ast_log warnings to verify that t...