[asterisk-users] how to get full channel name - AMI cuts off
Richard Mudgett
rmudgett at digium.com
Fri Jan 31 14:52:35 CST 2014
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>
More information about the asterisk-users
mailing list