[Freeswitch-users] feature idea for fs_cli

Steven Ayre steveayre at gmail.com
Tue Aug 26 12:00:46 MSD 2014


If anything the ability to pipe through external tools like grep from
within a fs_cli session could be useful - it'd minimise the work required
to implement it. Kind of like the pager command in the mysql cli. Building
such functionality into fs_cli or mod_event_socket directly doesn't make
sense when it already exists elsewhere though.


On 25 August 2014 20:22, Brian West <brian at freeswitch.org> wrote:

> fs_cli -x 'show channels' | grep something
>
> :P
>
>
> On Mon, Aug 25, 2014 at 1:52 PM, Nathan Neulinger <nneul at mst.edu> wrote:
>
>> In fs_cli, would be cool to have cisco-like extensions to support
>> include/exclude/begin:
>>
>>         show channels | include regex
>>         show channels | exclude regex
>>         show channels | begin regex
>>
>> It's obviously not always going to generate useful output (particularly
>> since it will usually strip header), but can be
>> very helpful when doing interactive diagnostics.
>>
>>
>> http://www.cisco.com/c/en/us/td/docs/ios-xml/ios/fundamentals/configuration/15_sy/fundamentals-15-sy-book/cf-cli-search.html
>>
>> -- Nathan
>>
>> ------------------------------------------------------------
>> Nathan Neulinger                       nneul at mst.edu
>> Missouri S&T Information Technology    (573) 612-1412
>> System Administrator - Architect
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.com
>>
>> 
>> 
>>
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>>
>
>
>
> --
>
> *Brian West*
> brian at freeswitch.org
>
>
> *Twitter: @FreeSWITCH , @briankwest*
> http://www.freeswitchbook.com
> http://www.freeswitchcookbook.com
>
> *T:*+19184209001 | *F:*+19184209002 | *M:*+1918424WEST (9378)
> *iNUM:*+883 5100 1420 9001 | *ISN:*410*543 | *Skype:*briankwest
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
>
> 
> 
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140826/06890c81/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list