I need some help with the AGI source

I don’t know if this is the right place to ask this question, but I can’t seem to find the answer anywhere else. I really like the AGI api’s, but I want to be able to change the functionality of AGI->record_file(). Here is my questions:

  1. I know I need the source code of asterisk’s, but once I get it which files do I need to edit to change the way AGI-record_file() works?

  2. How do I compile to test my AGI new function?

If this is not the place to ask, where should I ask. Thanks for the help.

Just do a search for the string record_file in the files in the directory you installed phpagi, with a tool like fgrep.

Phpagi scripts are interpreted, you don’t need to compile them, so just modify the source and then run again your script.

Cheers.

Marco Bruni