TeleStax.orgCommunity Documentation

Restcomm JAIN SLEE ISUP Resource Adaptor User Guide


Preface
1. Document Conventions
1.1. Typographic Conventions
1.2. Pull-quote Conventions
1.3. Notes and Warnings
2. Provide feedback to the authors!
1. Introduction to Restcomm JAIN SLEE ISUP Resource Adaptor
2. Resource Adaptor Type
2.1. Activities
2.2. Events
2.3. Activity Context Interface Factory
2.4. Resource Adaptor Interface
2.5. Restrictions
2.6. Sbb Code Examples
3.
3.1. Configuration
3.2. Default Resource Adaptor Entities
3.3. Traces and Alarms
3.3.1. Tracers
3.3.2. Alarms
4. Setup
4.1. Pre-Install Requirements and Prerequisites
4.1.1. Hardware Requirements
4.1.2. Software Prerequisites
4.2. Restcomm JAIN SLEE ISUP Resource Adaptor Source Code
4.2.1. Release Source Code Building
4.2.2. Development Trunk Source Building
4.3. Installing Restcomm JAIN SLEE ISUP Resource Adaptor
4.4. Uninstalling Restcomm JAIN SLEE ISUP Resource Adaptor
5. Clustering
A. Revision History
Index

This manual uses several conventions to highlight certain words and phrases and draw attention to specific pieces of information.

In PDF and paper editions, this manual uses typefaces drawn from the Liberation Fonts set. The Liberation Fonts set is also used in HTML editions if the set is installed on your system. If not, alternative but equivalent typefaces are displayed. Note: Red Hat Enterprise Linux 5 and later includes the Liberation Fonts set by default.

Four typographic conventions are used to call attention to specific words and phrases. These conventions, and the circumstances they apply to, are as follows.

Mono-spaced Bold

Used to highlight system input, including shell commands, file names and paths. Also used to highlight key caps and key-combinations. For example:

The above includes a file name, a shell command and a key cap, all presented in Mono-spaced Bold and all distinguishable thanks to context.

Key-combinations can be distinguished from key caps by the hyphen connecting each part of a key-combination. For example:

The first sentence highlights the particular key cap to press. The second highlights two sets of three key caps, each set pressed simultaneously.

If source code is discussed, class names, methods, functions, variable names and returned values mentioned within a paragraph will be presented as above, in Mono-spaced Bold. For example:

Proportional Bold

This denotes words or phrases encountered on a system, including application names; dialogue box text; labelled buttons; check-box and radio button labels; menu titles and sub-menu titles. For example:

The above text includes application names; system-wide menu names and items; application-specific menu names; and buttons and text found within a GUI interface, all presented in Proportional Bold and all distinguishable by context.

Note the > shorthand used to indicate traversal through a menu and its sub-menus. This is to avoid the difficult-to-follow 'Select Mouse from the Preferences sub-menu in the System menu of the main menu bar' approach.

Mono-spaced Bold Italic or Proportional Bold Italic

Whether Mono-spaced Bold or Proportional Bold, the addition of Italics indicates replaceable or variable text. Italics denotes text you do not input literally or displayed text that changes depending on circumstance. For example:

Note the words in bold italics above — username, domain.name, file-system, package, version and release. Each word is a placeholder, either for text you enter when issuing a command or for text displayed by the system.

Aside from standard usage for presenting the title of a work, italics denotes the first use of a new and important term. For example:

If you find a typographical error in this manual, or if you have thought of a way to make this manual better, we would love to hear from you! Please submit a report in the the Issue Tracker, against the product Restcomm JAIN SLEE ISUP Resource Adaptor, or contact the authors.

When submitting a bug report, be sure to mention the manual's identifier: JAIN_SLEE_ISUP_RA_User_Guide

If you have a suggestion for improving the documentation, try to be as specific as possible when describing it. If you have found an error, please include the section number and some of the surrounding text so we can find it easily.

The ISDN User Part or ISUP is part of the Signaling System #7 which is used to set up telephone calls in Public Switched Telephone Networks. It is specified by the ITU-T as part of the Q.76x series.

ISUP messages are used to convey call related information between PSTN switches.

The telephone switches are connected via E1 or T1 trunks which transport the speech from the calls. Trunks are divided into 64k/bit timeslots. Each time slot is identified with unique Circuit Identification Code ( CIC ). The switches uses this information along with the received signalling information (Called Party Number, Calling Part Number...) to determine which inbound CICs and outbound CICs should be connected together to provide an end to end speech path.

