Thanks that's perfect! I would use the AMI but I have to run against Asterisk 1.4 and the ami command 'coreshowchannels' didn't appear until Asterisk 1.6
________________________________ From: asterisk-users-boun...@lists.digium.com [asterisk-users-boun...@lists.digium.com] On Behalf Of Richard Mudgett [rmudg...@digium.com] Sent: Tuesday, January 21, 2014 6:12 PM To: Asterisk Users List Subject: Re: [asterisk-users] core show channels truncates channel names? On Tue, Jan 21, 2014 at 3:39 PM, Michelle Dupuis <mdup...@ocg.ca<mailto:mdup...@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@entryhome<mailto:1296197222@entryhome> Ringing AppDial((Outgoing Line)) SIP/200-093e4998 s@macro-dialexternal<mailto:s@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
-- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- New to Asterisk? Join us for a live introductory webinar every Thurs: http://www.asterisk.org/hello asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users