Justin Killen
2014-Jan-30 23:45 UTC
[asterisk-users] how to get full channel name - AMI cuts off
Using Dahdi/PRI, I end up with channel names like 'DAHDI/i8/9995551212-4d6B', but when I do a 'core show channels' it cuts off those names to only 'DAHDI/i8/9995551212-'. This is the same for AMI. Is there a way to get the full channel name within AMI? I'm using asterisk 11.7.0 Thanks, -Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140130/97cf7677/attachment.html>
Justin Killen
2014-Jan-30 23:48 UTC
[asterisk-users] how to get full channel name - AMI cuts off [solved]
After posting this, I ran across 'core channel show concise', which gives the data in a more machine friendly format. -Justin ________________________________ From: asterisk-users-bounces at lists.digium.com [mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Justin Killen Sent: Thursday, January 30, 2014 3:45 PM To: Asterisk Users Mailing List - Non-Commercial Discussion Subject: [asterisk-users] how to get full channel name - AMI cuts off Using Dahdi/PRI, I end up with channel names like 'DAHDI/i8/9995551212-4d6B', but when I do a 'core show channels' it cuts off those names to only 'DAHDI/i8/9995551212-'. This is the same for AMI. Is there a way to get the full channel name within AMI? I'm using asterisk 11.7.0 Thanks, -Justin -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140130/02cce362/attachment.html>
Richard Mudgett
2014-Jan-31 20:52 UTC
[asterisk-users] how to get full channel name - AMI cuts off
On Thu, Jan 30, 2014 at 5:45 PM, Justin Killen < jkillen at allamericanasphalt.com> wrote:> Using Dahdi/PRI, I end up with channel names like > 'DAHDI/i8/9995551212-4d6B', but when I do a 'core show channels' it cuts > off those names to only 'DAHDI/i8/9995551212-'. This is the same for AMI. > > > > Is there a way to get the full channel name within AMI? > > > > I'm using asterisk 11.7.0 >Since you are using AMI, use the AMI CoreShowChannels action instead of the AMI Command action to run the CLI "core show channels" command. Use: Action: CoreShowChannels ActionID: your-optional-id Instead of: Action: Command ActionID: your-optional-id Command: core show channels Using the AMI CoreShowChannels action will give you more information as well as not truncating long strings. It is also the recommended way to get that information. Richard -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20140131/51d8bb7a/attachment.html>