[asterisk-dev] CLI development questions

Russell Bryant russell at digium.com
Sun Aug 5 19:15:14 CDT 2007


Vasil Kolev wrote:
> В пт, 2007-08-03 в 14:05 -0500, Russell Bryant написа:
>> Dylan VanHerpen wrote:
>>> But full blown grep would be great too:
>>>
>>>           sip show channels | grep foo
>> asterisk -rx "sip show channels" | grep foo
>>
>> :)
>>
> This doesn't work some times, for example you get some other output
> also, especially on really loaded servers (I've tried using some stuff
> like this for some scripts and found it unreliable). My impressions are
> mostly with 1.2, I'll try recreating this Monday when I see some load on
> a few 1.4 machines and will open a bug (if this should be considered a
> bug).

If that happens, then I would consider it a bug.  I don't think it will be very 
difficult to fix, either.

-- 
Russell Bryant
Software Engineer
Digium, Inc.



More information about the asterisk-dev mailing list