How To Get Full Channel Name – AMI Cuts Off

Home » Asterisk Users » How To Get Full Channel Name – AMI Cuts Off
Asterisk Users 1 Comment

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

One thought on - How To Get Full Channel Name – AMI Cuts Off

  • 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