Skip to content

Files

Latest commit

cb24bfa · Jan 29, 2013

History

History

shopping-demo-jsr309

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Jan 29, 2013
Jan 29, 2013
Jan 29, 2013
May 12, 2010
Jan 29, 2013
May 4, 2010
May 4, 2010
IMPORTANT NOTE : make JBoss a converged sip servlets AS before following those steps. 
Checkout the instructions at https://sip-servlets.dev.java.net/installation-jboss.html
You can use both JBoss AS 4 or JBoss AS 5 based Mobicents Sip Servlets distributions

Instructions to build and deploy
--------------------------------

To build:
1.Install Mobicents Media Server 2.0.0.CR2 or later from http://www.mobicents.org/mms-downloads.html

2. Modify the context params in sip-servlets/sip-servlets-examples/shopping-demo/web/src/main/webapp/WEB-INF/sip.xml file. 		
		order.approval.waitingtime : the time between the moment the customer confirm 
			its order and the next phone call made to ask for delivery date or for admin to confirm if order is > 100$. 
			You can let the default
    	admin.sip : the sip address of the admin to be called for confirmation on orders > 100$
    
mvn clean install -Dmaven.skip.test=true from shopping-demo dir (we are skipping the tests because haven't figured out something with hibernate in the tests )

To deploy:

1. use the shopping-demo-dar.properties located in the same dir as this README file 
2. drop the ear file located in shopping-demo/ear/target into the Jboss deploy directory.

To use
------

1. Start JBoss and the Media Server. Each has a bin/run.sh script which starts it.
2. Go to http://localhost:8080/shopping-demo and follow instructions on how to play with the example at 
https://sip-servlets.dev.java.net/examples/shopping-demo.html groups.google.com/group/mobicents-public/web/converged-application-demo or http://groups.google.com/group/mobicents-public/web/converged-application-demo

working nicely on twinkle on linux for SIP info
working nicely with wengo for inband