Module: RubyAsterisk::AMI::Commands::Conference

Included in:
RubyAsterisk::AMI::Client
Defined in:
lib/ruby-asterisk/ami/commands/conference.rb

Overview

Conference commands

Instance Method Summary collapse

Instance Method Details

#confbridge(conference) ⇒ Object



19
20
21
# File 'lib/ruby-asterisk/ami/commands/conference.rb', line 19

def confbridge(conference)
  execute 'ConfbridgeList', { 'Conference' => conference }
end

#confbridge_kick(conference:, channel:) ⇒ Object



31
32
33
# File 'lib/ruby-asterisk/ami/commands/conference.rb', line 31

def confbridge_kick(conference:, channel:)
  execute 'ConfbridgeKick', { 'Conference' => conference, 'Channel' => channel }
end

#confbridge_mute(conference:, channel:) ⇒ Object



23
24
25
# File 'lib/ruby-asterisk/ami/commands/conference.rb', line 23

def confbridge_mute(conference:, channel:)
  execute 'ConfbridgeMute', { 'Conference' => conference, 'Channel' => channel }
end

#confbridge_unmute(conference:, channel:) ⇒ Object



27
28
29
# File 'lib/ruby-asterisk/ami/commands/conference.rb', line 27

def confbridge_unmute(conference:, channel:)
  execute 'ConfbridgeUnmute', { 'Conference' => conference, 'Channel' => channel }
end

#confbridgesObject



15
16
17
# File 'lib/ruby-asterisk/ami/commands/conference.rb', line 15

def confbridges
  execute 'ConfbridgeListRooms'
end

#meet_me_listObject



11
12
13
# File 'lib/ruby-asterisk/ami/commands/conference.rb', line 11

def meet_me_list
  execute 'MeetMeList'
end