[asterisk-bugs] [JIRA] (ASTERISK-24262) AMI CoreShowChannel missing several output fields and event documentation

Matt Jordan (JIRA) noreply at issues.asterisk.org
Thu Sep 4 15:56:29 CDT 2014


    [ https://issues.asterisk.org/jira/browse/ASTERISK-24262?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=222545#comment-222545 ] 

Matt Jordan commented on ASTERISK-24262:
----------------------------------------

Looking at the 11 event, the following fields aren't coming back:
* {{BridgedChannel: SIP/mlcx450-00000007}} - reaching across a bridge is a really, really, *really* bad idea. It also isn't useful in multi-party bridging scenarios. Instead, we should transmit the {{BridgeId}}, which you can use with other bridge related events to know which bridge a channel is in.
* {{BridgedUniqueID: mlcadev1-1408740771.10}} - for the same reason as {{BridgedChannel}}

Missing the application and appdata is essentially a bug, because without that information the Dialplan tuple of {{context}}, {{extension}}, {{priority}} is only so useful. {{Duration}} typically isn't conveyed in any other event that shows channel related information. Generally, it is known from the {{Newchannel}} event when a channel was created. I could see needing it in the response to a query as you may have missed the {{Newchannel}} event however.

{{BridgeId}} should be there - otherwise we don't know what bridge you are in.

> AMI CoreShowChannel missing several output fields and event documentation
> -------------------------------------------------------------------------
>
>                 Key: ASTERISK-24262
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-24262
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/ManagerInterface, Documentation
>    Affects Versions: 12.5.0
>         Environment: Ubuntu 12.04 64 bit
> Asterisk built from source
>            Reporter: Mitch Claborn
>
> The CoreShowChannel event (result of CoreShowChannels action) is missing several fields: Extension (renamed to Exten??),  Application, ApplicationData, CallerIDnum (present, but data missing?), Duration, BridgedChannel, BridgedUniqueID.
> 11.1
> Event: CoreShowChannel
> Channel: SIP/mlcm800-00000008
> UniqueID: mlcadev1-1408740779.11
> Context: LocalSets
> Extension: sales
> Priority: 1
> ChannelState: 6
> ChannelStateDesc: Up
> Application: AppQueue
> ApplicationData: (Outgoing Line)
> CallerIDnum: 
> CallerIDname: Mitch
> ConnectedLineNum: mlcx450
> ConnectedLineName: Mitch mlcx450
> Duration: 00:01:05
> AccountCode: 
> BridgedChannel: SIP/mlcx450-00000007
> BridgedUniqueID: mlcadev1-1408740771.10
> 12.5
> Event: CoreShowChannel
> Channel: SIP/mlc296-00000025
> ChannelState: 6
> ChannelStateDesc: Up
> CallerIDNum: mlc296
> CallerIDName: Mitch Digium
> ConnectedLineNum: <unknown>
> ConnectedLineName: Mitch
> AccountCode: 
> Context: queues
> Exten: sales
> Priority: 23
> Uniqueid: sipqa-1408736378.54



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list