lib/punchblock/translator/freeswitch.rb in punchblock-1.9.4 vs lib/punchblock/translator/freeswitch.rb in punchblock-2.0.0.beta1
- old
+ new
@@ -32,11 +32,11 @@
def register_call(call)
@calls[call.id] ||= call
end
- def deregister_call(call)
- @calls.delete call.id
+ def deregister_call(id)
+ @calls.delete id
end
def call_with_id(call_id)
@calls[call_id]
end