Revision: bf71f310d9be
Author:   [email protected] <[email protected]>
Date:     Sat Aug 25 09:01:13 2012
Log:      Fixes to docs
http://code.google.com/p/jss7/source/detail?r=bf71f310d9be

Added:
 /docs/sources/src/main/resources/en-US/images/M3UAAs.odg
 /docs/sources/src/main/resources/en-US/images/M3UASgw.odg
 /docs/sources/src/main/resources/en-US/images/MobicentsSgw.odg
Modified:
 /docs/sources-mobicents/pom.xml
 /docs/sources/src/main/resources/en-US/Author_Group.xml
 /docs/sources/src/main/resources/en-US/Chapter-Design_Overview.xml
 /docs/sources/src/main/resources/en-US/Chapter-Source_Build_Binary.xml
 /docs/sources/src/main/resources/en-US/SS7_Stack_User_Guide.ent
 /docs/sources/src/main/resources/en-US/images/M3UAAs.jpg
 /docs/sources/src/main/resources/en-US/images/M3UASgw.jpg
 /docs/sources/src/main/resources/en-US/images/MobicentsSgw.jpg
 /docs/sources/src/main/resources/en-US/images/SS7StackSimple.jpg
 /docs/sources/src/main/resources/en-US/images/SS7StackSimple.odg

=======================================
--- /dev/null   
+++ /docs/sources/src/main/resources/en-US/images/M3UAAs.odg Sat Aug 25 09:01:13 2012
Binary file, no diff available.
=======================================
--- /dev/null   
+++ /docs/sources/src/main/resources/en-US/images/M3UASgw.odg Sat Aug 25 09:01:13 2012
Binary file, no diff available.
=======================================
--- /dev/null   
+++ /docs/sources/src/main/resources/en-US/images/MobicentsSgw.odg Sat Aug 25 09:01:13 2012
Binary file, no diff available.
=======================================
--- /docs/sources-mobicents/pom.xml     Sun Jul 22 22:20:31 2012
+++ /docs/sources-mobicents/pom.xml     Sat Aug 25 09:01:13 2012
@@ -20,7 +20,7 @@
<THIS.RELEASE_BINARY_URL>http://sourceforge.net/projects/mobicents/files</THIS.RELEASE_BINARY_URL>
                <author.email.amit>amit.bhayani (at) 
gmail.com</author.email.amit>
                <author.email.bartosz>baranowb (at) 
gmail.com</author.email.bartosz>
-               <author.email.oleg>oleg.kulikoff (at) 
gmail.com</author.email.oleg>
+               <author.email.vinu>vinu.saseedaran (at) 
gmail.com</author.email.vinu>
        </properties>

        <build>
=======================================
--- /docs/sources/src/main/resources/en-US/Author_Group.xml Thu Feb 17 21:43:56 2011 +++ /docs/sources/src/main/resources/en-US/Author_Group.xml Sat Aug 25 09:01:13 2012
@@ -16,8 +16,8 @@
                <email>&AUTHOR.EMAIL.BARTOSZ;</email>
        </author>
        <author>
-               <firstname>Oleg</firstname>
-               <surname>Kulikov</surname>
-               <email>&AUTHOR.EMAIL.OLEG;</email>
+               <firstname>Vinu S</firstname>
+               <surname>Renish</surname>
+               <email>&AUTHOR.EMAIL.VINU;</email>
        </author>
 </authorgroup>
=======================================
--- /docs/sources/src/main/resources/en-US/Chapter-Design_Overview.xml Mon Aug 13 09:06:56 2012 +++ /docs/sources/src/main/resources/en-US/Chapter-Design_Overview.xml Sat Aug 25 09:01:13 2012
@@ -106,10 +106,46 @@
        <section
                id="design_overview_ss7_service">
                <title>SS7 Service Elements</title>
