| Passthrough '*' for DTMF send keys - warvox - VoIP based wardialing tool, forke… | |
| Log | |
| Files | |
| Refs | |
| README | |
| --- | |
| commit 9ceb178733fe1a400d2f27d293a199f85dae8325 | |
| parent d3bced51ce0325447f2a05468052aa045cc6d8d6 | |
| Author: HD Moore <[email protected]> | |
| Date: Wed, 2 Mar 2016 15:03:32 -0600 | |
| Passthrough '*' for DTMF send keys | |
| Diffstat: | |
| M Gemfile.lock | 2 +- | |
| M lib/warvox/proto/iax2/client.rb | 2 +- | |
| 2 files changed, 2 insertions(+), 2 deletions(-) | |
| --- | |
| diff --git a/Gemfile.lock b/Gemfile.lock | |
| @@ -17,7 +17,7 @@ GIT | |
| sass-rails | |
| GEM | |
| - remote: http://rubygems.org/ | |
| + remote: https://rubygems.org/ | |
| specs: | |
| actionmailer (4.1.14.1) | |
| actionpack (= 4.1.14.1) | |
| diff --git a/lib/warvox/proto/iax2/client.rb b/lib/warvox/proto/iax2/client.rb | |
| @@ -127,7 +127,7 @@ class Client | |
| when ',' | |
| dprint("#{Thread.current} Sleeping 1s...") | |
| sleep(1.0) | |
| - when /^[0-9#]$/ | |
| + when /^[0-9\#\*]$/ | |
| dprint("#{Thread.current} Sending key #{c}") | |
| send_dtmf(call, c, :begin) | |
| sleep(0.3) |