marcelog / Nami

Asterisk manager interface (ami) client for nodejs
http://marcelog.github.com/Nami
Apache License 2.0
99 stars 59 forks source link

Add example for processing command response containing events #17

Closed soap closed 10 years ago

soap commented 10 years ago

I have add example how to process result for command that have following event. I have spent some time on this issue. I have to go through the code to know exactly why I cannot get these events.

Thanks

marcelog commented 10 years ago

Hi :) Thanks for your contribution! I think there is space for specific examples, but I would personally like this to be in a separate file, which states very clear what is the example about (index.js is more like a general-broad example, and this stuff is quite specific). Thoughts?

soap commented 10 years ago

Ok, as I spent an hour looking for why these events not trigger, so I think it may be useful. It may my mistake that did not read your document carefully. Thanks.