[asterisk-users] core show channels truncates channel names?

Richard Mudgett rmudgett at digium.com
Tue Jan 21 17:12:57 CST 2014


On Tue, Jan 21, 2014 at 3:39 PM, Michelle Dupuis <mdupuis at ocg.ca> wrote:

>  When I issue a 'core show channels' command I notice that long usernames
> (and channel number) are truncated.  For example, if the username is
> FONEMITEL1234567890 for a trunk, then it will show
>
> SIP
> Privilege: Command
> Channel              Location             State   Application(Data)"
> IAX2/FONEMITEL123456 1296197222 at entryhome Ringing AppDial((Outgoing Line))
> SIP/200-093e4998        s at macro-dialexternal Ring
> Dial(IAX2/FONEMITEL1234567890/
> 2 active channels
> 1 active call
>  How can I get the full username of all active channels?  (I realize I
> can use the AMI but trying to avoid that)
>
> Note that the above output is generated on an Ast 1.4 system
>

Use "core show channels concise".  It was intended for script querying of
the channels.
However, you really should AMI actions where possible as they are not
likely to change
from version to version where CLI commands can and do change.

Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140121/f293587a/attachment.html>


More information about the asterisk-users mailing list