Skip to content

Instantly share code, notes, and snippets.

@jpterry
Created March 20, 2014 23:19
Show Gist options
  • Save jpterry/9676162 to your computer and use it in GitHub Desktop.
Save jpterry/9676162 to your computer and use it in GitHub Desktop.
diff --git a/lib/ring_switch/call_flow/ivr_flow.rb b/lib/ring_switch/call_flow/ivr_flow.rb
index 3f0d0dd..71cb9ed 100644
--- a/lib/ring_switch/call_flow/ivr_flow.rb
+++ b/lib/ring_switch/call_flow/ivr_flow.rb
@@ -89,7 +89,8 @@ def hangup_received?
# Robo caller tone detection
ROBOT_TONES = {
:fax_send_tone => {:hz => 1100, :hits => 3, :timeout => 10.seconds},
- :wardialer_modem_signal => {:hz => 2100, :hits => 3, :timeout => 10.seconds}
+ :wardialer_modem_signal => {:hz => 2100, :hits => 3, :timeout => 10.seconds},
+ :busy_signal => {:hz => '480,620', :hits => 34, :timeout => 15.seconds},
}
def robot_deflector_enabled?
@ColinDKelley
Copy link

Nice! I would never have guessed 34 hits. I wonder how much time that equates to?

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