- <para>SS7 Service creates an instance of &THIS.PLATFORM; MAP Stack and binds the instance to JNDI name <literal>java:/mobicents/ss7/map</literal>. SS7 Service is a JMX based service deployed in JBoss Application Server. It hides the underlying details like whether Level 4 and above are connected to the &THIS.PLATFORM; Signaling Gateway via <literal>M3UA</literal> or if connected to the SS7 Hardware installed in the same machine as Level 4.</para> + <para>SS7 Service creates an instance of higher layer of &THIS.PLATFORM; Stack and binds the instance to JNDI. SS7 Service is a JMX based service deployed in JBoss Application Server. + It hides the underlying details like whether Level 4 and above are connected to peer via <literal>M3UA</literal> or if connected to the SS7 Hardware installed in
+                               the same machine as Level 4.
+                               </para>
+                               <para>Following services are bound</para>
+                               <table frame="all" pgwide="1">
+                                       <title>SS7 Services</title>
+                                       <tgroup colsep="1" cols="3">
+                                               <colspec colnum="1" colname="c0" 
colwidth="3*" />
+                                               <colspec colnum="2" colname="c3" 
colwidth="3*" />
+                                               <colspec colnum="3" colname="c6" 
colwidth="3*" />
+                                               <thead>
+                                                       <row>
+                                                               <entry>Stack 
Name</entry>
+                                                               <entry>JNDI 
Name</entry>
+                                                               
<entry>Comments</entry>
+                                                       </row>
+                                               </thead>
+                                               <tbody>
+                                                       <row>
+                                                               
<entry>MAP</entry>
+                                                               
<entry>java:/mobicents/ss7/map</entry>
+                                                               <entry>Exposes MAP 
Stack via JNDI</entry>
+                                                       </row>
+                                                       <row>
+                                                               
<entry>CAP</entry>
+                                                               
<entry>java:/mobicents/ss7/cap</entry>
+                                                               <entry>Exposes CAP 
Stack via JNDI</entry>
+                                                       </row>
+                                                       <row>
+                                                               
<entry>ISUP</entry>
+                                                               
<entry>java:/mobicents/ss7/isup</entry>
+                                                               <entry>Exposes ISUP 
stack via JNDI</entry>
+                                                       </row>
+                                               </tbody>
+                                       </tgroup>
+                               </table>

                <para>
- The figure below depicts the elements that are deployed as part of SS7 Service. + The figure below depicts the elements that are deployed as part of SS7 MAP Service.
                </para>

                <mediaobject
@@ -182,11 +218,14 @@
                                by the IETF SIGTRAN working group in RFC 4666.
&THIS.PLATFORM; M3UA Stack can be used on the Application Server side or on the Signaling Gateway side or can also be used in peer-to-peer mode IPSP.
                        </para>
+                       <para>
+ <literal>M3UA</literal> uses the &THIS.PLATFORM; SCTP (Stream Control Transmission Protocol)
+                       </para>

                        <note>
                                <title>Note</title>
                                <para>
- &THIS.PLATFORM; M3UA Stack uses Java SCTP layer which is only available from JDK 7 onwards. + &THIS.PLATFORM; SCTP Stack uses Java SCTP layer which is only available from JDK 7 onwards.
                                </para>
                        </note>

@@ -243,6 +282,12 @@
You can configure the M3UA stack on SG side in one of the two traffic modes: Loadbalance or Override. Broadcast traffic mode is not supported. Refer to <xref linkend="configuring_sgw"/> for instructions on configuring M3UA Stack as SG. &THIS.PLATFORM; M3UA Stack used on SG side doesn't support routing key management messages. The Routing Key should be provisioned statically using the management console.
                                </para>
                        </section>
+                       <section id="mobicents_ipsp_m3ua">
+                               <title>&THIS.PLATFORM; M3UA Stack as 
IPSP</title>
+                               <para>
+ An IPSP is essentially the same as an ASP, except that it uses M3UA in a point-to-point fashion. Conceptually, an IPSP does not use the services of a Signalling Gateway node.
+                               </para>
+                       </section>
                </section>
                </section>
                <section id="design_ss7_simulator">
=======================================
--- /docs/sources/src/main/resources/en-US/Chapter-Source_Build_Binary.xml Wed Aug 8 23:18:16 2012 +++ /docs/sources/src/main/resources/en-US/Chapter-Source_Build_Binary.xml Sat Aug 25 09:01:13 2012
@@ -126,7 +126,7 @@
<literal>JMX</literal> and exposes <literal>JNDI</literal>
                 </para>
                 <para>
- &THIS.PLATFORM; SS7 Service exposes convenient way of configuring SS7 stack via CLI commands. Service wraps SS7 level 4 i.e., MAP + &THIS.PLATFORM; SS7 Service exposes convenient way of configuring SS7 stack via CLI commands. Service wraps SS7 level 4 i.e., MAP, CAP and ISUP and lower layers and exposes it via JNDI such that layer above can do the look-up and use it in any application.
                 </para>
         </section>