Additionally ISUP is used to exchange status information about switch capabilities and current resources.

ISUP Resource Adaptor Type is defined by Restcomm team as part of effort to standardize RA Types.

Events represent telephony switch actions taken over particular circuit.

Based on type events are fired on of two activities this RA Type defines.

Table 2.1. Events fired by ISUP

NameEvent ClassCommentsServer
ADDRESS_COMPLETE AddressCompleteMessage Y
ANSWER AnswerMessage Y
APPLICATION_TRANSPORT ApplicationTransportMessage
BLOCKING BlockingMessage Y
BLOCKING_ACK BlockingAckMessage -
CALL_PROGRESS CallProgressMessage Y
CHARGE_INFORMATION ChargeInformationMessage Y
CIRCUIT_GROUP_BLOCKING CircuitGroupBlockingMessage Y
CIRCUIT_GROUP_ BLOCKING_ACK CircuitGroupBlocking AckMessage N
CIRCUIT_GROUP_QUERY CircuitGroup QueryMessage Y
CIRCUIT_GROUP_ QUERY_RESPONSE CircuitGroupQuery ResponseMessage N
CIRCUIT_GROUP_RESET CircuitGroup ResetMessage Y
CIRCUIT_GROUP _RESET_ACK CircuitGroupResetAckMessage N
CIRCUIT_GROUP _UNBLOCKING CircuitGroup UnblockingMessage Y
CIRCUIT_GROUP _UNBLOCKING_ACK CircuitGroup UnblockingAckMessage N
CONNECT ConnectMessage Y
CONTINUITY_ CHECK_REQUEST ContinuityCheck RequestMessage Y
CONTINUITY ContinuityMessage N
FACILITY_ACCPETED FacilityAcceptedMessage Z
FACILITY_REJECTED FacilityRejectedMessage Z
FORWARD_TRANSFER ForwardTransferMessage Z
IDENTIFICATION_REQUEST Identification RequestMessage Z
IDENTIFICATION_RESPONSE Identification ResponseMessage Z
INITIAL_ ADDRESS_MESSAGE InitialAddress Message Y
LOOP_PREVENTION LoopPrevention Message Z
LOOPBACK_ACK LoopbackAckMessage Z
NETWORK_RESOURCE _MANAGEMENT NetworkResourceManagementMessage Z
OVERLOAD OverloadMessage Z
PASS_ALONG PassAlongMessage Z
PRERELEASE_INFORMATION PreRelease InformationMessage Z
RELEASE ReleaseMessage Y
RELEASE_COMPLETE ReleaseCompleteMessage N
RESET_CIRCUIT ResetCircuitMessage Y
RESUME ResumeMessage Z
SUBSEQUENT_ADDRESS SubsequentAddressMessage Z
SUBSEQUENT_ DIRECTORY_NUMBER SubsequentDirectory NumberMessage Z
SUSPEND SuspendMessage Z
UNBLOCKING UnblockingMessage Y
UNBLOCKING_ACK Unblocking AckMessage N
UNEQUIPPED_CIC Unequipped CICMessage Z
USER_TO_ USER_INFORMATION User2User InformationMessage Z
USER_PART _AVAILABLE UserPart AvailableMessage Z
USER_PART_TEST UserPart TestMessage Z

There is one additional message defined. It is fired on both types of activities. It indicates timeout of transaction:

  • Event name: TRANSACTION_ENDED

  • Class name: org.mobicents.slee.resources.ss7.isup.events.TransactionEnded

The ISUP Resource Adaptor SBB Interface provides SBBs with access to the ISUP factories required to create messages and parameters. It also provides means of creating activities:



package org.mobicents.slee.resources.ss7.isup.ratype;
import java.io.IOException;
import javax.slee.SLEEException;
import javax.slee.resource.ActivityAlreadyExistsException;
import javax.slee.resource.StartActivityException;
import org.mobicents.protocols.ss7.isup.ISUPClientTransaction;
import org.mobicents.protocols.ss7.isup.ISUPMessageFactory;
import org.mobicents.protocols.ss7.isup.ISUPParameterFactory;
import org.mobicents.protocols.ss7.isup.ISUPServerTransaction;
import org.mobicents.protocols.ss7.isup.ParameterRangeInvalidException;
import org.mobicents.protocols.ss7.isup.TransactionAlredyExistsException;
import org.mobicents.protocols.ss7.isup.message.ISUPMessage;
public interface RAISUPProvider {
    
