[asterisk-users] sip show peers from shell or from CLI

Olivier oza-4h07 at myamail.com
Wed Aug 27 07:23:30 CDT 2008


2008/8/27 Steven Howes <steve at geekinter.net>

> Probably another left over word from another message. Is it repeatable?

At the moment, yes.

Now, I'm looking for a way to flush input/output, to protect shell script
from this type of side effect.


>
>
> On 27 Aug 2008, at 13:00, Olivier wrote:
>
> > Hello,
> >
> > On a 1.2 Asterisk / Debian Sarge, I noticed that :
> >
> > ipbx*CLI> sip show peers
> > Name/username              Host            Dyn Nat ACL Port     Status
> > 4201/4201                  192.168.100.111  D          5060     OK
> > (8 ms)
> > 4200/4200                  192.168.100.110  D          5060     OK
> > (8 ms)
> >
> > but from shell, I've got
> >
> > # asterisk -rx "sip show peers"
> > on
> > Name/username              Host            Dyn Nat ACL Port     Status
> > 4201/4201                  192.168.100.111  D          5060     OK
> > (6 ms)
> > 4200/4200                  192.168.100.110  D          5060     OK
> > (9 ms)
> >
> >
> > I never noticed this "on" word before.
> > Can anyone explain ?
> >
> > I'm using Asterisk 1.2.17-BRIstuffed-0.3.0-PRE-1y-e
> >
> > Regards
> > _______________________________________________
> > -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> >
> > AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> > Register Now: http://www.astricon.net
> >
> > asterisk-users mailing list
> > To UNSUBSCRIBE or update options visit:
> >   http://lists.digium.com/mailman/listinfo/asterisk-users
>
>
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> AstriCon 2008 - September 22 - 25 Phoenix, Arizona
> Register Now: http://www.astricon.net
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20080827/16a7435f/attachment.htm 


More information about the asterisk-users mailing list