mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-03-06 18:30:01 +00:00
8 lines
170 B
Ruby
8 lines
170 B
Ruby
#! /usr/bin/ruby
|
|
require "ESL"
|
|
|
|
command = ARGV.join(" ")
|
|
con = ESL::ESLconnection.new("localhost", "8021", "ClueCon")
|
|
e = con.sendRecv("api #{command}")
|
|
puts e.getBody()
|