 |
| |
| META TOPICPARENT | name="MobicentsOpenSLEE" |
How to install the JAIN SIP Resource Adaptor
Here is a short guide on how to build and install the Jain Sip Resource Adaptor. | |
< < | | > > | | | |
- Start the Mobicents server
- Make sure the file
sipra.properties, located under $PROJECT_HOME/ra/sipra/ra/src/org/mobicents/slee/resource/sip/, contains the correct information, for example:
|
| |
| META TOPICPARENT | name="MobicentsOpenSLEE" |
How to install the JAIN SIP Resource Adaptor | | |
- Start the Mobicents server
- Make sure the file
sipra.properties, located under $PROJECT_HOME/ra/sipra/ra/src/org/mobicents/slee/resource/sip/, contains the correct information, for example:
| |
< < |
-
- javax.sip.IP_ADDRESS=127.0.0.1
- javax.sip.RETRANSMISSION_FILTER=on
- javax.sip.STACK_NAME=SipResourceAdapter
- javax.sip.PORT=5060
- javax.sip.TRANSPORT=udp
- javax.sip.STACK_PREFIX=mobicents.org
- gov.nist.slee.resource.sip.TRACE_LEVEL=16
- gov.nist.slee.resource.sip.AUTHENTICATION=false
- gov.nist.slee.resource.sip.AUTH_FILE=C:/passwords.xml
- Make sure to place the file passwords.xml (same directory as sipra.properties) under the location pointed by gov.nist.slee.resource.sip.AUTH_FILE ("C:/" in the configuration above). Take a look at this file to see what user names and passwords are available for SIP clients (User Agents) to register.
- cd $PROJECT_HOME/ra/sipra/
- Run
ant sipradeploy
| > > |
# Default IP address 0.0.0.0 can pickup the IP address
# automatically -- this is not a good idea if you have
# multiple interfaces.
#
# When javax.sip.IP_ADDRESS is not specified, the SIP RA
# uses the default binding address of the SLEE container
# | | | | |
> > | #javax.sip.IP_ADDRESS=127.0.0.1
javax.sip.STACK_NAME=SipResourceAdapter
javax.sip.PORT=5060
javax.sip.STACK_PREFIX=gov.nist
gov.nist.javax.sip.TRACE_LEVEL=DEBUG
gov.nist.javax.sip.DEBUG_LOG=sipdebug.txt
gov.nist.slee.resource.sip.AUTHENTICATION=false
gov.nist.slee.resource.sip.AUTH_FILE=passwords.xml
gov.nist.javax.sip.THREAD_POOL_SIZE=4
#SPECIFIES uS after which if dialog didnt receive/or send any message is considered to be
#timed out and removed from activities
net.java.DIALOG_TIMEOUT=360000
#Set uS for which CANCEL delivery is postponed in order to give sbb chance to process INVITE
net.java.CANCEL_WAIT=1000
#Controlls firing of TCK vents which expose internal state of RA and values passed by SleeContainer?
net.java.FIRE_X_EVENTS=true
- use either
ant deploy or ant deployall target, depending what You need - only ra or ra with basic sip services.
| | | | |
< < | [Author: Luis Teixeira]
[Reviewed by: Marco Monteiro, Paolo Costa] |
| |
| META TOPICPARENT | name="MobicentsOpenSLEE" |
How to install the JAIN SIP Resource Adaptor
Here is a short guide on how to build and install the Jain Sip Resource Adaptor.
- Start the Mobicents server
| |
< < |
- Make sure the file
sipra.properties, located under src/org/mobicents/slee/resource/sip/, contains the correct information, for example:
| > > |
- Make sure the file
sipra.properties, located under $PROJECT_HOME/ra/sipra/ra/src/org/mobicents/slee/resource/sip/, contains the correct information, for example:
| | |
-
- javax.sip.IP_ADDRESS=127.0.0.1
- javax.sip.RETRANSMISSION_FILTER=on
- javax.sip.STACK_NAME=SipResourceAdapter
|
| |
| META TOPICPARENT | name="MobicentsOpenSLEE" |
How to install the JAIN SIP Resource Adaptor | | |
-
- gov.nist.slee.resource.sip.AUTHENTICATION=false
- gov.nist.slee.resource.sip.AUTH_FILE=C:/passwords.xml
- Make sure to place the file passwords.xml (same directory as sipra.properties) under the location pointed by gov.nist.slee.resource.sip.AUTH_FILE ("C:/" in the configuration above). Take a look at this file to see what user names and passwords are available for SIP clients (User Agents) to register.
| |
> > |
- cd $PROJECT_HOME/ra/sipra/
| | | |
| |
| META TOPICPARENT | name="MobicentsOpenSLEE" |
How to install the JAIN SIP Resource Adaptor | | |
- Start the Mobicents server
- Make sure the file
sipra.properties, located under src/org/mobicents/slee/resource/sip/, contains the correct information, for example:
| |
< < |
-
- javax.sip.IP_ADDRESS=0.0.0.0
| > > |
-
- javax.sip.IP_ADDRESS=127.0.0.1
| | |
-
- javax.sip.RETRANSMISSION_FILTER=on
- javax.sip.STACK_NAME=SipResourceAdapter
- javax.sip.PORT=5060
- javax.sip.TRANSPORT=udp
| |
< < |
-
- javax.sip.STACK_PREFIX=gov.nist
| > > |
-
- javax.sip.STACK_PREFIX=mobicents.org
| | |
-
- gov.nist.slee.resource.sip.TRACE_LEVEL=16
- gov.nist.slee.resource.sip.AUTHENTICATION=false
- gov.nist.slee.resource.sip.AUTH_FILE=C:/passwords.xml
|
| |
| META TOPICPARENT | name="MobicentsOpenSLEE" |
How to install the JAIN SIP Resource Adaptor
Here is a short guide on how to build and install the Jain Sip Resource Adaptor. | |
< < |
Start JBoss
Build and deploy the SIP resource adaptor
- Make sure the file sipra.properties, located under ra/sipra/ra/src/org/mobicents/slee/resource/sip/, contains the correct information, for example:
| > > |
- Start the Mobicents server
- Make sure the file
sipra.properties, located under src/org/mobicents/slee/resource/sip/, contains the correct information, for example:
| | |
-
- javax.sip.IP_ADDRESS=0.0.0.0
- javax.sip.RETRANSMISSION_FILTER=on
- javax.sip.STACK_NAME=SipResourceAdapter
| | |
-
- gov.nist.slee.resource.sip.AUTHENTICATION=false
- gov.nist.slee.resource.sip.AUTH_FILE=C:/passwords.xml
- Make sure to place the file passwords.xml (same directory as sipra.properties) under the location pointed by gov.nist.slee.resource.sip.AUTH_FILE ("C:/" in the configuration above). Take a look at this file to see what user names and passwords are available for SIP clients (User Agents) to register.
| |
< < | | > > | | | |
[Author: Luis Teixeira] |
| |
| META TOPICPARENT | name="MobicentsOpenSLEE" |
How to install the JAIN SIP Resource Adaptor | | |
- Start the server if it is not already running, using the command: $JBOSS_HOME/bin/run –c all -b < your machine IP address >
- Open the JMX console, by pointing the browser to http://localhost:8080/jmx-console/
Build and deploy the SIP resource adaptor | |
< < |
- Make sure the file sipra.properties, located under src/org/mobicents/slee/resource/sip/, contains the correct information, for example:
- javax.sip.IP_ADDRESS=< your machine IP address >
| > > |
- Make sure the file sipra.properties, located under ra/sipra/ra/src/org/mobicents/slee/resource/sip/, contains the correct information, for example:
- javax.sip.IP_ADDRESS=0.0.0.0
| | |
-
- javax.sip.RETRANSMISSION_FILTER=on
- javax.sip.STACK_NAME=SipResourceAdapter
- javax.sip.PORT=5060
- javax.sip.TRANSPORT=udp
| |
< < | | | |
-
- javax.sip.STACK_PREFIX=gov.nist
- gov.nist.slee.resource.sip.TRACE_LEVEL=16
- gov.nist.slee.resource.sip.AUTHENTICATION=false
- gov.nist.slee.resource.sip.AUTH_FILE=C:/passwords.xml
- Make sure to place the file passwords.xml (same directory as sipra.properties) under the location pointed by gov.nist.slee.resource.sip.AUTH_FILE ("C:/" in the configuration above). Take a look at this file to see what user names and passwords are available for SIP clients (User Agents) to register.
| |
< < | | > > | | | | |
| |
| META TOPICPARENT | name="MobicentsOpenSLEE" |
| |
< < | How to install the JAIN SIP Resource Adaptor | > > | How to install the JAIN SIP Resource Adaptor | | | Here is a short guide on how to build and install the Jain Sip Resource Adaptor. | |
> > | | | | Start JBoss | |
< < |
Build the resource adaptor type and resource adaptor jar files
- ant sipclean
- ant siptype
- ant sipra
- Note: Make sure the file sipra.properties in the package org.mobicents.slee.resource.sip contain the correct information, for example:
- javax.sip.IP_ADDRESS=”your machine IP address”
| > > |
Build and deploy the SIP resource adaptor
- Make sure the file sipra.properties, located under src/org/mobicents/slee/resource/sip/, contains the correct information, for example:
- javax.sip.IP_ADDRESS=< your machine IP address >
| | |
-
- javax.sip.RETRANSMISSION_FILTER=on
- javax.sip.STACK_NAME=SipResourceAdapter
- javax.sip.PORT=5060
| | |
-
- gov.nist.slee.resource.sip.TRACE_LEVEL=16
- gov.nist.slee.resource.sip.AUTHENTICATION=false
- gov.nist.slee.resource.sip.AUTH_FILE=C:/passwords.xml
| |
< < | Deploy the Jain Sip Resource Adaptor Type and the Resource Adaptor
Create the Resource Adaptor Entity
- In the DeploymentMBean? take a look at the list of the installed ResourceAdaptors? and copy the jain sip resource adaptor id. It should be something like 'jainsip#NIST#1.1'. Copy this field to the clipboard;
- Go to the ResourceAdaptorMBean? (by following the link name=ResourceAdaptor Mbean in the JMX Console) and in the createResourceAdaptorEntity method, insert onto arg0 the resource adaptor id. Onto arg1 you should copy the name of the entity (e.g.: sipra). In arg2 specify the place where the properties file is located (e.g.: file://c:\sipra.properties). Click the ‘Invoke’ button;
Create a link to the Resource Adaptor Entity
- Return in to the ResourceAdaptorMBean? page and in the createEntityLink method put 'SIPRA' in arg0, and the identifier ‘sipra’ in the second argument. Click ‘Invoke’;
Activate the Resource Adaptor Entity
- From the same page, in the activateResourceAdaptorEntity specify the RA identifier (e.g.: sipra). Click the ‘Invoke’ button.
- After these steps the resource adapter should be up and running. Check if there is a listening server on the udp port 5060.
| > > |
- Make sure to place the file passwords.xml (same directory as sipra.properties) under the location pointed by gov.nist.slee.resource.sip.AUTH_FILE ("C:/" in the configuration above). Take a look at this file to see what user names and passwords are available for SIP clients (User Agents) to register.
-
ant sipdeploy
| | | | |
< < | Or in a easier way (does the 4 steps above) | | | [Author: Luis Teixeira]
[Reviewed by: Marco Monteiro, Paolo Costa] |
| |
| META TOPICPARENT | name="MobicentsOpenSLEE" |
How to install the JAIN SIP Resource Adaptor
Here is a short guide on how to build and install the Jain Sip Resource Adaptor. | | |
- From the same page, in the activateResourceAdaptorEntity specify the RA identifier (e.g.: sipra). Click the ‘Invoke’ button.
- After these steps the resource adapter should be up and running. Check if there is a listening server on the udp port 5060.
| |
> > | Or in a easier way (does the 4 steps above) | | | [Author: Luis Teixeira]
[Reviewed by: Marco Monteiro, Paolo Costa] |
| |
| META TOPICPARENT | name="MobicentsOpenSLEE" |
How to install the JAIN SIP Resource Adaptor
Here is a short guide on how to build and install the Jain Sip Resource Adaptor.
Start JBoss | |
< < |
- Start JBoss if it is not already running, using the command: $JBOSS_HOME/bin/run –c all
| > > |
- Start the server if it is not already running, using the command: $JBOSS_HOME/bin/run –c all -b 127.0.0.1
| | |
Build the resource adaptor type and resource adaptor jar files | | |
-
- javax.sip.IP_ADDRESS=”your machine IP address”
- javax.sip.RETRANSMISSION_FILTER=on
- javax.sip.STACK_NAME=SipResourceAdapter
| |
< < |
-
- gov.nist.javax.sip.TRACE_LEVEL=16
- gov.nist.slee.resource.sip.PORT=5060
- gov.nist.slee.resource.sip.TRANSPORT=udp
| > > |
-
- javax.sip.PORT=5060
- javax.sip.TRANSPORT=udp
- javax.sip.TRANSPORT=udp
- javax.sip.STACK_PREFIX=gov.nist
- gov.nist.slee.resource.sip.TRACE_LEVEL=16
- gov.nist.slee.resource.sip.AUTHENTICATION=false
- gov.nist.slee.resource.sip.AUTH_FILE=C:/passwords.xml
| | | Deploy the Jain Sip Resource Adaptor Type and the Resource Adaptor | |
< < | | > > | | | | Create the Resource Adaptor Entity | |
< < |
- In the DeploymentMBean? take a look at the list of the installed ResourceAdaptors? and copy the jain sip resource adaptor id. It should be something like 'ResourceAdaptorID[jainsip$NIST$1.1]'. Copy this field (the whole line) to the clipboard;
| > > |
- In the DeploymentMBean? take a look at the list of the installed ResourceAdaptors? and copy the jain sip resource adaptor id. It should be something like 'jainsip#NIST#1.1'. Copy this field to the clipboard;
| | |
- Go to the ResourceAdaptorMBean? (by following the link name=ResourceAdaptor Mbean in the JMX Console) and in the createResourceAdaptorEntity method, insert onto arg0 the resource adaptor id. Onto arg1 you should copy the name of the entity (e.g.: sipra). In arg2 specify the place where the properties file is located (e.g.: file://c:\sipra.properties). Click the ‘Invoke’ button;
Create a link to the Resource Adaptor Entity | |
< < |
- Return in to the ResourceAdaptorMBean? page and in the createEntityLink method put 'JAINSIP-Local' in arg0, and the identifier ‘sipra’ in the second argument. Click ‘Invoke’;
| > > |
- Return in to the ResourceAdaptorMBean? page and in the createEntityLink method put 'SIPRA' in arg0, and the identifier ‘sipra’ in the second argument. Click ‘Invoke’;
| | | Activate the Resource Adaptor Entity
- From the same page, in the activateResourceAdaptorEntity specify the RA identifier (e.g.: sipra). Click the ‘Invoke’ button.
- After these steps the resource adapter should be up and running. Check if there is a listening server on the udp port 5060.
|
| |
| META TOPICPARENT | name="MobicentsOpenSLEE" |
How to install the JAIN SIP Resource Adaptor
Here is a short guide on how to build and install the Jain Sip Resource Adaptor. | | |
-
- gov.nist.slee.resource.sip.TRANSPORT=udp
Deploy the Jain Sip Resource Adaptor Type and the Resource Adaptor
- In the “Slee” section of the JMX Console follow the link name=DeploymentMBean
| |
< < | | > > | | | | Create the Resource Adaptor Entity | |
< < |
- In the DeploymentMBean? take a look at the list of the installed ResourceAdaptors? and copy the jain sip resource adaptor id. It should be something like ResourceAdaptorID?[jainsip/NIST/1.1]. Copy this field to the clipboard;
| > > |
- In the DeploymentMBean? take a look at the list of the installed ResourceAdaptors? and copy the jain sip resource adaptor id. It should be something like 'ResourceAdaptorID[jainsip$NIST$1.1]'. Copy this field (the whole line) to the clipboard;
| | |
- Go to the ResourceAdaptorMBean? (by following the link name=ResourceAdaptor Mbean in the JMX Console) and in the createResourceAdaptorEntity method, insert onto arg0 the resource adaptor id. Onto arg1 you should copy the name of the entity (e.g.: sipra). In arg2 specify the place where the properties file is located (e.g.: file://c:\sipra.properties). Click the ‘Invoke’ button;
Create a link to the Resource Adaptor Entity | |
< < |
- In the createEntityLink method put JAINSIP-Local in arg0, and the identifier ‘sipra’ in the second argument. Click ‘Invoke’;
| > > |
- Return in to the ResourceAdaptorMBean? page and in the createEntityLink method put 'JAINSIP-Local' in arg0, and the identifier ‘sipra’ in the second argument. Click ‘Invoke’;
| | | Activate the Resource Adaptor Entity | |
< < |
- In the activateResourceAdaptorEntity specify the RA identifier (e.g.: sipra). Click the ‘Invoke’ button.
| > > |
- From the same page, in the activateResourceAdaptorEntity specify the RA identifier (e.g.: sipra). Click the ‘Invoke’ button.
| | |
- After these steps the resource adapter should be up and running. Check if there is a listening server on the udp port 5060.
[Author: Luis Teixeira] | |
< < | [Reviewed by: Marco Monteiro] | > > | [Reviewed by: Marco Monteiro, Paolo Costa] |
| |
| META TOPICPARENT | name="MobicentsOpenSLEE" |
| |
< < | | | | How to install the JAIN SIP Resource Adaptor
Here is a short guide on how to build and install the Jain Sip Resource Adaptor.
Start JBoss | | |
- In the createEntityLink method put JAINSIP-Local in arg0, and the identifier ‘sipra’ in the second argument. Click ‘Invoke’;
Activate the Resource Adaptor Entity
- In the activateResourceAdaptorEntity specify the RA identifier (e.g.: sipra). Click the ‘Invoke’ button.
| |
< < |
- After these steps the resource adapter should be up and running. Check if there is a listening server on the udp port 5070.
| > > |
- After these steps the resource adapter should be up and running. Check if there is a listening server on the udp port 5060.
| | |
[Author: Luis Teixeira] |
|
> > |
| META TOPICPARENT | name="MobicentsOpenSLEE" |
How to install the JAIN SIP Resource Adaptor
Here is a short guide on how to build and install the Jain Sip Resource Adaptor.
Start JBoss
Build the resource adaptor type and resource adaptor jar files
- ant sipclean
- ant siptype
- ant sipra
- Note: Make sure the file sipra.properties in the package org.mobicents.slee.resource.sip contain the correct information, for example:
- javax.sip.IP_ADDRESS=”your machine IP address”
- javax.sip.RETRANSMISSION_FILTER=on
- javax.sip.STACK_NAME=SipResourceAdapter
- gov.nist.javax.sip.TRACE_LEVEL=16
- gov.nist.slee.resource.sip.PORT=5060
- gov.nist.slee.resource.sip.TRANSPORT=udp
Deploy the Jain Sip Resource Adaptor Type and the Resource Adaptor
Create the Resource Adaptor Entity
- In the DeploymentMBean? take a look at the list of the installed ResourceAdaptors? and copy the jain sip resource adaptor id. It should be something like ResourceAdaptorID?[jainsip/NIST/1.1]. Copy this field to the clipboard;
- Go to the ResourceAdaptorMBean? (by following the link name=ResourceAdaptor Mbean in the JMX Console) and in the createResourceAdaptorEntity method, insert onto arg0 the resource adaptor id. Onto arg1 you should copy the name of the entity (e.g.: sipra). In arg2 specify the place where the properties file is located (e.g.: file://c:\sipra.properties). Click the ‘Invoke’ button;
Create a link to the Resource Adaptor Entity
- In the createEntityLink method put JAINSIP-Local in arg0, and the identifier ‘sipra’ in the second argument. Click ‘Invoke’;
Activate the Resource Adaptor Entity
- In the activateResourceAdaptorEntity specify the RA identifier (e.g.: sipra). Click the ‘Invoke’ button.
- After these steps the resource adapter should be up and running. Check if there is a listening server on the udp port 5070.
[Author: Luis Teixeira]
[Reviewed by: Marco Monteiro] |
|