[asterisk-bugs] [JIRA] (ASTERISK-26494) Problem with UnqiueID field name in CEL data, collected via ManagerInterface

Alex (JIRA) noreply at issues.asterisk.org
Fri Oct 21 13:50:01 CDT 2016


     [ https://issues.asterisk.org/jira/browse/ASTERISK-26494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alex updated ASTERISK-26494:
----------------------------

    Description: 
I collect and parse CEL events from Asterisk certified/11.6-cert13

Unique call identifier field is named as "Uniqueid" but in some events like a "CEL,Dial,CoreShowChannel,MusicOnHold,Voicemail" is named as "UniqueID"
Casesensitive search in source files for "UniqueID: %s" found calls to ast_manager_event only in "CEL,Dial,CoreShowChannel,MusicOnHold,Voicemail" modules and few more.

My events

  Event: 'Newchannel',
  Privilege: 'call,all',
  Channel: 'SIP/user5-00000507',
  ChannelState: '0',
  ChannelStateDesc: 'Down',
  CallerIDNum: '105',
  CallerIDName: 'Alex',
  AccountCode: 'office',
  Exten: '9999',
  Context: 'context',
  Uniqueid: 'node9-1477074987.1911' 

  Event: 'CEL',
  Privilege: 'call,all',
  EventName: 'CHAN_START',
  AccountCode: 'office',
  CallerIDnum: '105',
  CallerIDname: 'Alex',
  CallerIDani: '',
  CallerIDrdnis: '',
  CallerIDdnid: '',
  Exten: '633445',
  Context: 'context',
  Channel: 'SIP/user5-00000507',
  Application: '',
  AppData: '',
  EventTime: '2016-10-21 21:36:27',
  AMAFlags: 'DOCUMENTATION',
  UniqueID: 'node9-1477074987.1911',
  LinkedID: 'node9-1477074987.1911',
  Userfield: '',
  Peer: '',
  PeerAccount: 'office',
  Extra: '' 



  was:
I collect and parse CEL events from Asterisk certified/11.6-cert13

Unique call identifier field is named as "Uniqueid" but in some events like a "CEL,Dial,CoreShowChannel" is named as "UniqueID"

  Event: 'Newchannel',
  Privilege: 'call,all',
  Channel: 'SIP/user5-00000507',
  ChannelState: '0',
  ChannelStateDesc: 'Down',
  CallerIDNum: '105',
  CallerIDName: 'Alex',
  AccountCode: 'office',
  Exten: '9999',
  Context: 'context',
  Uniqueid: 'node9-1477074987.1911' 

  Event: 'CEL',
  Privilege: 'call,all',
  EventName: 'CHAN_START',
  AccountCode: 'office',
  CallerIDnum: '105',
  CallerIDname: 'Alex',
  CallerIDani: '',
  CallerIDrdnis: '',
  CallerIDdnid: '',
  Exten: '633445',
  Context: 'context',
  Channel: 'SIP/user5-00000507',
  Application: '',
  AppData: '',
  EventTime: '2016-10-21 21:36:27',
  AMAFlags: 'DOCUMENTATION',
  UniqueID: 'node9-1477074987.1911',
  LinkedID: 'node9-1477074987.1911',
  Userfield: '',
  Peer: '',
  PeerAccount: 'office',
  Extra: '' 




> Problem with UnqiueID field name in CEL data, collected via ManagerInterface
> ----------------------------------------------------------------------------
>
>                 Key: ASTERISK-26494
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26494
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/ManagerInterface
>    Affects Versions: 11.6.0
>         Environment: Centos 6.4 x64
>            Reporter: Alex
>
> I collect and parse CEL events from Asterisk certified/11.6-cert13
> Unique call identifier field is named as "Uniqueid" but in some events like a "CEL,Dial,CoreShowChannel,MusicOnHold,Voicemail" is named as "UniqueID"
> Casesensitive search in source files for "UniqueID: %s" found calls to ast_manager_event only in "CEL,Dial,CoreShowChannel,MusicOnHold,Voicemail" modules and few more.
> My events
>   Event: 'Newchannel',
>   Privilege: 'call,all',
>   Channel: 'SIP/user5-00000507',
>   ChannelState: '0',
>   ChannelStateDesc: 'Down',
>   CallerIDNum: '105',
>   CallerIDName: 'Alex',
>   AccountCode: 'office',
>   Exten: '9999',
>   Context: 'context',
>   Uniqueid: 'node9-1477074987.1911' 
>   Event: 'CEL',
>   Privilege: 'call,all',
>   EventName: 'CHAN_START',
>   AccountCode: 'office',
>   CallerIDnum: '105',
>   CallerIDname: 'Alex',
>   CallerIDani: '',
>   CallerIDrdnis: '',
>   CallerIDdnid: '',
>   Exten: '633445',
>   Context: 'context',
>   Channel: 'SIP/user5-00000507',
>   Application: '',
>   AppData: '',
>   EventTime: '2016-10-21 21:36:27',
>   AMAFlags: 'DOCUMENTATION',
>   UniqueID: 'node9-1477074987.1911',
>   LinkedID: 'node9-1477074987.1911',
>   Userfield: '',
>   Peer: '',
>   PeerAccount: 'office',
>   Extra: '' 



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



More information about the asterisk-bugs mailing list