@@ -177,15 +177,34 @@
If the service started properly you should see following lines in the Unix terminal or Command Prompt depending on your environment:
                                </para>
                                <screen><![CDATA[
-23:22:26,079 INFO [LinksetManager] SS7 configuration file path /home/abhayani/workarea/mobicents/jboss-5.1.0.GA/server/default/data/linksetmanager.xml
-23:22:26,141 INFO  [LinksetManager] Started LinksetManager
-23:22:26,199 INFO  [SS7Service] Starting SCCP stack...
-23:22:26,229 INFO  [SccpStackImpl] Starting ...
-23:22:26,230 INFO [RouterImpl] SCCP Router configuration file: /home/abhayani/workarea/mobicents/jboss-5.1.0.GA/server/default/deploy/mobicents-ss7-service/sccp-routing.txt -23:22:26,261 INFO [SS7Service] SCCP stack Started. SccpProvider bound to java:/mobicents/ss7/sccp -23:22:26,261 INFO [ShellExecutor] Starting SS7 management shell environment -23:22:26,270 INFO [ShellExecutor] ShellExecutor listening at /127.0.0.1:3435 -23:22:26,270 INFO [SS7Service] [[[[[[[[[ Mobicents SS7 service started ]]]]]]]]] +16:42:26,124 INFO [ManagementImpl] (HDScanner) SCTP configuration file path /home/abhayani/workarea/mobicents/binary/JSLEE/ss7-mobicents-jainslee-2.7.0.FINAL-jboss-5.1.0.GA/jboss-5.1.0.GA/server/default/data/SCTPManagement_sctp.xml +16:42:26,126 INFO [ServerImpl] (HDScanner) SctpServerChannel bound to=[/127.0.0.1:2775]
+16:42:26,126 INFO  [ServerImpl] (HDScanner) Started Server=SCTPServer1
+16:42:26,127 INFO [ManagementImpl] (HDScanner) Started SCTP Management=SCTPManagement WorkerThreads=0 SingleThread=true +16:42:26,127 INFO [SelectorThread] (Thread-18) SelectorThread for Management=SCTPManagement started. +16:42:26,155 INFO [M3UAManagement] (HDScanner) M3UA configuration file path /home/abhayani/workarea/mobicents/binary/JSLEE/ss7-mobicents-jainslee-2.7.0.FINAL-jboss-5.1.0.GA/jboss-5.1.0.GA/server/default/data/Mtp3UserPart_m3ua.xml
+16:42:26,160 INFO  [M3UAManagement] (HDScanner) Started M3UAManagement
+16:42:26,177 INFO  [Scheduler] (HDScanner) Starting
+16:42:26,178 INFO  [Scheduler] (HDScanner) Started
+16:42:26,206 INFO  [SccpStackImpl-SccpStack] (HDScanner) Starting ...
+16:42:26,250 INFO [Router] (HDScanner) SCCP Router configuration file path /home/abhayani/workarea/mobicents/binary/JSLEE/ss7-mobicents-jainslee-2.7.0.FINAL-jboss-5.1.0.GA/jboss-5.1.0.GA/server/default/data/SccpStack_sccprouter.xml
+16:42:26,251 INFO  [Router] (HDScanner) Started SCCP Router
+16:42:26,253 INFO [SccpResource] (HDScanner) SCCP Resource configuration file path /home/abhayani/workarea/mobicents/binary/JSLEE/ss7-mobicents-jainslee-2.7.0.FINAL-jboss-5.1.0.GA/jboss-5.1.0.GA/server/default/data/SccpStack_sccpresource.xml
+16:42:26,254 INFO  [SccpResource] (HDScanner) Started Sccp Resource
+16:42:26,255 INFO [SccpStackImpl-SccpStack] (HDScanner) Starting routing engine... +16:42:26,255 INFO [SccpStackImpl-SccpStack] (HDScanner) Starting management ... +16:42:26,255 INFO [SccpStackImpl-SccpStack] (HDScanner) Starting MSU handler... +16:42:26,285 INFO [ShellServer] (HDScanner) Starting SS7 management shell environment +16:42:26,315 INFO [ShellServer] (HDScanner) ShellExecutor listening at /127.0.0.1:3435 +16:42:26,390 INFO [TCAPStackImpl] (HDScanner) Starting ...org.mobicents.protocols.ss7.tcap.TCAPProviderImpl@550abb85
+16:42:26,390 INFO  [TCAPProviderImpl] (HDScanner) Starting TCAP Provider
+16:42:26,391 INFO [TCAPProviderImpl] (HDScanner) Registered SCCP listener with address 8 +16:42:26,398 INFO [TCAPStackImpl] (HDScanner) Starting ...org.mobicents.protocols.ss7.tcap.TCAPProviderImpl@41430830
+16:42:26,398 INFO  [TCAPProviderImpl] (HDScanner) Starting TCAP Provider
+16:42:26,398 INFO [TCAPProviderImpl] (HDScanner) Registered SCCP listener with address 146 +16:42:27,056 INFO [SS7Service] (HDScanner) [[[[[[[[[ Mobicents jSS7 2.0.0-SNAPSHOT MAP service started ]]]]]]]]] +16:42:27,158 INFO [SS7Service] (HDScanner) [[[[[[[[[ Mobicents jSS7 2.0.0-SNAPSHOT CAP service started ]]]]]]]]] +16:42:27,199 INFO [SS7Service] (HDScanner) [[[[[[[[[ Mobicents jSS7 2.0.0-SNAPSHOT ISUP service started ]]]]]]]]]
 ]]>
                                </screen>

@@ -244,15 +263,26 @@
             </para>

                                        <programlisting language="XML" 
