Asterisk -rx “cmd” Truncates Cmd’s Output

Home » Asterisk Users » Asterisk -rx “cmd” Truncates Cmd’s Output
Asterisk Users No Comments

Hello,

I’ve edited my diaplan to print some data on screen with statements like:
[foobar]
exten = foo,1,Verbose(0,Whatever I need to display)
exten = bar,1,Verbose(0,Some more text)

When using rasterisk and entering “channel originate Local/foo@foobar application Noop”, I can read lines such as:
… Verbose(0,Whatever I need to display)

When I type, asterisk -rx “channel originate Local/foo@foobar application Noop”, only single line “Setting max files open to 1000” is printed . This “Setting max files open to 1000” line is the one asterisk prints when starting a CLI session

How can I work around this ?
Comments ?
Suggestions ?

I’m using Asterisk 13.14.1 from Debian Stable repo on Stretch.

Best regards