Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def list
- rastcon = Rastcon.new
- rastcon.add_event_hook(:event) { |evt| puts "Event received: [#{evt.inspect}]"}
- rastcon.connect
- rastcon.events(:eventmask => "user,call")
- rastcon.ping
- rastcon.logoff
- end
Add Comment
Please, Sign In to add comment