panoramisk
panoramisk copied to clipboard
Missed body from UserEvent
Asterisk application UserEvent have name and body. Name is on key, but body is without header at end of message before empty row. AMI event from telnet on asterisk11: Event: UserEvent Privilege: user,all UserEvent: Two Uniqueid: 1624266216.116 Body with XXXXXXXXXXXX
Panoramisk show:
<Message Event='UserEvent' Privilege='user,all' Uniqueid='1624266380.120' UserEvent='Two' content=''>
Panoramisk on asterisk13+:
<Message AccountCode='' CallerIDName='<unknown>' CallerIDNum='38090000000' Channel='SIP/38090000000-00000000' ChannelState='6' ChannelStateDesc='Up' ConnectedLineName='<unknown>' ConnectedLineNum='<unknown>' Context='blablaend' Event='UserEvent' Exten='s' Language='ru' Linkedid='1624267729.0' Priority='4' Privilege='user,all' Uniqueid='1624267729.0' UserEvent='Two' content=''>
Body also may be get from newexten, but it`s not true way. Can add some logic for parse this?