java.net: Wiki

The Source for Java Technology Collaboration


 <<O>>  Difference Topic MobicentsSLEEHowToInstallSipResourceAdaptor (13 - 19 Mar 2007 - Main.ivelin)
Line: 1 to 1
 
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.

Changed:
<
<
>
>
 
  • 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:


 <<O>>  Difference Topic MobicentsSLEEHowToInstallSipResourceAdaptor (12 - 12 Mar 2007 - Main.baranowb)
Line: 1 to 1
 
META TOPICPARENT name="MobicentsOpenSLEE"

How to install the JAIN SIP Resource Adaptor

Line: 6 to 6
 
  • 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:
Changed:
<
<
    • 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 
#
 
Added:
>
>
#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.
 
Deleted:
<
<
[Author: Luis Teixeira] [Reviewed by: Marco Monteiro, Paolo Costa]

 <<O>>  Difference Topic MobicentsSLEEHowToInstallSipResourceAdaptor (11 - 19 Aug 2005 - Main.doneill)
Line: 1 to 1
 
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
Changed:
<
<
  • 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

 <<O>>  Difference Topic MobicentsSLEEHowToInstallSipResourceAdaptor (10 - 13 Aug 2005 - Main.mranga)
Line: 1 to 1
 
META TOPICPARENT name="MobicentsOpenSLEE"

How to install the JAIN SIP Resource Adaptor

Line: 16 to 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.
Added:
>
>
  • cd $PROJECT_HOME/ra/sipra/
 
  • Run ant sipradeploy

 <<O>>  Difference Topic MobicentsSLEEHowToInstallSipResourceAdaptor (9 - 27 Jun 2005 - Main.ivelin)
Line: 1 to 1
 
META TOPICPARENT name="MobicentsOpenSLEE"

How to install the JAIN SIP Resource Adaptor

Line: 6 to 6
 
  • Start the Mobicents server
  • Make sure the file sipra.properties, located under src/org/mobicents/slee/resource/sip/, contains the correct information, for example:
Changed:
<
<
    • 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
Changed:
<
<
    • 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

 <<O>>  Difference Topic MobicentsSLEEHowToInstallSipResourceAdaptor (8 - 27 Jun 2005 - Main.ivelin)
Line: 1 to 1
 
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.

Changed:
<
<

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
Line: 22 to 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.
Changed:
<
<
  • ant sipradeploy
>
>
  • Run ant sipradeploy
 

[Author: Luis Teixeira]


 <<O>>  Difference Topic MobicentsSLEEHowToInstallSipResourceAdaptor (7 - 22 Jun 2005 - Main.leondo)
Line: 1 to 1
 
META TOPICPARENT name="MobicentsOpenSLEE"

How to install the JAIN SIP Resource Adaptor

Line: 11 to 11
 
  • 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

Changed:
<
<
  • 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
Deleted:
<
<
    • 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.
Changed:
<
<
  • ant sipdeploy
>
>
  • ant sipradeploy
 

 <<O>>  Difference Topic MobicentsSLEEHowToInstallSipResourceAdaptor (6 - 05 Jun 2005 - Main.ivelin)
Line: 1 to 1
 
META TOPICPARENT name="MobicentsOpenSLEE"
Changed:
<
<

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.
Added:
>
>
 

Start JBoss

Changed:
<
<

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
Line: 21 to 22
 
    • 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
Changed:
<
<

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
 
Deleted:
<
<

Or in a easier way (does the 4 steps above)

  • ant sipdeploy
 [Author: Luis Teixeira] [Reviewed by: Marco Monteiro, Paolo Costa]

 <<O>>  Difference Topic MobicentsSLEEHowToInstallSipResourceAdaptor (5 - 01 Jun 2005 - Main.mmonteiro)
Line: 1 to 1
 
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.
Line: 34 to 34
 
  • 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.
Added:
>
>

Or in a easier way (does the 4 steps above)

  • ant sipdeploy
 [Author: Luis Teixeira] [Reviewed by: Marco Monteiro, Paolo Costa]

 <<O>>  Difference Topic MobicentsSLEEHowToInstallSipResourceAdaptor (4 - 31 May 2005 - Main.mmonteiro)
Line: 1 to 1
 
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

Changed:
<
<
  • 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

  • ant sipclean
Line: 14 to 14
 
    • javax.sip.IP_ADDRESS=”your machine IP address”
    • javax.sip.RETRANSMISSION_FILTER=on
    • javax.sip.STACK_NAME=SipResourceAdapter
Changed:
<
<
    • 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

Changed:
<
<
>
>
 

Create the Resource Adaptor Entity

Changed:
<
<
  • 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

Changed:
<
<
  • 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.

 <<O>>  Difference Topic MobicentsSLEEHowToInstallSipResourceAdaptor (3 - 04 May 2005 - Main.paolo_cst)
Line: 1 to 1
 
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.
Line: 19 to 19
 
    • 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
Changed:
<
<
>
>
 

Create the Resource Adaptor Entity

Changed:
<
<
  • 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

Changed:
<
<
  • 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

Changed:
<
<
  • 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]

Changed:
<
<
[Reviewed by: Marco Monteiro]
>
>
[Reviewed by: Marco Monteiro, Paolo Costa]

 <<O>>  Difference Topic MobicentsSLEEHowToInstallSipResourceAdaptor (2 - 08 Apr 2005 - Main.mmonteiro)
Line: 1 to 1
 
META TOPICPARENT name="MobicentsOpenSLEE"
Deleted:
<
<
 

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

Line: 29 to 28
 
  • 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.
Changed:
<
<
  • 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]


 <<O>>  Difference Topic MobicentsSLEEHowToInstallSipResourceAdaptor (1 - 08 Apr 2005 - Main.fram)
Line: 1 to 1
Added:
>
>
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]


Topic MobicentsSLEEHowToInstallSipResourceAdaptor . { View | Diffs r13 < r12 < r11 < r10 | More }
 XML java.net RSS