On Thu, Jan 30, 2014 at 5:45 PM, Justin Killen < [email protected]> 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
-- _____________________________________________________________________ -- 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
