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

brian k. west
Sat, 29 May 2004 12:24:17 -0000

Known issue

bkw
----- Original Message -----
From: "Julien Levi" <jules@jlevi.co.uk>
To: <asterisk-users@lists.digium.com>
Sent: Saturday, May 29, 2004 12:12 PM
Subject: [Asterisk-Users] Odd behaviour with "asterisk -rx"


> 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@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
>