role="XML"><![CDATA[
+ <!-- ==================================================================== --> + <!-- SCTP Properties -->
+       <!-- Used by M3UA layer                                                    
                                                    -->
+ <!-- ==================================================================== --> <bean name="SCTPManagement" class="org.mobicents.protocols.sctp.ManagementImpl">
                <constructor>
                        <parameter>SCTPManagement</parameter>
                </constructor>
                <property name="persistDir">${jboss.server.data.dir}</property>
                <property name="singleThread">true</property>
-               <property name="connectDelay">30000</property>
+               <property name="connectDelay">5000</property>
        </bean>

+       <bean name="SCTPShellExecutor"
+               
class="org.mobicents.protocols.ss7.m3ua.impl.oam.SCTPShellExecutor">
+               <property name="sctpManagement">
+                       <inject bean="SCTPManagement" />
+               </property>
+       </bean>
+
<!-- ==================================================================== -->
        <!-- M3UA -->
        <!-- M3UAManagement is managing the m3ua side commands -->
@@ -263,9 +293,8 @@
                        <parameter>Mtp3UserPart</parameter>
                </constructor>
                <property name="persistDir">${jboss.server.data.dir}</property>
-               <property name="transportManagement">
-                       <inject bean="SCTPManagement" />
-               </property>
+ <property name="transportManagement"><inject bean="SCTPManagement" /></property> + <property name="routingLabelFormat"><inject bean="RoutingLabelFormat" /></property>
        </bean>

        <bean name="M3UAShellExecutor"
@@ -273,9 +302,6 @@
                <property name="m3uaManagement">
                        <inject bean="Mtp3UserPart" />
                </property>
-               <property name="sctpManagement">
-                       <inject bean="SCTPManagement" />
-               </property>
        </bean>]]>
                         </programlisting>
                         <para>
@@ -325,6 +351,19 @@
For example in above case, when &THIS.PLATFORM; SS7 Service is started file <filename>Mtp3UserPart_m3ua.xml</filename> will be created at <filename>$JBOSS_HOME/server/profile_name/data</filename> directory
              </para>
+             <para>
+               Stack has following properties:
+               <variablelist>
+                       <varlistentry>
+                               <term>routingLabelFormat</term>
+                               <listitem>
+                                       <para>
+ The routing label format supported by this network. See <xref linkend="configuring_routing_label_format"/> for further details.
+                                       </para>
+                               </listitem>
+                       </varlistentry>
+               </variablelist>
+             </para>

                </section>

@@ -394,17 +433,108 @@
<!-- ==================================================================== -->
        <!-- Dialogic Mtp3UserPart -->
<!-- ==================================================================== --> - <bean name="Mtp3UserPart" class="org.mobicents.ss7.hardware.dialogic.DialogicMtp3UserPart"> - <property name="sourceModuleId">61</property> <property name="destinationModuleId">34</property>
-               </bean>]]>
+       <!---->
+ <bean name="Mtp3UserPart" class="org.mobicents.ss7.hardware.dialogic.DialogicMtp3UserPart">
+               <property name="sourceModuleId">61</property>
+               <property name="destinationModuleId">34</property>
+               <property name="routingLabelFormat">
+                       <inject bean="RoutingLabelFormat" />
+               </property>
+       </bean>]]>
                         </programlisting>
-
- <para> <literal>sourceModuleId</literal> is source module id and should match with configured in - system.txt used by dialogic drivers. Here 61 is assigned for Mobicents process. <literal>destinationModuleId</literal>
-                       is destination module id. 34 is Dialogic MTP3 module 
id.</para>
+                        <para>
+               Stack has following properties:
+               <variablelist>
+                       <varlistentry>
+                               <term>sourceModuleId</term>
+                               <listitem>
+                                       <para>
+ <literal>sourceModuleId</literal> is source module id and should match with configured in + <filename>system.txt</filename> used by dialogic drivers. Here 61 is assigned for Mobicents process.
+                                       </para>
+                               </listitem>
+                       </varlistentry>
+                       <varlistentry>
+                               <term>destinationModuleId</term>
+                               <listitem>
+                                       <para>
+ <literal>destinationModuleId</literal> is destination module id. 34 is Dialogic MTP3 module id.
+                                       </para>
+                               </listitem>
+                       </varlistentry>
+                       <varlistentry>
+                               <term>routingLabelFormat</term>
+                               <listitem>
+                                       <para>
+ The routing label format supported by this network. See <xref linkend="configuring_routing_label_format"/> for further details.
+                                       </para>
+                               </listitem>
+                       </varlistentry>
+               </variablelist>
+             </para>
                </section>

