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

.on event with subevent type #68

Open
pilotkid opened this issue Aug 11, 2020 · 1 comment
Open

.on event with subevent type #68

pilotkid opened this issue Aug 11, 2020 · 1 comment

Comments

@pilotkid
Copy link

Hello all, I am writing a script to listen to dial events. This requires a subevent of either begin or end. How do I use the .on() callback to listen to an event with a sub-event?

@micodix
Copy link

micodix commented Oct 13, 2022

You just have to listen for a managerevent whose event property has the value Dial and additionally has the property subevent with the value Begin / End.

Since Asterisk version 12 the two events DialBegin and DialEnd are thrown instead.

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

No branches or pull requests

2 participants