Presence Layer In Project WebSynergy

            In the recent years with the increasing demand for web2.0 and social communities, real time collaboration and presence capabilites are of huge demand in portals.Two famous protocols for doing voice chat  and IM are SIP and XMPP respectively.Although each one of these has its plus and minus,there is a need of a common layer on the top of both of these.

People usually communicate using different modes viz chat,call,sms,mail. ruon(r u on) project aims to expose presence and communication layer as a service across portal.It will even have a common layer above SIP and XMPP as both of these can handle voice chat and IM, but initially we are starting with XMPP for Chat and SIP for Voice Call .Sailfin ,a robust server based on popular opensource application server glassfish is used as a SIP server for doing voice call.

A portlet to demo this idea has been showcased at JavaOne and will later be available for download at http://ruon.dev.java.net.Here the details and configuration steps of that portlet.Webservices are used for communicating with sailfin to get user status and sip urls.

Stepping up the Sailfin Machine

1.Install sailfin
2.Start domain
 (asadmin.bat start-domain)
3.Start database
  (asadmin.bat start-database)
4.Deploy the ConvergedSipWebapplication on sailfin

Imp:-Please make sure that database is started before you deploy the webapplication.

Deploying the Presence Portlet

1.deploy the portlet on the websynergy machine.
2.In the deployed location of the portlet go to WEB-INF/classes/com/sun/presence/portlet/PresenceProperties.properties file and then change the sailfin location to the machine where sailfin is deployed.

Usage of the portlet:-

1.If you are logging into portal using <username>@sun.com .Here are the steps to configure the xlite client.
   1.launch the xlite client
   2.right click and select SIP Account settings
   3.then click add to add an user
   4.Now in the DisplayName,username and authorization username give the user as <username> .
   5.Give the domain as test.com
   6.In the "domain proxy" select proxy and give the address as sailfin machine name or Ip and port number ex:- <sailfin IP> :5060

2.Now login into the portal and select the SunSpace tab.

3.In some other machine login as say "ed"(or any other) user in xlite client.Refresh the portal page and then  see the user is online.You can click on the online icon and talk to that user.

 

Stay tuned :) and Keep a watch on ruon website for more details.!!! .If you would like to sit back and have a look at this portlet available, here is the screencast.






 

Comments:

où est le ConvergedSipWebapplication?

Posted by Name on May 04, 2009 at 12:35 AM PDT #

Post a Comment:
  • HTML Syntax: NOT allowed
About

murali529

Search

Categories
Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today