Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[asterisk-users] how to get full channel name - AMI cuts off


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users
View previous topic :: View next topic  
Author Message
jkillen at allamerican...
Guest





PostPosted: Thu Jan 30, 2014 6:43 pm    Post subject: [asterisk-users] how to get full channel name - AMI cuts off Reply with quote

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
Back to top
rmudgett at digium.com
Guest





PostPosted: Fri Jan 31, 2014 3:51 pm    Post subject: [asterisk-users] how to get full channel name - AMI cuts off Reply with quote

On Thu, Jan 30, 2014 at 5:45 PM, Justin Killen <jkillen@allamericanasphalt.com (jkillen@allamericanasphalt.com)> wrote:
Quote:

Using Dahdi/PRI, I end up with channel names like &lsquo;DAHDI/i8/9995551212-4d6B&rsquo;, but when I do a &lsquo;core show channels&rsquo; it cuts off those names to only &lsquo;DAHDI/i8/9995551212-&lsquo;. This is the same for AMI.

Is there a way to get the full channel name within AMI?

I&rsquo;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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> Asterisk Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services