[Home]

Summary:ASTERISK-02314: [request] print to stderr in AGI should also show up in CLI when connecting via "asterisk -r"
Reporter:silke (silke)Labels:
Date Opened:2004-09-01 10:55:50Date Closed:2004-09-25 02:07:30
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:in AGI one can send text to STDERR so that it shows up
in the asterisk console.
But it only shows up when one starts asterisk with
./asterisk -cvvvvv

When asterisk runs in background, e.g. by start-stop-daemon,
and I connect to running asterisk by "asterisk -r", I
do not see the text echoed by AGI-Applications to STDERR.
Comments:By: Brian West (bkw918) 2004-09-01 11:20:53

Use Verbose to cause something to show on -r

By: silke (silke) 2004-09-01 14:52:57

Do you mean the "v's" to increase verbosity?
I start "./asterisk -vvvvvv"
Then connect to asterisk by "./asterisk -rvvvvvv"
but still do not see the "output" that AGI sends
to STDERR.
I only see such output when starting asterisk as
"./asterisk -cvvvvv".

By: Clod Patry (junky) 2004-09-01 19:41:51

just start it with safe_asterisk, when ya'll print to STDERR, ya'll be able to see it.

By: Mark Spencer (markster) 2004-09-02 00:05:43

This would be pretty challenging to implement, and you don't need it because you can already do "VERBOSE" command from within AGI.  Type "SHOW AGI" for a list of all the commands.