[asterisk-dev] Formatting options for CLI output

BJ Weschke bweschke at btwtech.com
Thu Nov 8 19:35:55 CST 2012


On 11/8/12 8:10 PM, Russell Bryant wrote:
> On Thu, Nov 8, 2012 at 7:50 PM, Olle E. Johansson <oej at edvina.net 
> <mailto:oej at edvina.net>> wrote:
>
>
>     9 nov 2012 kl. 01:33 skrev "Nir Simionovich"
>     <nir.simionovich at gmail.com <mailto:nir.simionovich at gmail.com>>:
>
>>     Let's take the "sip show peers" CLI command. It's equivalent in
>>     the AMI world will be the "sippeers" action.
>>     Compare the output of the two, when all you require is the
>>     summary line -- it just doesn't make sense to use
>>     AMI. Same applies to CoreShowChannels action.
>
>     So we can make a manager action that gives you the summary only... :-)
>
>
> +1 ... :-)
>
> -- 
> Russell Bryant
>
  I agree with Russell and Olle here. This kind of stuff that's going to 
be in a machine parse-able format should probably be in AMI.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-dev/attachments/20121108/e1188747/attachment.htm>


More information about the asterisk-dev mailing list