Skip to content
This repository was archived by the owner on Nov 10, 2022. It is now read-only.

Conversation

@sumitbirla
Copy link

This change allows one to install event filters for inbound listener:

Librevox.start SomeListener, :filters => ["Event-Name CHANNEL_EXECUTE", "Event-NAME HEARTBEAT"]

@vangberg
Copy link
Owner

vangberg commented Apr 3, 2014

Thanks for your work!

Wouldn't a specific listener always want the same filter? That is, would it not make more sense to specify them as part of the listener, instead of Librevox.start/run? Something like:

class MyListener < Librevox::Listener::Inbound
  filters 'Header' => 'Value', 'Foo' => 'bar'
end

Thoughts?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants