freeswitcher 0.6.1 → 0.6.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/fsr/listener/inbound.rb +5 -1
- data/lib/fsr/utils/dtmf.rb +1 -5
- data/lib/fsr/version.rb +1 -1
- metadata +3 -3
data/lib/fsr/listener/inbound.rb
CHANGED
@@ -64,6 +64,10 @@ module FSR
|
|
64
64
|
|
65
65
|
private :before_session
|
66
66
|
|
67
|
+
def handle_request(header, content)
|
68
|
+
false
|
69
|
+
end
|
70
|
+
|
67
71
|
# receive_request is the callback method when data is recieved from the socket
|
68
72
|
#
|
69
73
|
# param header headers from standard Header and Content protocol
|
@@ -81,7 +85,7 @@ module FSR
|
|
81
85
|
when "auth/request"
|
82
86
|
return
|
83
87
|
else
|
84
|
-
FSR::Log.warn "Unhandled request (#{header}, #{content})"
|
88
|
+
FSR::Log.warn "Unhandled request (#{header}, #{content})" unless handle_request(header, content)
|
85
89
|
return
|
86
90
|
end
|
87
91
|
hash_content ||= {}
|
data/lib/fsr/utils/dtmf.rb
CHANGED
data/lib/fsr/version.rb
CHANGED
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 6
|
8
|
-
-
|
9
|
-
version: 0.6.
|
8
|
+
- 2
|
9
|
+
version: 0.6.2
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Jayson Vaughn
|
@@ -17,7 +17,7 @@ autorequire:
|
|
17
17
|
bindir: bin
|
18
18
|
cert_chain: []
|
19
19
|
|
20
|
-
date: 2011-02-
|
20
|
+
date: 2011-02-25 00:00:00 -06:00
|
21
21
|
default_executable:
|
22
22
|
dependencies:
|
23
23
|
- !ruby/object:Gem::Dependency
|