Skip to main content

MSRP on OCCAS using CAFE

Posted by bhavanishankar on June 27, 2010 at 8:40 AM PDT

In one of my previous blog, I provided some preliminary notes about running CAFE apps on top of Oracle Converged Communications Server (OCCAS) which covered two party call and voice conference.

Now that we have MSRP support in CAFE for doing session mode IM, large file transfers, etc., which apparently works in OCCAS, it may be worth sharing a quick note on how to enable/use it in OCCAS.

For "Installing OCCAS" and "Installing CAFE on OCCAS" please refer my previous blog.

To enable MSRP, just copy OCCAS_HOME/user_projects/domains/base_domain/lib/msrp-connector-ra.rar to OCCAS_HOME/user_projects/domains/base_domain/autodeploy/

Thats it, OCCAS is now ready for deploying the CAFE applications to do session mode IM, large file transfers using MSRP:

Some sample applications for trying out :

(1) Sending large file from the remote client browser to the conference attendees: Deploy cafemsrp_browser_file_transfer.war by copying it to OCCAS_HOME/user_projects/domains/base_domain/autodeploy/. Refer my earlier blog for the details of the application.

(2) In a voice conference, sending the large file from one attendee to all the other attendees: Deploy voice_and_msrp-1.0-SNAPSHOT.war by just copying it to OCCAS_HOME /user_projects/domains/base_domain/autodeploy/. Watch SCREENCAST (~30 seconds, ~4 MB) to see how the sample works. To run this sample you also need to start the jvoicebridge as instructed here.

The javadocs for MSRP*** apis are at http://download.java.net/javaee5/sailfin-cafe/v1/apidocs/

For comments/questions or trouble running the samples, wriie to me directly at bhavanishankar@dev.java.net

Related Topics >>