My JRuby-Rails app on JBoss and Mobicents can make Phone calls!

Hi all,

I’m the project lead of Mobicents Sip Servlets (
Mobicents Sip Servlets - Sip-Servlets), subproject of the
open
source Mobicents Communications platform -http://www.mobicents.org
(which is
in turn part of JBoss/Red Hat company)

In short Sip Servlets allow you to create telco apps in a very similar
way
to the way you create HTTP Servlets apps, ie initiate or receive phone
calls
(among more complicated telco or conerged apps you can create)
I’ve been playing with JRuby on Rails lately an figured it would be nice
if
I was able to initiate phone calls from my JRuby on Rails app in
leveraging
the Mobicents Sip Servlets project.

Through the fantastic jobs you JRuby guys (I include JRuby core,
JRuby-Rack,
warbler, … developers) have been doing, the experience was painless
and
quite easy. I was able to make it work in less than half a week
(considering
my ruby-rails newbie-ness, it’s quite an achievement)

You can find the extensive walkthrough and details on how to set it up
on my
blog

The next step is to remove the need to create a war and make it more
Ruby-Rails natural (live modification to the app), and have enterprise
features through integration with the JBoss Rails deployer (
http://oddthesis.org/theses/jboss-rails)
The other next step is to be able to receive a SIP request and call out
to
JRuby on Rails app so that it handles the sip request. Any hint on how
to
call JRuby app from java is appreciated.

Again, thx to all !
Best regards
Jean Deruelle

Jean Deruelle wrote:

The next step is to remove the need to create a war and make it more
Ruby-Rails natural (live modification to the app), and have enterprise
features through integration with the JBoss Rails deployer
(http://oddthesis.org/theses/jboss-rails)
The other next step is to be able to receive a SIP request and call out
to JRuby on Rails app so that it handles the sip request. Any hint on
how to call JRuby app from java is appreciated.

Cool, thanks for posting about this! So at the moment, it’s just
WAR-based, and you’re looking to integrate directly into JBoss?

  • Charlie

To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email

Yeah. instead of deploying the war to the standard directory and have
the
need to rebuild and redeploy for every change
The JBoss Rails deployer currently allows one to have the app located
anywhere on the filesystem and be able to do live modification without
rebundling and redeployment (only for the ruby rails part - not sure if
the
java part support hot deploy). it also allows one jruby rails app to
benefit
from the other jboss services such as clustering, scheduling, drools
integration, Messaging/JMS.
So I would like to integrate with JBoss Rails deployer so that it can
recognize my telco converged JRuby on Rails app also so that I can get
everything for free.

On Fri, Mar 13, 2009 at 8:12 PM, Charles Oliver N. <

We actually wanted to take things further so that ruby or ruby on rails
applications can handle SIP Servlets messages and be a converged Web
2.0/VoIP Telco 2.0 application running on JBoss 5 and Mobicents Sip
Servlets
(taking full advantage of things like clustering, failover, STUN support
and
so on…)
See more at
http://www.dzone.com/links/jruby_voip_app_on_jboss_5_reloaded_look_ma_my_pur.html

Jean

I may be bit biased here, but have you tried directory deployment in
Glassfish V3 prelude (or gem, for a more recent version)? That should
give you everything you need in the way of modification/JEE services
without needing to do any special integration.

Jean Deruelle wrote:

everything for free.
The other next step is to be able to receive a SIP request and
---------------------------------------------------------------------
To unsubscribe from this list, please visit:

  http://xircles.codehaus.org/manage_email

To unsubscribe from this list, please visit:

http://xircles.codehaus.org/manage_email