
Security News
New Website “Is It Really FOSS?” Tracks Transparency in Open Source Distribution Models
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
*** STILL UNDER HEAVY DEVELOPMENT ***
A ruby library for interacting with the "FreeSWITCH" (http://www.freeswitch.org) opensource telephony platform
*** STILL UNDER HEAVY DEVELOPMENT ***
Example of originating a new call in 'irb' using FSR::CommandSocket#originate:
irb(main):001:0> require 'fsr' => true
irb(main):002:0> FSR.load_all_commands => [:sofia, :originate]
irb(main):003:0> sock = FSR::CommandSocket.new => #<FSR::CommandSocket:0xb7a89104 @server="127.0.0.1", @socket=#TCPSocket:0xb7a8908c, @port="8021", @auth="ClueCon">
irb(main):007:0> sock.originate(:target => 'sofia/gateway/carlos/8179395222', :endpoint => FSR::App::Bridge.new("user/bougyman")).run => {"Job-UUID"=>"732075a4-7dd5-4258-b124-6284a82a5ae7", "body"=>"", "Content-Type"=>"command/reply", "Reply-Text"=>"+OK Job-UUID: 732075a4-7dd5-4258-b124-6284a82a5ae7"}
Example of creating an Outbound Eventsocket listener:
#!/usr/bin/env ruby
require 'fsr'
require "fsr/listener/outbound"
class OesDemo < FSR::Listener::Outbound
def session_initiated(session)
number = session.headers[:caller_caller_id_number] # Grab the inbound caller id
FSR::Log.info "*** Answering incoming call from #{number}"
answer # Answer the call
set "hangup_after_bridge=true" # Set a variable
speak 'Hello, This is your phone switch. Have a great day' # use mod_flite to speak
hangup # Hangup the call
end
end
FSR.start_oes!(OesDemo, :port => 1888, :host => "localhost")
Example of creating an Inbound Eventsocket listener:
#!/usr/bin/env ruby
require 'fsr'
require "fsr/listener/inbound"
class IesDemo < FSR::Listener::Inbound
def on_event(event)
pp event.headers
pp event.content[:event_name]
end
end
FSR.start_ies!(IesDemo, :host => "localhost", :port => 8021)
Home page at http://code.rubyists.com/projects/fs #rubyists on FreeNode
FAQs
Unknown package
We found that FreeSWITCHeR demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
A new site reviews software projects to reveal if they’re truly FOSS, making complex licensing and distribution models easy to understand.
Security News
Astral unveils pyx, a Python-native package registry in beta, designed to speed installs, enhance security, and integrate deeply with uv.
Security News
The Latio podcast explores how static and runtime reachability help teams prioritize exploitable vulnerabilities and streamline AppSec workflows.