def monitor_speaker_events
call.register_event_handler Punchblock::Event::StartSpeaking do |start_speaking_event|
end
call.register_event_handler Punchblock::Event::StopSpeaking do |stop_speaking_event|
end
end
It should be noted that these events come from a mixer, rather than a call. As such, they will not be routed to an Adhearsion call object, but must be handled globally in the Adhearsion eventing system.
Right now these do not appear to bubble up as PB objects but I do see the XML in the trace. Would be great to have these wrapped in PB objects:
So I could do this: