[asterisk-users] sip show peers

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Fri May 2 14:31:05 CDT 2008


On Friday 02 May 2008 12:35:48 Philipp Kempgen wrote:
> Yeah, sometimes it would be helpful if asterisk -rx 'command' didn't
> pretty print but instead fall back to an easily parseable output
> format (like TSV with cslashes) if stdout isn't connected to a tty
> (isatty()).

The CLI is intended to be used by a human.  If you want machine parseable
output, I would suggest using AMI, as that's what it's meant for.

-- 
Tilghman



More information about the asterisk-users mailing list