JBoss.orgCommunity Documentation
Ensure that the following requirements have been met before continuing with the install.
The Example doesn't change the JBoss Communications JAIN SLEE Hardware Requirements, refer to JBoss Communications JAIN SLEE documentation for more information.
The Example requires JBoss Communications JAIN SLEE properly set, with following list of dependencies deployed/started.
Its required that MGCP RA is deployed. The MGCP RA is responsible to fire the MGCP Events corresponding to MGCP Request/Response received from Media Gateway
Its required that SIP11 RA is deployed. The SIP RA is responsible to fire the SIP Events like INVITE, BYE etc received from SIP User Agents
The demo sends MGCP Signals to Media Gateway (Media Server) to play announcements, text-to-speech, initiate conference etc and also requests DTMF events to be notified back to Application. The media part is taken care by Mobicents Media Server; its required that Mobicents Media Server is started before the User dials respective digits to test demo.
This section provides instructions on how to obtain and build the MGCP Demo Example from source code.
Downloading the source code
Subversion is used to manage its source code. Instructions for using Subversion, including install, can be found at http://svnbook.red-bean.com
Use SVN to checkout a specific release source, the base URL is ?, then add the specific release version, lets consider 2.4.0.CR1.
[usr]$ svn co ?/2.4.0.CR1 slee-example-mgcp-demo-2.4.0.CR1
Building the source code
Maven 2.0.9 (or higher) is used to build the release. Instructions for using Maven2, including install, can be found at http://maven.apache.org
Use Maven to build the deployable unit binary.
[usr]$ cd slee-example-mgcp-demo-2.4.0.CR1 [usr]$ mvn install
Once the process finishes you should have the
deployable-unit
jar file in the
target
directory, if
JBoss Communications
JAIN SLEE is installed and environment variable
JBOSS_HOME is pointing to its underlying
JBoss Enterprise Application Platform
directory, then the deployable unit jar will
also be deployed in the container.
Similar process as for Section 2.2.1, “Release Source Code Building” , the only change is the SVN source code URL, which is NOT AVAILABLE.
To install the Example simply execute provided ant script
build.xml
default target:
[usr]$ ant
The script will copy the Example's deployable unit jar to
the
default
JBoss Communications
JAIN SLEE server profile deploy directory, to deploy to
another server profile use the argument
-Dnode=
.
To uninstall the Example simply execute provided ant script
build.xml
undeploy
target:
[usr]$ ant undeploy
The script will delete the Example's deployable unit jar
from the
default
JBoss Communications
JAIN SLEE server profile deploy directory, to undeploy from
another server profile use the argument
-Dnode=
.