    /**
     * Create client transaction activity
     * @param arg0
     * @return
     * @throws TransactionAlredyExistsException
     * @throws IllegalArgumentException
     * @throws ActivityAlreadyExistsException
     * @throws NullPointerException
     * @throws IllegalStateException
     * @throws SLEEException
     * @throws StartActivityException
     */
    public ISUPClientTransaction createClientTransaction(ISUPMessage arg0) 
    throws TransactionAlredyExistsException,IllegalArgumentException, 
    ActivityAlreadyExistsException, NullPointerException, IllegalStateException, 
    SLEEException,  StartActivityException;
    /**
     * Create server transaction activity
     * @param arg0
     * @return
     * @throws TransactionAlredyExistsException
     * @throws IllegalArgumentException
     * @throws ActivityAlreadyExistsException
     * @throws NullPointerException
     * @throws IllegalStateException
     * @throws SLEEException
     * @throws StartActivityException
     */
    public ISUPServerTransaction createServerTransaction(ISUPMessage arg0) 
    throws TransactionAlredyExistsException,IllegalArgumentException, 
    ActivityAlreadyExistsException, NullPointerException, IllegalStateException, 
    SLEEException, StartActivityException;
    /**
     * Get message factory.
     * @return
     */
    public ISUPMessageFactory getMessageFactory();
    /**
     * Get parameter factory.
     * @return
     */
    public ISUPParameterFactory getParameterFactory();
    /**
     * Send message statelesly.
     * @param arg0
     * @throws ParameterRangeInvalidException
     * @throws IOException
     */
    public void sendMessage(ISUPMessage arg0) throws ParameterRangeInvalidException, IOException;
    /**
     * Determine if transport layer is connected and links are up.
     * @return
     */
    public boolean isTransportUp();
}
    
    

The RA implementation uses the Restcomm ISUP stack. The stack is the result of the work done by Restcomm Media Server development teams, and source code is provided in all releases.

There is a single Resource Adaptor Entity created when deploying the Resource Adaptor, named ISUPResourceAdaptor. The ISUPResourceAdaptor entity uses the default Resource Adaptor configuration, specified in Section 3.1, “Configuration”.

The ISUPResourceAdaptor entity is also bound to Resource Adaptor Link Name ISUPResourceAdaptor, to use it in an Sbb add the following XML to its descriptor:




        <resource-adaptor-type-binding>
            <resource-adaptor-type-ref>
                <resource-adaptor-type-name>
                    ISUPResourceAdaptorType
                </resource-adaptor-type-name>
                <resource-adaptor-type-vendor>
                    net.java
                </resource-adaptor-type-vendor>
                <resource-adaptor-type-version>
                    1.0
                </resource-adaptor-type-version>
            </resource-adaptor-type-ref>
            <activity-context-interface-factory-name>
                slee/resources/isup/1.0/acifactory
            </activity-context-interface-factory-name>
            <resource-adaptor-entity-binding>
            <resource-adaptor-object-name>
                    slee/resources/isup/1.0/provider
            </resource-adaptor-object-name>
                <resource-adaptor-entity-link>
                    ISUPResourceAdaptor
                </resource-adaptor-entity-link>
            </resource-adaptor-entity-binding>
        </resource-adaptor-type-binding>

    

  1. Downloading the source code

    Use SVN to checkout a specific release source, the base URL is http://github.com/Restcomm/jain-slee, then add the specific release version, lets consider 2.8.29.

    [usr]$ svn co http://github.com/Restcomm/jain-slee/2.8.29 slee-ra-isup-2.8.29
  2. Building the source code

    Important

    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 Ant to build the binary.

    				    [usr]$ cd slee-ra-isup-2.8.29
    				    [usr]$ mvn install
    				    

    Once the process finishes you should have the deployable-unit jar file in the target directory, if Restcomm JAIN SLEE is installed and environment variable JBOSS_HOME is pointing to its underlying JBoss Application Server directory, then the deployable unit jar will also be deployed in the container.

Similar process as for Section 4.2.1, “Release Source Code Building”, the only change is the SVN source code URL, which is http://github.com/Restcomm/jain-slee.

Revision History
Revision 1.0Tue Jun 8 2010Bartosz Baranowski
Creation of the Restcomm JAIN SLEE ISUP RA User Guide.