adhearsion-cw 1.0.2.2 → 1.0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CHANGELOG +1 -1
- data/lib/adhearsion/version.rb +1 -1
- data/lib/adhearsion/voip/asterisk/commands.rb +5 -5
- metadata +5 -7
data/CHANGELOG
CHANGED
data/lib/adhearsion/version.rb
CHANGED
@@ -3,7 +3,7 @@ module Adhearsion #:nodoc:
|
|
3
3
|
MAJOR = 1 unless defined? MAJOR
|
4
4
|
MINOR = 0 unless defined? MINOR
|
5
5
|
TINY = 2 unless defined? TINY
|
6
|
-
NANO =
|
6
|
+
NANO = 3 unless defined? NANO
|
7
7
|
|
8
8
|
STRING = [MAJOR, MINOR, TINY, NANO].join('.') unless defined? STRING
|
9
9
|
end
|
@@ -763,7 +763,7 @@ module Adhearsion
|
|
763
763
|
"#{mailbox}@#{context_name}"
|
764
764
|
end.join('&')
|
765
765
|
end
|
766
|
-
execute('
|
766
|
+
execute('VoiceMail', number_with_context, options)
|
767
767
|
case variable('VMSTATUS')
|
768
768
|
when 'SUCCESS' then true
|
769
769
|
when 'USEREXIT' then false
|
@@ -888,7 +888,7 @@ module Adhearsion
|
|
888
888
|
#
|
889
889
|
# @param [String] digits
|
890
890
|
def say_digits(digits)
|
891
|
-
execute "
|
891
|
+
execute "SayDigits", validate_digits(digits)
|
892
892
|
end
|
893
893
|
|
894
894
|
# Get the number of seconds the given block takes to execute. This
|
@@ -925,7 +925,7 @@ module Adhearsion
|
|
925
925
|
#
|
926
926
|
# @see http://www.voip-info.org/wiki/view/Asterisk+cmd+SayPhonetic Asterisk SayPhonetic Command
|
927
927
|
def say_phonetic(text)
|
928
|
-
execute "
|
928
|
+
execute "SayPhonetic", text
|
929
929
|
end
|
930
930
|
|
931
931
|
##
|
@@ -939,7 +939,7 @@ module Adhearsion
|
|
939
939
|
#
|
940
940
|
# @see http://www.voip-info.org/wiki/view/Asterisk+cmd+SayAlpha Asterisk SayPhonetic Command
|
941
941
|
def say_chars(text)
|
942
|
-
execute "
|
942
|
+
execute "SayAlpha", text
|
943
943
|
end
|
944
944
|
|
945
945
|
# Plays the given Date, Time, or Integer (seconds since epoch)
|
@@ -1250,7 +1250,7 @@ module Adhearsion
|
|
1250
1250
|
# @example
|
1251
1251
|
# queue('sales').join! :allow_transfer => :agent, :timeout => 30.seconds,
|
1252
1252
|
def join!(options={})
|
1253
|
-
environment.execute("
|
1253
|
+
environment.execute("Queue", name, *self.class.format_join_hash_key_arguments(options))
|
1254
1254
|
normalize_queue_status_variable environment.variable("QUEUESTATUS")
|
1255
1255
|
end
|
1256
1256
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adhearsion-cw
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 81
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 1
|
8
8
|
- 0
|
9
9
|
- 2
|
10
|
-
-
|
11
|
-
version: 1.0.2.
|
10
|
+
- 3
|
11
|
+
version: 1.0.2.3
|
12
12
|
platform: ruby
|
13
13
|
authors:
|
14
14
|
- Dawid Pogorzelski
|
@@ -16,8 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date: 2011-04-
|
20
|
-
default_executable:
|
19
|
+
date: 2011-04-06 00:00:00 Z
|
21
20
|
dependencies:
|
22
21
|
- !ruby/object:Gem::Dependency
|
23
22
|
name: bundler
|
@@ -285,7 +284,6 @@ files:
|
|
285
284
|
- LICENSE
|
286
285
|
- Rakefile
|
287
286
|
- Gemfile
|
288
|
-
has_rdoc: true
|
289
287
|
homepage: https://github.com/dawid999/adhearsion-cw
|
290
288
|
licenses: []
|
291
289
|
|
@@ -315,7 +313,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
315
313
|
requirements: []
|
316
314
|
|
317
315
|
rubyforge_project: adhearsion
|
318
|
-
rubygems_version: 1.
|
316
|
+
rubygems_version: 1.7.1
|
319
317
|
signing_key:
|
320
318
|
specification_version: 2
|
321
319
|
summary: Adhearsion-cw, open-source telephony development framework. This is a fork from the original Adhearsion project http://adhearsion.com
|