<div dir="ltr">I think we're getting closer now as obviously Asterisk's greeting ("...UNIX connection") is mixed with its output.<br>(I can't understand why this happens now as I never noticed this before and didn't change anything).<br>
<br>I tried to use asterisk -rx '!sleep 1 && sip show peers' to works around but :<br>1. !sleep is not valid when issued from shell CLI (it's ok from Asterisk CLI)<br>2. constructions like 'foo && foo' are not accepted by asterisk<br>
<br><br>Beside using sed to remove 'on^@', I can't imagine any smarter workaround ...<br><br>If anyone is inspired, please do not hesitate ...<br></div>