zmarius81 / asterisk.io

node.js asterisk pbx io
41 stars 25 forks source link

Always emit an eventEventName, even for responses, if they have an event name #9

Closed jonastelzio closed 3 years ago

jonastelzio commented 5 years ago

This addresses the issue where OriginateResponse-events wasn't emitted. If a message from Asterisk contains the Event-field, then it's an event and should be emitted.