2 new revisions:
Revision: 665cb2430c37
Author: Sergey Vetyutnev <[email protected]>
Date: Fri Jun 8 06:27:13 2012
Log: simulator manual update
http://code.google.com/p/jss7/source/detail?r=665cb2430c37
Revision: 09d02bcb542d
Author: Sergey Vetyutnev <[email protected]>
Date: Sat Jun 23 01:52:15 2012
Log: Merge branch 'manual2'
http://code.google.com/p/jss7/source/detail?r=09d02bcb542d
==============================================================================
Revision: 665cb2430c37
Author: Sergey Vetyutnev <[email protected]>
Date: Fri Jun 8 06:27:13 2012
Log: simulator manual update
http://code.google.com/p/jss7/source/detail?r=665cb2430c37
Added:
/docs/sources/src/main/resources/en-US/images/Simulator-Example10.png
/docs/sources/src/main/resources/en-US/images/Simulator-Example11.png
Modified:
/docs/sources/src/main/resources/en-US/Chapter-Simulator.xml
=======================================
--- /dev/null
+++ /docs/sources/src/main/resources/en-US/images/Simulator-Example10.png
Fri Jun 8 06:27:13 2012
Binary file, no diff available.
=======================================
--- /dev/null
+++ /docs/sources/src/main/resources/en-US/images/Simulator-Example11.png
Fri Jun 8 06:27:13 2012
Binary file, no diff available.
=======================================
--- /docs/sources/src/main/resources/en-US/Chapter-Simulator.xml Thu May 24
01:52:58 2012
+++ /docs/sources/src/main/resources/en-US/Chapter-Simulator.xml Fri Jun 8
06:27:13 2012
@@ -91,17 +91,12 @@
</listitem>
<listitem>
<para>
- SMCS SMS delivering test (not
yet implemented)
+ SMS server test
</para>
</listitem>
<listitem>
<para>
- Dialogic MTU interconnection
test (not yet implemented)
- </para>
- </listitem>
- <listitem>
- <para>
- Dialogic MTR interconnection
test (not yet implemented)
+ SMS client test
</para>
</listitem>
</itemizedlist>
@@ -337,8 +332,173 @@
</section>
+
+ <section id="simulator_configuring_layers">
+ <title>Configuring Simulator layers
+ </title>
+
+ <para>
+ Some remarks of configuring the Mobicents stack for Simulator is
described in this chapter.
+ </para>
+
+
+ <section id="simulator_configuring_layers_sccp">
+ <title>SCCP
+ </title>
+
+ <para>
+ SCCP layer supports processing messages in two modes:
+ <itemizedlist>
+ <listitem>
+ <para>
+ Route on DPC and SSN mode
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Route on GlobalTitle mode
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+
+ <para>
+ For both modes we need to set the following options:
+ <itemizedlist>
+ <listitem>
+ <para>
+ Remote SPC
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Local SPC
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Network indicator
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Remote SSN
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Local SSN
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+
+ <para>
+ When starting SCCP layer creates:
+ <itemizedlist>
+ <listitem>
+ <para>
+ Mtp3ServiceAccessPoint (using
Local SPC and Network indicator)
+ with the single Mtp3Destination
(Remote SPC, all SLS's)
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ RemoteSpc (using Remote SPC)
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ RemoteSsn (using Remote SPC and
Remote SSN)
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+
+ <para>
+ For "Route on GlobalTitle" mode there are following extra
options:
+ <itemizedlist>
+ <listitem>
+ <para>
+ GlobalTitle type ("Nature of address indicator only", "Translation
type only",
+ "Translation type, numbering plan
and encoding scheme",
+ "Translation type, numbering plan,
encoding scheme and NOA ind"),
+ the last choice is default
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ AddressNature
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ NumberingPlan
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Translation type
+ (those four options are used both for CalledPartyAddress,
CallingPartyAddress and routing rules)
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ CallingPartyAddress digits
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Extra local addresses (used for routing rules). We can define here
several addresses
+ separated by comma. "?" and "*"
characters can also be used here.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+
+ <para>
+ If "Route on GlobalTitle" mode is used, several rules for routing are
created when SCCP layer starting.
+ Addresses that are equal CallingPartyAddress or Extra local addresses
are routed to the local
+ SCCP user. All other addresses are routed to the Remote
SPC/Remote SSN.
+ </para>
+
+ <para>
+ SCCP layer provide creating CalledPartyAddress and
CallingPartyAddress
+ for upper layers and test cases. When "Route on DPC and SSN" mode these
are
+ ROUTING_BASED_ON_DPC_AND_SSN with no GlobalTitle, pc=Local SPC (for
CallingPartyAddress)
+ or Remote SSN (for CalledPartyAddress), SSN=Local SSN and Remote SSN
accordingly.
+ </para>
+
+ <para>
+ When "Route on GlobalTitle" mode ROUTING_BASED_ON_GT is used:
+ <itemizedlist>
+ <listitem>
+ <para>
+ CallingPartyAddress is created based on CallingPartyAddress digits
and Local SSN.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ CalledPartyAddress is created using digits and SSN that are supplied
by upper levels or test cases.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+
+ <figure>
+ <title>SCCP settings form</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/Simulator-Example9.png" format="PNG"
align="center"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
</section>
+ </section>
+
+ </section>
+
<section id="simulator_tests">
<title>SS7 Simulator test cases
@@ -348,6 +508,48 @@
Several test cases are implemened now.
</para>
+ <section id="simulator_test_ussdserver">
+ <title>USSD Server
+ </title>
+
+ <para>
+ UssdServer test can work in manual and automatic modes.
+ In the manual mode a user manually inserts the response message value
and sends ProcessUnstructuredSs response (or UnstructuredSs request) to the
Ussd client.
+ In the automatic mode UssdServer automatically sends a predefined
message as an ProcessUnstructuredSs response ("Auto sending
ProcessUnstructuredSsResponse" option)
+ or automatically sends a predefined message as an UnstructuredSs request
and then
+ sends a predefined message ProcessUnstructuredSs response ("Auto sending
Unstructured_SS_Request then after response sending
ProcessUnstructuredSsResponse" option).
+ Use "Auto sending ProcessUnstructuredSsResponse" option for UssdServer
if UssdClient is used for a load test ("Auto sending
ProcessUnstructuredSSRequest").
+ For load tests we recommend to check the option "One notification for
100 dialogs" for preventing too many notifications when load testing.
+ </para>
+
+ <para>
+ UssdServer test can perform followng tasks:
+ <itemizedlist>
+ <listitem>
+ <para>
+ Sending a ProcessUnstructiredSs response / UnstructiredSs request in
automatic or manual modes.
+ Ussd Client must initiate a dialog using ProcessUnstructiredSs
request.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Manually sending an
UnstructuredSsNotify.
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+
+ <figure>
+ <title>Ussd Server option form</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/Simulator-Example8.png" format="PNG"
align="center"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ </section>
+
<section id="simulator_test_ussdclient">
<title>USSD Client
@@ -408,46 +610,202 @@
</section>
- <section id="simulator_test_ussdserver">
- <title>USSD Server
+ <section id="simulator_test_smsserver">
+ <title>SMS Server
</title>
<para>
- UssdServer test can work in manual and automatic modes.
- In the manual mode a user manually inserts the response message value
and sends ProcessUnstructuredSs response (or UnstructuredSs request) to the
Ussd client.
- In the automatic mode UssdServer automatically sends a predefined
message as an ProcessUnstructuredSs response ("Auto sending
ProcessUnstructuredSsResponse" option)
- or automatically sends a predefined message as an UnstructuredSs request
and then
- sends a predefined message ProcessUnstructuredSs response ("Auto sending
Unstructured_SS_Request then after response sending
ProcessUnstructuredSsResponse" option).
- Use "Auto sending ProcessUnstructuredSsResponse" option for UssdServer
if UssdClient is used for a load test ("Auto sending
ProcessUnstructuredSSRequest").
- For load tests we recommend to check the option "One notification for
100 dialogs" for preventing too many notifications when load testing.
+ SMS Server simulates the behavior of SMSC, it can:
+ <itemizedlist>
+ <listitem>
+ <para>
+ Send sendRoutingInfoForSM to
the HLR and receive the response
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Send mt-forwardSM to the VLR
and receive the response
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Send sendRoutingInfoForSM to the HLR, receive the response and send
mt-forwardSM using data from the first request
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Receive mo-forwardSM request from VLR and display the received
message
+ </para>
+ </listitem>
+ </itemizedlist>
</para>
<para>
- UssdServer test can perform followng tasks:
+ We need to set the following options to SMS server:
<itemizedlist>
<listitem>
<para>
- Sending a ProcessUnstructiredSs response / UnstructiredSs request in
automatic or manual modes.
- Ussd Client must initiate a dialog using ProcessUnstructiredSs
request.
+ AddressNature and NumberingPlan
for AddressString creation
</para>
</listitem>
<listitem>
<para>
- Manually sending an
UnstructuredSsNotify.
+ TypeOfNumber and
NumberingPlanIdentification SMS tpdu addresses
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ MAP protocol version (1, 2 or
3) (version 3 is default)
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Character set for SMS message
encoding (GSM7 or UCS2)
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Origination Service center address string (this address must be
equal the SCCP layer CallingPartyAddress digits)
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ HLR and VLR SSN values (default
values are 8 and 6)
</para>
</listitem>
</itemizedlist>
</para>
+ <para>
+ Remark: if you want to use SMS Server and SMS Client for sending SMS to
each other: set HLR SSN at SMS Server the equal value that VLR SSN (8 in
our case)
+ </para>
+
<figure>
- <title>Ussd Server option form</title>
+ <title>SMS client settings form</title>
<mediaobject>
<imageobject>
- <imagedata fileref="images/Simulator-Example8.png" format="PNG"
align="center"/>
+ <imagedata fileref="images/Simulator-Example11.png" format="PNG"
align="center"/>
</imageobject>
</mediaobject>
</figure>
+ <para>
+ After starting SMS server you can:
+ <itemizedlist>
+ <listitem>
+ <para>
+ For sending sendRoutingInfoForSM ("Send SRIForSM" button) we should
set "Destination ISDN number"
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ For sending sendRoutingInfoForSM and then mt-forwardSM ("Send
SRIForSM + MtForwardSM" button) we should set
+ "Message text", "Destination ISDN number" and "Origination ISDN
number"
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ For sending mt-forwardSM only ("Send MtForwardSM" button) we should
set
+ "Message text", "IMSI", "VLR number" and
"Origination ISDN number"
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+
+ </section>
+
+ <section id="simulator_test_smsclient">
+ <title>SMS Client
+ </title>
+
+ <para>
+ SMS Client simulates the behavior of HLR or VLR, it can:
+ <itemizedlist>
+ <listitem>
+ <para>
+ Receive sendRoutingInfoForSM from SMSC and send as a response
predefined IMSI and VLR number
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Receive mt-forwardSM from SMSC
and display the received message
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Send mo-forwardSM to the SMSC
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+
+ <para>
+ We need to set the following options to SMS client:
+ <itemizedlist>
+ <listitem>
+ <para>
+ AddressNature and NumberingPlan
for AddressString creation
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ TypeOfNumber and
NumberingPlanIdentification SMS tpdu addresses
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ MAP protocol version (1, 2 or
3) (version 3 is default)
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Character set for SMS message
encoding (GSM7 or UCS2)
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ Destination Service center address string (this address must be
equal the SCCP layer CallingPartyAddress digits)
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ SMSC SSN value (default value
is 8)
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ IMSI and VLR addresses values that will be used when responding on
sendRoutingInfoForSM
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+
+ <figure>
+ <title>SMS client settings form</title>
+ <mediaobject>
+ <imageobject>
+ <imagedata fileref="images/Simulator-Example10.png" format="PNG"
align="center"/>
+ </imageobject>
+ </mediaobject>
+ </figure>
+
+ <para>
+ After starting SMS client you can:
+ <itemizedlist>
+ <listitem>
+ <para>
+ For sending mo-forwardSM ("Send
MoForwardSM" button) we should set
+ "Message text", "Destination ISDN number" and "Origination ISDN
number"
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ When recieving sendRoutingInfoForSM client automatically generate a
response with preconfigured IMSI and VLR address
+ </para>
+ </listitem>
+ </itemizedlist>
+ </para>
+
</section>
</section>
==============================================================================
Revision: 09d02bcb542d
Author: Sergey Vetyutnev <[email protected]>
Date: Sat Jun 23 01:52:15 2012
Log: Merge branch 'manual2'
http://code.google.com/p/jss7/source/detail?r=09d02bcb542d