Re: [Asterisk-Users] AGI + Ruby

2005-09-12 Thread joe heitzeberg
Hi Seshu,

RAGI communicates with your Asterisk server over a socket, allowing
you to create your call handling scripts in Ruby or Ruby on Rails. 
This allows you to build complex routines that using object models and
database lookups in Ruby [on Rails], and not have to split your
business logic across your app server and Asterisk's config files such
as extension.conf.  It makes it easy to do things like:

user = User.find(phonenumber, connection.getVariable(callerid)
if (user.balance())  5.00)
   connection.playSound(your-account-balance-is-low)
   #send email, send sms
   #update something in the database, etc
end
# The above is the same code and object model as used in your web app

Joe



On 9/12/05, Kanuri, Seshu (Company IT) [EMAIL PROTECTED] wrote:
 What can RAGI do additionally that AGI or FastAgi and DeadAgi cannot do
 which is already available under Asterisk?
 
 Seshu Kanuri
 
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] On Behalf Of joe
 heitzeberg
 Sent: Sunday, September 11, 2005 12:31 PM
 To: Asterisk Users Mailing List - Non-Commercial Discussion
 Subject: Re: [Asterisk-Users] AGI + Ruby
 
 Hi,
 
 We have created RAGI (Ruby Asterisk Gateway Interface) for the open
 source community so that Ruby and Ruby on Rails can be used to easily
 and effeciently create Asterisk-based applications.  Examples:  IVR,
 call center apps, Asterisk management consoles, etc.
 
 RAGI includes a set of objects to interface over AGI to Asterisk for
 handling inbound calls and outbound dialing, and includes a server
 component, documentation and a sample apps to get you going quickly.
 
 Please see: http://ragi.sourceforge.net/
 
 The prelimenary release is available now on
 https://sourceforge.net/projects/ragi
 
 We welcome input and development participation in the effort.
 
 
 thanks,
 Joe Heitzeberg
 SNAPVINE
 
 
 
 On 8/24/05, Innocent Evil [EMAIL PROTECTED] wrote:
  I would like to write AGI script in Ruby Would anybody please show me
  right direction..
 
 
  Thanks___
  Asterisk-Users mailing list
  Asterisk-Users@lists.digium.com
  http://lists.digium.com/mailman/listinfo/asterisk-users
  To UNSUBSCRIBE or update options visit:
 http://lists.digium.com/mailman/listinfo/asterisk-users
 
 ___
 --Bandwidth and Colocation sponsored by Easynews.com --
 
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users
 
 
 NOTICE: If received in error, please destroy and notify sender.  Sender does 
 not waive confidentiality or privilege, and use is prohibited.

___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] ruby-agi 0.0.2 released

2005-09-12 Thread joe heitzeberg
Hi Mohammad,

We have created RAGI - ruby asterisk gateway interface as a means of
bridging Asterisk with Ruby or Ruby on Rails.

http://ragi.sourceforge.net/

We have a set of things including:
+ object to encapsulate AGI
+ server object to embed in web applications framework (e.g. Rails) or
as standalone
+ documentation
+ sample apps

Please take a look if you have a chance.  http://ragi.sourceforge.net/
I see that your project is similar in some respects.  I wonder if you
would consider putting our effort together somehow?

best regards,

Joe


On 9/11/05, Mohammad Khan [EMAIL PROTECTED] wrote:
 Hello,
 
 I have released Ruby Asterisk Gateway Interface (ruby-agi) v0.0.2b.
 Any feedback, bug report, suggession, feature request is most welcome.
 
 ruby-agi homepage:
 http://www.rubyforge.org/projects/ruby-agi/
 
 Download ruby-agi v0.0.2b here:
 http://rubyforge.org/frs/download.php/5965/ruby-agi_v0.0.2b.tgz
 
 
 Thanks,
 Mohammad Khan
 
 ___
 --Bandwidth and Colocation sponsored by Easynews.com --
 
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] AGI + Ruby

2005-09-12 Thread joe heitzeberg
Hi Dan,

Being able to run your call handler and your MVC web application in
the same process and language has some great code reuse implications. 
I'm sure if you are building your web app in Perl and want to leverage
that logic with an Asterisk app, then you would do exactly what you
are saying.

Without getting into a language or framework debate, I'll just say
that Ruby on Rails has some great advantages over Perl and even Java
for building database backed web applications quickly... so RAGI is
just an API for Ruby and Ruby on Rails developers to bring Asterisk
into the app... and letting you tap into your object models and DBs
for reuse.

For more on Ruby on Rails, check out:  http://www.rubyonrails.org

Joe

On 9/12/05, Dan Littlejohn [EMAIL PROTECTED] wrote:
snip
 
 Joe:
 
 You could do the same thing using PERL and strong classing.
 
 sub new {
 my ($class) = @_;
 my $this = {};
 bless($this,$class);
 return $this;
 }
 
 Why would you pick Ruby over this? (not flaming, just trying to
 understand the advantages)  Granted, classes in Perl or PHP are not
 perfect, but If you have to setup a socket and have the overhead, what
 are the advantages?
 
 Dan

___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users


Re: [Asterisk-Users] AGI + Ruby

2005-09-11 Thread joe heitzeberg
Hi,

We have created RAGI (Ruby Asterisk Gateway Interface) for the open
source community so that Ruby and Ruby on Rails can be used to easily
and effeciently create Asterisk-based applications.  Examples:  IVR,
call center apps, Asterisk management consoles, etc.

RAGI includes a set of objects to interface over AGI to Asterisk for
handling inbound calls and outbound dialing, and includes a server
component, documentation and a sample apps to get you going quickly.

Please see: http://ragi.sourceforge.net/

The prelimenary release is available now on
https://sourceforge.net/projects/ragi

We welcome input and development participation in the effort.


thanks,
Joe Heitzeberg
SNAPVINE



On 8/24/05, Innocent Evil [EMAIL PROTECTED] wrote:
 I would like to write AGI script in Ruby
 Would anybody please show me right direction..
 
 
 Thanks___
 Asterisk-Users mailing list
 Asterisk-Users@lists.digium.com
 http://lists.digium.com/mailman/listinfo/asterisk-users
 To UNSUBSCRIBE or update options visit:
http://lists.digium.com/mailman/listinfo/asterisk-users

___
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users@lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users