-                <section id="configuring_SCCP">
+        <section id="configuring_routing_label_format">
+               <title>Configuring MTP3 routing label</title>
+               <para>
+ MTP Level 3 routes messages based on the routing label in the signaling information field (SIF) of + message signal units. The routing label is comprised of the destination point code (DPC), + originating point code (OPC), and signaling link selection (SLS) field. Overtime different standards + cameup with different routing label format. For example An ANSI routing label uses 7 octets; an ITU-T routing label uses 4 octets.
+               </para>
+               <para>
+ &THIS.PLATFORM; &THIS.APPLICATION; is flexible to configure the routing label as shown below.
+               </para>
+                                       <programlisting language="XML" 
role="XML"><![CDATA[
+ <!-- ==================================================================== -->
+       <!-- MTP3 Properties -->
+       <!-- Define MTP3 routing label Format -->
+ <!-- ==================================================================== --> + <bean name="RoutingLabelFormat" class="org.mobicents.protocols.ss7.mtp.RoutingLabelFormat"> + <constructor factoryClass="org.mobicents.protocols.ss7.mtp.RoutingLabelFormat"
+                       factoryMethod="getInstance">
+                       <parameter>ITU</parameter>
+               </constructor>
+       </bean>]]>
+                        </programlisting>
+                       <para>
+                               Following table shows various routing formats 
supported
+                       </para>
+                               <table frame="all" pgwide="1">
+                                       <title>Routing Format</title>
+                                       <tgroup colsep="1" cols="3">
+                                               <colspec colnum="1" colname="c0" 
colwidth="3*" />
+                                               <colspec colnum="2" colname="c3" 
colwidth="3*" />
+                                               <colspec colnum="3" colname="c6" 
colwidth="3*" />
+                                               <thead>
+                                                       <row>
+                                                               
<entry>Name</entry>
+                                                               <entry>point code 
length</entry>
+                                                               <entry>sls 
length</entry>
+                                                       </row>
+                                               </thead>
+                                               <tbody>
+                                                       <row>
+                                                               
<entry>ITU</entry>
+                                                               
<entry>14-bits</entry>
+                                                               
<entry>4-bits</entry>
+                                                       </row>
+                                                       <row>
+                                                               
<entry>ANSI_Sls8Bit</entry>
+                                                               
<entry>24-bits</entry>
+                                                               
<entry>8-bits</entry>
+                                                       </row>
+                                                       <row>
+                                                               
<entry>ANSI_Sls5Bit</entry>
+                                                               
<entry>24-bits</entry>
+                                                               
<entry>5-bits</entry>
+                                                       </row>
+                                               </tbody>
+                                       </tgroup>
+                               </table>
+        </section>
+
+        <section id="configuring_SCCP">
                         <title>Configuring SCCP</title>
                         <para>
As name suggests <literal>SccpStack</literal> initiates the SCCP stack routines.
@@ -484,26 +614,39 @@
perform actions like creation and management of <literal>SCCP</literal> routing rule, management of <literal>SCTP</literal> and management of <literal>M3UA</literal> stack.
                         </para>
- <programlisting language="XML" role="XML"><![CDATA[<!-- ================================================ --> - <!-- Shell Service -->
-    <!-- ================================================ -->
-        <!-- Define Shell Executor -->
-        <bean name="ShellExecutor" class="org.mobicents.ss7.ShellExecutor">
-                <property name="address">${jboss.bind.address}</property>
-                <property name="port">3435</property>
+ <programlisting language="XML" role="XML"><![CDATA[ <!-- ==================================================================== -->
+       <!-- Shell Service -->
+ <!-- ==================================================================== -->
+       <!-- Define Shell Executor -->
+ <bean name="ShellExecutor" class="org.mobicents.ss7.management.console.ShellServer">
+               <constructor>
+                       <parameter>
+                               <inject bean="SS7Scheduler" />
+                       </parameter>
+                       <parameter>
+                               <list class="javolution.util.FastList"
+                                       
elementClass="org.mobicents.ss7.management.console.ShellExecutor">
+                                       <inject bean="SccpExecutor" />
+                                       <inject bean="M3UAShellExecutor" />
+                                       <inject bean="SCTPShellExecutor" />
+                               </list>
+                       </parameter>
+               </constructor>

-                <property name="sccpExecutor">
-                        <inject bean="SccpExecutor" />
-                </property>
-                <property name="m3UAShellExecutor">
-                        <inject bean="M3UAShellExecutor" />
-                </property>
-        </bean>]]></programlisting>
+               <property name="address">${jboss.bind.address}</property>
+               <property name="port">3435</property>
+       </bean>]]></programlisting>
<para>By default ShellExecutor listens at <literal>jboss.bind.address</literal> and port <literal>3435</literal>. You may set the <literal>address</literal> property to any valid IP address that your host is assigned. The shell commands are exchanged over TCP/IP.</para> <note><para>To understand JBoss bind options look at <ulink url="http://docs.jboss.org/jbossas/docs/Installation_And_Getting_Started_Guide/5/html_single/index.html";>Installation_And_Getting_Started_Guide</ulink> </para> </note>
+
+                        <para>
+ <literal>SCTPShellExecutor</literal> and <literal>M3UAShellExecutor</literal> is declared only if MTP layer <literal>M3UA</literal> is used. If <literal>dialogic</literal> + MTP layer is used these beans are not decalred and should be removed from <classname>FastList</classname> too. For <literal>dahdi</literal> need to declare <literal>LinksetExecutor</literal> + bean and add in <classname>FastList</classname> above.
+                        </para>

                 </section>

