lib/adhearsion/call_controller/dial.rb in adhearsion-2.0.0.rc3 vs lib/adhearsion/call_controller/dial.rb in adhearsion-2.0.0.rc4
- old
+ new
@@ -62,10 +62,10 @@
rescue Celluloid::DeadActorError
# This actor may previously have been shut down due to the call ending
end
end
- new_call.register_event_handler Punchblock::Event::Unjoined, :other_call_id => call.id do |unjoined|
+ new_call.register_event_handler Punchblock::Event::Unjoined, :call_id => call.id do |unjoined|
new_call["dial_countdown_#{call.id}"] = true
latch.countdown!
throw :pass
end