<div dir="ltr">It does work, here !!<br>Thanks you very much !!<br><br><div class="gmail_quote">2008/8/27 Steven Howes <span dir="ltr"><<a href="mailto:steve@geekinter.net">steve@geekinter.net</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="Wj3C7c"><br>
On 27 Aug 2008, at 14:21, Olivier wrote:<br>
> I think we're getting closer now as obviously Asterisk's greeting<br>
> ("...UNIX connection") is mixed with its output.<br>
> (I can't understand why this happens now as I never noticed this<br>
> before and didn't change anything).<br>
><br>
> I tried to use asterisk -rx '!sleep 1 && sip show peers' to works<br>
> around but :<br>
> 1. !sleep is not valid when issued from shell CLI (it's ok from<br>
> 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<br>
> workaround ...<br>
><br>
> If anyone is inspired, please do not hesitate ...<br>
<br>
</div></div>asterisk -rx'sip show peers' | grep -a '('<br>
<br>
Bit hacky but works...<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
_______________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
<br>
AstriCon 2008 - September 22 - 25 Phoenix, Arizona<br>
Register Now: <a href="http://www.astricon.net" target="_blank">http://www.astricon.net</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br>
</div></div></blockquote></div><br></div>