@@ -511,23 +654,38 @@
                 <section id="configuring_TCAP">
                         <title>Configuring TCAP</title>
                         <para>
- <literal>TcapStack</literal> initiates the TCAP stack routines. + <literal>TcapStack</literal> initiates the TCAP stack routines. Respective TCAP stack beans are instantiated for each <literal>MAP</literal>, <literal>CAP</literal> + Service. If you are using either one, feel free to delete other.
                         </para>
<programlisting language="XML" role="XML"><![CDATA[ <!-- ==================================================================== -->
        <!-- TCAP Service -->
<!-- ==================================================================== --> - <bean name="TcapStack" class="org.mobicents.protocols.ss7.tcap.TCAPStackImpl"> + <bean name="TcapStackMap" class="org.mobicents.protocols.ss7.tcap.TCAPStackImpl">
                <constructor>
- <parameter><inject bean="SccpStack" property="sccpProvider" /></parameter>
+                       <parameter>
+                               <inject bean="SccpStack" property="sccpProvider" 
/>
+                       </parameter>
                        <parameter>8</parameter>
                </constructor>
+               <property name="dialogIdleTimeout">60000</property>
+               <property name="invokeTimeout">30000</property>
+               <property name="maxDialogs">25000</property>
+       </bean>
+
+ <bean name="TcapStackCap" class="org.mobicents.protocols.ss7.tcap.TCAPStackImpl">
+               <constructor>
+                       <parameter>
+                               <inject bean="SccpStack" property="sccpProvider" 
/>
+                       </parameter>
+                       <parameter>146</parameter>
+               </constructor>
                <property name="dialogIdleTimeout">60000</property>
                <property name="invokeTimeout">30000</property>
                <property name="maxDialogs">25000</property>
        </bean>]]></programlisting>
                         <para>
<classname>org.mobicents.protocols.ss7.tcap.TCAPStackImpl</classname> takes <classname>SccpStack</classname> as constructor - argument. TCAP uses passed SCCP stack. It also takes the sub system number (SSN) which is registered with passed SCCP stack. + argument. TCAP uses passed SCCP stack. COnstructor also takes the sub system number (SSN) which is registered with passed SCCP stack.
                         </para>

                         <para>
@@ -562,38 +720,153 @@
                         <para>
<literal>MapStack</literal> initiates the MAP stack routines.
                         </para>
- <programlisting language="XML" role="XML"><![CDATA[ <!-- ==================================================================== --> + <programlisting language="XML" role="XML"><![CDATA[<!-- ==================================================================== -->
        <!-- MAP Service -->
<!-- ==================================================================== --> <bean name="MapStack" class="org.mobicents.protocols.ss7.map.MAPStackImpl">
                <constructor>
-                       <parameter><inject bean="TcapStack" property="provider" 
/></parameter>
+                       <parameter>
+                               <inject bean="TcapStackMap" property="provider" 
/>
+                       </parameter>
                </constructor>
-       </bean>   ]]></programlisting>
+       </bean>]]></programlisting>
                          <para>
<classname>org.mobicents.protocols.ss7.map.MAPStackImpl</classname> takes <classname>TcapStack</classname> as constructor
                                 argument. MAP uses passed TCAP stack.
                         </para>
+                         <para>
+ Feel free to delete declaration of this bean if your service is consuming only CAP messages.
+                        </para>
                 </section>
