Skip to content

jankubr/freeswitch_socket

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

  class MySocket < FreeswitchSocket
    def originate_call(number, user)
      command("bgapi originate user/#{user}@#{FREESWITCH_HOST} #{number}")
      @socket.close
    end    
  end

  MySocket.new.originate_call(123, 'jan')

About

Simple helper class for inbound event socket of Freeswitch

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages