class Asterisk::ARI
- Asterisk::ARI
- Reference
- Object
Defined in:
asterisk/ari.crConstructors
Instance Method Summary
-
#bridge_add_channel(bridge_id, channel_id)
Add channel to bridge
-
#bridge_details(bridge_id)
Gets Bridge details
-
#bridge_hangup(bridge_id)
Removes a bridge
-
#bridge_new
Creates a new bridge
-
#bridge_play(bridge_id, media)
Plays media on bridge
-
#channel_details(channel_id)
Channel details
-
#channel_dial(channel_id, timeout = 30)
Dials a channel id
-
#channel_hangup(channel_id)
Hangup a channel id
- #channel_message : Channel(String)
-
#channel_moh(channel_id)
Puts channel on hold
-
#channel_new(endpoint, ari_app)
Creates a new channel
-
#channel_play(channel_id, media)
Plays media on channel
-
#channel_remove_moh(channel_id)
Removes Music on hold from channel
- #disconnect
- #logger
- #start_websocket
Constructor Detail
def self.new(host : String = "http://localhost:8088", websocket_host : String = "ws://localhost:8088", ari_app : String = "", username : String = "", secret : String = "")
#