rendered paste body -- Executing [651@from-internal:1] NoOp("SIP/610-09c93868", "Running miscapp 1: TR2K") in new stack
-- Executing [651@from-internal:2] Goto("SIP/610-09c93868", "custom-myextension|s|1") in new stack
-- Goto (custom-myextension,s,1)
-- Executing [s@custom-myextension:1] AGI("SIP/610-09c93868", "tr2k.php") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/tr2k.php
-- AGI Script tr2k.php completed, returning 0
-- Executing [s@custom-myextension:2] Hangup("SIP/610-09c93868", "") in new stack
== Spawn extension (custom-myextension, s, 2) exited non-zero on 'SIP/610-09c93868'
pbxalgarve*CLI> agi debug
AGI Debugging Enabled
-- Executing [651@from-internal:1] NoOp("SIP/610-09c6d108", "Running miscapp 1: TR2K") in new stack
-- Executing [651@from-internal:2] Goto("SIP/610-09c6d108", "custom-myextension|s|1") in new stack
-- Goto (custom-myextension,s,1)
-- Executing [s@custom-myextension:1] AGI("SIP/610-09c6d108", "tr2k.php") in new stack
-- Launched AGI Script /var/lib/asterisk/agi-bin/tr2k.php
AGI Tx >> agi_request: tr2k.php
AGI Tx >> agi_channel: SIP/610-09c6d108
AGI Tx >> agi_language: PT
AGI Tx >> agi_type: SIP
AGI Tx >> agi_uniqueid: 1184938613.11
AGI Tx >> agi_callerid: 610
AGI Tx >> agi_calleridname: device
AGI Tx >> agi_callingpres: 0
AGI Tx >> agi_callingani2: 0
AGI Tx >> agi_callington: 0
AGI Tx >> agi_callingtns: 0
AGI Tx >> agi_dnid: 651
AGI Tx >> agi_rdnis: unknown
AGI Tx >> agi_context: custom-myextension
AGI Tx >> agi_extension: s
AGI Tx >> agi_priority: 1
AGI Tx >> agi_enhanced: 0.0
AGI Tx >> agi_accountcode:
AGI Tx >> *CLI>
AGI Rx << Usage: php [-q] [-h] [-s] [-v] [-i] [-f <file>]
AGI Tx >> 510 Invalid or unknown command
AGI Rx << php <file> [args...]
AGI Tx >> 510 Invalid or unknown command
AGI Rx << -a Run interactively
AGI Tx >> 510 Invalid or unknown command
AGI Rx << -C Do not chdir to the script's directory
AGI Tx >> 510 Invalid or unknown command
AGI Rx << -c <path>|<file> Look for php.ini file in this directory
AGI Tx >> 510 Invalid or unknown command
AGI Rx << -n No php.ini file will be used
AGI Tx >> 510 Invalid or unknown command
AGI Rx << -d foo[=bar] Define INI entry foo with value 'bar'
AGI Tx >> 510 Invalid or unknown command
AGI Rx << -e Generate extended information for debugger/profiler
AGI Tx >> 510 Invalid or unknown command
AGI Rx << -f <file> Parse <file>. Implies `-q'
AGI Tx >> 510 Invalid or unknown command
AGI Rx << -h This help
AGI Tx >> 510 Invalid or unknown command
AGI Rx << -i PHP information
AGI Tx >> 510 Invalid or unknown command
AGI Rx << -l Syntax check only (lint)
AGI Tx >> 510 Invalid or unknown command
AGI Rx << -m Show compiled in modules
AGI Tx >> 510 Invalid or unknown command
AGI Rx << -q Quiet-mode. Suppress HTTP Header output.
AGI Tx >> 510 Invalid or unknown command
AGI Rx << -s Display colour syntax highlighted source.
AGI Tx >> 510 Invalid or unknown command
AGI Rx << -v Version number
AGI Tx >> 510 Invalid or unknown command
AGI Rx << -w Display source with stripped comments and whitespace.
AGI Tx >> 510 Invalid or unknown command
AGI Rx << -z <file> Load Zend extension <file>.
AGI Tx >> 510 Invalid or unknown command
-- AGI Script tr2k.php completed, returning 0
-- Executing [s@custom-myextension:2] Hangup("SIP/610-09c6d108", "") in new stack
== Spawn extension (custom-myextension, s, 2) exited non-zero on 'SIP/610-09c6d108'
pbxalgarve*CLI>