restful_clicktocall.rb
# This method helps the GUI determine whether the call is still active.
This method helps the GUI determine whether the call is still active.
This method helps the GUI determine whether the call is still active .
def call_with_destination(destination)
    ahn_log.click_to_call "Finding call with destination #{destination.inspect} in #{Adhearsion.active_calls.size} active calls"
    Adhearsion.active_calls.to_a.find do |call|
      call.variables[:destination].include? destination
    end ? "alive" : "dead"
  end
def call_with_destination ( destination ) ahn_log . click_to_call "Finding call with destination #{destination.inspect} in #{Adhearsion.active_calls.size} active calls" Adhearsion . active_calls . to_a . find do | call | call . variables [ :destination ] . include? destination end ? "alive" : "dead" end
This method helps the GUI determine whether the call is still active.
This method helps the GUI determine whether the call is still active .
destination
<not_specific>