Showing posts with label Debugging from the Operating System. Show all posts
Showing posts with label Debugging from the Operating System. Show all posts

Debugging from the Operating System




As mentioned above, you should be able to run your program directly from the oper-
ating system to see how it  behaves. The secret here is to act just like  Asterisk does,
providing your script with the following:

• A list of variables and their values, such as agi_test:1.
• A blank line feed (\n) to indicate that you’re done passing variables.
• Responses to  each of the AGI commands from  your AGI script. Usually,  typing