englercj / node-esl

FreeSWITCH ESL implementation for Node.js; implements the full Event Socket Library specified in: http://wiki.freeswitch.org/wiki/Esl
http://englercj.github.com/node-esl/
MIT License
170 stars 111 forks source link

Fixed callback never called for bgapi #45

Closed aalexgabi closed 9 years ago

aalexgabi commented 9 years ago

In some cases the command replies before attaching the event listener for the reply. When this happens the callback is never called.

Is there a particular reason for which the jobid is taken from the event header given that in all cases it is available?

englercj commented 9 years ago

:+1: Good change, thanks for catching this.

aalexgabi commented 9 years ago

Can you release it?

englercj commented 9 years ago

Already did :)

https://github.com/englercj/node-esl/releases/tag/v1.1.4

aalexgabi commented 9 years ago

@englercj Thank you for the release! Thank you for your reactivity! Thank you for developing this great library :)

englercj commented 9 years ago

You're welcome! Let me know if there is anything else I can do.