Sha256: b5d0624858a0f4d9bbd40be04125ed6b0f1aeac2127201cfc1d24046495f6a9e

Contents?: true

Size: 359 Bytes

Versions: 10

Compression:

Stored size: 359 Bytes

Contents

#!/usr/bin/env ruby

# File : call_log.rb
# Purpose: log caller and calleridname in syslog as warning message
# Author: Mohammad Khan, info@beeplove.com
# Liscense: GNU GENERAL PUBLIC LICENSE
# 


require 'syslog'
require 'rubygems'
require_gem 'ruby-agi'


log = Syslog.open("call_log.rb")
agi = AGI.new

log.warning("#{agi.callerid} <#{agi.calleridname}>")

Version data entries

10 entries across 10 versions & 3 rubygems

Version Path
erichmond-ruby-agi-0.1.1 examples/call_log.rb
erichmond-ruby-agi-1.0.0 examples/call_log.rb
erichmond-ruby-agi-1.1.1 examples/call_log.rb
redial-ruby-agi-2.0.1 examples/call_log.rb
ruby-agi-1.1.1 examples/call_log.rb
ruby-agi-1.1.0 examples/call_log.rb
ruby-agi-1.0.1 examples/call_log.rb
ruby-agi-1.0.2 examples/call_log.rb
ruby-agi-1.1.2 examples/call_log.rb
ruby-agi-2.0.0 examples/call_log.rb