-
+
+                <section id="configuring_CAP">
+                        <title>Configuring CAP</title>
+                        <para>
+ <literal>CapStack</literal> initiates the CAP stack routines.
+                        </para>
+ <programlisting language="XML" role="XML"><![CDATA[ <!-- ==================================================================== -->
+       <!-- CAP Service -->
+ <!-- ==================================================================== --> + <bean name="CapStack" class="org.mobicents.protocols.ss7.cap.CAPStackImpl">
+               <constructor>
+                       <parameter>
+                               <inject bean="TcapStackCap" property="provider" 
/>
+                       </parameter>
+               </constructor>
+       </bean>]]></programlisting>
+                         <para>
+ <classname>org.mobicents.protocols.ss7.cap.CAPStackImpl</classname> takes <classname>TcapStack</classname> as constructor
+                                argument. CAP uses passed TCAP stack.
+                        </para>
+                        <para>
+ Feel free to delete declaration of this bean if your service is consuming only MAP messages.
+                        </para>
+                </section>
+
+                 <section id="configuring_ISUP">
+                        <title>Configuring ISUP</title>
+                        <para>
+ <literal>IsupStack</literal> initiates the ISUP stack routines.
+                        </para>
+ <programlisting language="XML" role="XML"><![CDATA[ <!-- ==================================================================== -->
+       <!-- ISUP Service -->
+ <!-- ==================================================================== -->
+       <bean name="CircuitManager"
+               
class="org.mobicents.protocols.ss7.isup.impl.CircuitManagerImpl">
+       </bean>
+
+ <bean name="IsupStack" class="org.mobicents.protocols.ss7.isup.impl.ISUPStackImpl">
+               <constructor>
+                       <parameter>
+                               <inject bean="SS7Scheduler" />
+                       </parameter>
+                       <parameter>22234</parameter>
+                       <parameter>2</parameter>
+               </constructor>
+               <property name="mtp3UserPart">
+                       <inject bean="Mtp3UserPart" />
+               </property>
+               <property name="circuitManager">
+                       <inject bean="CircuitManager" />
+               </property>
+       </bean>]]></programlisting>
+                         <para>
+ <classname>org.mobicents.protocols.ss7.isup.impl.ISUPStackImpl</classname> takes <classname>SS7Scheduler</classname>, local signaling pointcode and network indicator + as constructor argument. MAP uses passed TCAP stack.
+                        </para>
+
+
+                        <para>
+                                Stack has following properties:
+                                <variablelist>
+                                        <varlistentry>
+                                                <term>mtp3UserPart</term>
+                                                <listitem>
+ <para>specifies SS7 Level 3 to be used as transport medium( be it SS7 card or M3UA). </para>
+                                                </listitem>
+                                        </varlistentry>
+                                        <varlistentry>
+                                                <term>circuitManager</term>
+                                                <listitem>
+                                                        <para>
+ CIC management bean
+                                                        </para>
+                                                </listitem>
+                                        </varlistentry>
+                                </variablelist>
+                        </para>
+
+                         <para>
+ Feel free to delete declaration of this bean if your service is not consuming ISUP messages.
+                        </para>
+                </section>
+
                 <section id="configuring_SS7Service">
                         <title>Configuring SS7Service</title>
                         <para>
SS7Service acts as core engine binding all the components together.
                         </para>
- <programlisting language="XML" role="XML"><![CDATA[ <!-- ==================================================================== --> + <programlisting language="XML" role="XML"><![CDATA[<!-- ==================================================================== -->
        <!-- Mobicents SS7 Service -->
<!-- ==================================================================== -->
-       <bean name="SS7Service" class="org.mobicents.ss7.SS7Service">
- <annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="org.mobicents.ss7:service=SS7Service",exposedInterface=org.mobicents.ss7.SS7ServiceMBean.class,registerDirectly=true)
+       <bean name="MAPSS7Service" class="org.mobicents.ss7.SS7Service">
+               <constructor>
+                       <parameter>MAP</parameter>
+               </constructor>
+ <annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="org.mobicents.ss7:service=MAPSS7Service",exposedInterface=org.mobicents.ss7.SS7ServiceMBean.class,registerDirectly=true)
                </annotation>
                <property name="jndiName">java:/mobicents/ss7/map</property>
                <property name="stack">
                        <inject bean="MapStack" property="MAPProvider" />
                </property>
+       </bean>
+       <bean name="CAPSS7Service" class="org.mobicents.ss7.SS7Service">
+               <constructor>
+                       <parameter>CAP</parameter>
+               </constructor>
+ <annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="org.mobicents.ss7:service=CAPSS7Service",exposedInterface=org.mobicents.ss7.SS7ServiceMBean.class,registerDirectly=true)
+               </annotation>
+               <property name="jndiName">java:/mobicents/ss7/cap</property>
+               <property name="stack">
+                       <inject bean="CapStack" property="CAPProvider" />
+               </property>
+       </bean>
+       <bean name="ISUPSS7Service" class="org.mobicents.ss7.SS7Service">
+               <constructor>
+                       <parameter>ISUP</parameter>
+               </constructor>
+ <annotation>@org.jboss.aop.microcontainer.aspects.jmx.JMX(name="org.mobicents.ss7:service=ISUPSS7Service",exposedInterface=org.mobicents.ss7.SS7ServiceMBean.class,registerDirectly=true)
+               </annotation>
+               <property name="jndiName">java:/mobicents/ss7/isup</property>
+               <property name="stack">
+                       <inject bean="IsupStack" property="isupProvider" />
+               </property>
        </bean>]]></programlisting>
- <para> SS7 service binds MapStack to JNDI <literal>java:/mobicents/ss7/map</literal>. - The JNDI name can be configured to any valid JNDI name specific to your application.</para> + <para> MAPSS7Service binds MapStack to JNDI <literal>java:/mobicents/ss7/map</literal>. </para> + <para> CAPSS7Service binds CapStack to JNDI <literal>java:/mobicents/ss7/cap</literal>. </para> + <para> ISUPSS7Service binds IsupStack to JNDI <literal>java:/mobicents/ss7/isup</literal>. </para> + <para>The JNDI name can be configured to any valid JNDI name specific to your application.</para> + <para>Feel free to delete service that your application is not using</para>
                 </section>
        </section>

