adhearsion-asterisk 1.3.0 → 1.3.1
Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md
CHANGED
@@ -35,7 +35,7 @@ module Adhearsion
|
|
35
35
|
# @see http://www.voip-info.org/wiki/view/Asterisk+-+documentation+of+application+commands Asterisk Dialplan Commands
|
36
36
|
#
|
37
37
|
def execute(name, *params)
|
38
|
-
agi "EXEC #{name}",
|
38
|
+
agi "EXEC #{name}", params.join(',')
|
39
39
|
end
|
40
40
|
|
41
41
|
#
|
@@ -440,4 +440,4 @@ module Adhearsion
|
|
440
440
|
end
|
441
441
|
end
|
442
442
|
end
|
443
|
-
end
|
443
|
+
end
|
@@ -43,7 +43,7 @@ module Adhearsion::Asterisk
|
|
43
43
|
|
44
44
|
describe '#execute' do
|
45
45
|
it 'calls #agi and prefixes the command with EXEC' do
|
46
|
-
subject.expects(:agi).once.with 'EXEC Dial', '4044754842
|
46
|
+
subject.expects(:agi).once.with 'EXEC Dial', '4044754842,15'
|
47
47
|
subject.execute 'Dial', '4044754842', 15
|
48
48
|
end
|
49
49
|
end
|
@@ -544,4 +544,4 @@ module Adhearsion::Asterisk
|
|
544
544
|
end
|
545
545
|
end
|
546
546
|
end#main describe
|
547
|
-
end
|
547
|
+
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: adhearsion-asterisk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2012-
|
14
|
+
date: 2012-12-14 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: adhearsion
|
@@ -298,7 +298,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
298
298
|
version: '0'
|
299
299
|
segments:
|
300
300
|
- 0
|
301
|
-
hash:
|
301
|
+
hash: 1169002231501236776
|
302
302
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
303
303
|
none: false
|
304
304
|
requirements:
|
@@ -307,10 +307,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
307
307
|
version: '0'
|
308
308
|
segments:
|
309
309
|
- 0
|
310
|
-
hash:
|
310
|
+
hash: 1169002231501236776
|
311
311
|
requirements: []
|
312
312
|
rubyforge_project: adhearsion-asterisk
|
313
|
-
rubygems_version: 1.8.
|
313
|
+
rubygems_version: 1.8.24
|
314
314
|
signing_key:
|
315
315
|
specification_version: 3
|
316
316
|
summary: Asterisk specific features for Adhearsion
|
@@ -328,3 +328,4 @@ test_files:
|
|
328
328
|
- spec/has_agi_context.rb
|
329
329
|
- spec/spec_helper.rb
|
330
330
|
- spec/support/the_following_code.rb
|
331
|
+
has_rdoc:
|