[Asterisk-Users] Odd behaviour with "asterisk -rx"

brian k. west brian at bkw.org
Sat May 29 12:52:33 MST 2004


its not really a critical issue...  wonder when someone will take the time
and fix it. :P

bkw

----- Original Message ----- 
From: "Karl Brose" <khb at brose.com>
To: <asterisk-users at lists.digium.com>
Sent: Saturday, May 29, 2004 12:29 PM
Subject: Re: [Asterisk-Users] Odd behaviour with "asterisk -rx"


> Yes, it's a known issue on the bug tracker (#1110), but no solution has
> been found to date, afaik.
>
> Julien Levi wrote:
>
> > Hello,
> >
> > I was planning to use the output of asterisk -rx "show queues"  in a
> > script when I noticed that sometimes asterisk only outputs the first
> > line of the response. e.g:
> >
> > debian:/# asterisk -rx "zap show channels"
> > Chan Extension  Context         Language   MusicOnHold
> > debian:/# asterisk -rx "zap show channels"
> > Chan Extension  Context         Language   MusicOnHold
> > debian:/# asterisk -rx "zap show channels"
> > Chan Extension  Context         Language   MusicOnHold
> >    1            incoming
> >    2            incoming
> >    4            incoming
> >    5            incoming
> > debian:/# asterisk -rx "show queues"
> > bookingsq    has 1 calls (max 100) in 'ringall' strategy (9s
> > holdtime), C:28, A:3, SL:57.1% within 20s
> > debian:/# asterisk -rx "show queues"
> > bookingsq    has 1 calls (max 100) in 'ringall' strategy (9s
> > holdtime), C:28, A:3, SL:57.1% within 20s
> >    Members:
> >       SIP/agent2 (dynamic) has taken 11 calls (last was 386 secs ago)
> >       SIP/agent1 (dynamic) has taken 16 calls (last was 1566 secs ago)
> >    Callers:
> >       1. Zap/4-1 (wait: 0:08)
> >
> > debian:/#
> >
> > I'm on asterisk 1.0_stable - has this been fixed in head, is it a
> > known issue? I was unable to find anything about it in a search of
> > previous list posts...
> >
> > regards,
> >
> > Julien Levi
> >
> > _______________________________________________
> > Asterisk-Users mailing list
> > Asterisk-Users at lists.digium.com
> > http://lists.digium.com/mailman/listinfo/asterisk-users
> > To UNSUBSCRIBE or update options visit:
> >   http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> _______________________________________________
> Asterisk-Users mailing list
> Asterisk-Users at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-users
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>




More information about the asterisk-users mailing list