@@ -728,6 +1001,13 @@
                <property name="connectDelay">30000</property>
        </bean>

+       <bean name="SCTPShellExecutor"
+               
class="org.mobicents.protocols.ss7.m3ua.impl.oam.SCTPShellExecutor">
+               <property name="sctpManagement">
+                       <inject bean="SCTPManagement" />
+               </property>
+       </bean>
+
<bean name="Mtp3UserPart" class="org.mobicents.protocols.ss7.m3ua.impl.M3UAManagement">
                <constructor>
                        <parameter>Mtp3UserPart</parameter>
@@ -743,9 +1023,6 @@
                <property name="m3uaManagement">
                        <inject bean="Mtp3UserPart" />
                </property>
-               <property name="sctpManagement">
-                       <inject bean="SCTPManagement" />
-               </property>
        </bean>]]>
                         </programlisting>
                </section>
@@ -821,16 +1098,22 @@
<programlisting language="XML" role="XML"><![CDATA[<!-- ================================================ --> <!-- Shell Service -->
     <!-- ================================================ -->
-       <bean name="ShellExecutor"
-               class="org.mobicents.ss7.sgw.ShellExecutor">
+ <bean name="ShellExecutor" class="org.mobicents.ss7.management.console.ShellServer">
+               <constructor>
+                       <parameter>
+                               <inject bean="Scheduler" />
+                       </parameter>
+                       <parameter>
+ <list class="javolution.util.FastList" elementClass="org.mobicents.ss7.management.console.ShellExecutor">
+                                       <inject bean="M3UAShellExecutor" />
+                                       <inject bean="SCTPShellExecutor" />
+                                       <inject bean="LinksetExecutor" />
+                               </list>
+                       </parameter>
+               </constructor>
+
                <property name="address">${sgw.bind.address}</property>
-               <property name="port">3436</property>
-               <property name="linksetExecutor">
-                       <inject bean="LinksetExecutor" />
-               </property>
-               <property name="m3UAShellExecutor">
-                       <inject bean="M3UAShellExecutor" />
-               </property>
+               <property name="port">3435</property>
        </bean>]]></programlisting>
<para>By default ShellExecutor listens at <literal>sgw.bind.address</literal> and port <literal>3436</literal>. You may set the <literal>address</literal> property to any valid IP address that your host is assigned.
=======================================
--- /docs/sources/src/main/resources/en-US/SS7_Stack_User_Guide.ent Sun Jun 3 11:58:45 2012 +++ /docs/sources/src/main/resources/en-US/SS7_Stack_User_Guide.ent Sat Aug 25 09:01:13 2012
@@ -15,7 +15,7 @@
 <!ENTITY HOLDER "TeleSTax Inc">
 <!ENTITY AUTHOR.EMAIL.AMIT "${author.email.amit}">
 <!ENTITY AUTHOR.EMAIL.BARTOSZ "${author.email.bartosz}">
-<!ENTITY AUTHOR.EMAIL.OLEG "${author.email.oleg}">
+<!ENTITY AUTHOR.EMAIL.VINU "${author.email.vinu}">
 <!ENTITY THIS.APPLICATION "${docs.application.name}">
 <!ENTITY THIS.APPLICATION.DIRNAME "${docs.application.dirname}">
 <!ENTITY THIS.ISSUE_TRACKER_URL "${THIS.ISSUE_TRACKER_URL}">
=======================================
--- /docs/sources/src/main/resources/en-US/images/M3UAAs.jpg Thu Mar 3 03:33:28 2011 +++ /docs/sources/src/main/resources/en-US/images/M3UAAs.jpg Sat Aug 25 09:01:13 2012
Binary file, no diff available.
=======================================
--- /docs/sources/src/main/resources/en-US/images/M3UASgw.jpg Thu Mar 3 03:33:28 2011 +++ /docs/sources/src/main/resources/en-US/images/M3UASgw.jpg Sat Aug 25 09:01:13 2012
Binary file, no diff available.
=======================================
--- /docs/sources/src/main/resources/en-US/images/MobicentsSgw.jpg Fri Apr 8 04:04:22 2011 +++ /docs/sources/src/main/resources/en-US/images/MobicentsSgw.jpg Sat Aug 25 09:01:13 2012
Binary file, no diff available.
=======================================
--- /docs/sources/src/main/resources/en-US/images/SS7StackSimple.jpg Sun Mar 6 22:09:31 2011 +++ /docs/sources/src/main/resources/en-US/images/SS7StackSimple.jpg Sat Aug 25 09:01:13 2012
Binary file, no diff available.
=======================================
--- /docs/sources/src/main/resources/en-US/images/SS7StackSimple.odg Sun Jun 3 11:58:45 2012 +++ /docs/sources/src/main/resources/en-US/images/SS7StackSimple.odg Sat Aug 25 09:01:13 2012
Binary file, no diff available.

Reply via email to