Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds "onRawEventUnmarshalled" can specify AMI Login Events param #13

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

blak3r
Copy link

@blak3r blak3r commented Oct 14, 2013

  • onRawEventUnmarshalled - returns a string containing the event received. Useful for logging purposes or if your code wants to log events from various phone systems in a universal format.
  • Login(..) now takes an events param which is sent as part of the login message. This can be used to limit the types of events you receive. For example, "call,hud" is good for retrieving just call events.

…be to.

* onRawEventUnmarshalled - returns a string containing the event received.  Useful for logging purposes or if your code wants to log events from various phone systems in a universal format.
* Login(..) now takes an events param which is sent as part of the login message.  This can be used to limit the types of events you receive.  For example, "call,hud" is good for retrieving just call events.
Login.super_.call(this, 'Login');
this.set('Username', username);
this.set('Secret', secret );
if( events !== undefined ) {
this.set('Events', events);
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

question: where is this documented? i knew about the Events action but not about this argument.. couldn't find it documented in the asterisk wiki and others.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants