Abstract:
It is an object of the invention to provide an advantageous SAS Service Architecture. The inventive SAS service architecture has a layered structure including a set of software modules, at least: ASTP dispatcher, SCCP transcoder, TCAP, TCAP user service distributor, at least two TCAP user services; ASTP=specific advanced signaling transfer protocol including routing information, etc. Within the SAS service architecture at least two different types of interactions can be configured: interaction Type A between ASTP dispatcher and TCAP user service, interaction Type B 1  between TCAP user service  1  and TCAP user service  2.

Description:
[0001]     The invention is based on a priority application EP 03290706.5 which is hereby incorporated by reference.  
       TECHNICAL FIELD OF THE INVENTION  
       [0002]     This invention is related in general to the field of telecommunications systems. More particularly, the invention is related to a SS7 signaling server and method for routing SS7 links in a telecommunications network. More particularly, the invention is related to a SAS Service Architecture. The invention is related to the european patent applications EP 02360267.5 and EP 02360268.3 which hereby are incorporated by reference.  
       BACKGROUND OF THE INVENTION  
       [0003]     A SS7 signaling server for routing SS7 links includes a signaling transfer point (STP) and a signaling application server (SAS). The SAS is capable to process at least one application process. Each application process, e.g. an individual INAP, MAP, CAP, or any TCAP User, TCAP Relay, or SCCP Relay service request has to be identified and processed.  
         [0004]     The SS7 signaling server for routing SS7 links, includes e.g. a signaling transfer point (STP) and a signaling application server (SAS); SS7=Signaling System No. 7. STP and SAS have different functionalities. The STP has at least one external interface to connect the STP via at least one SS7 link to at least one telecommunications unit, and an internal interface to connect the STP to the SAS. The STP processes incoming SS7 messages, e.g. in the MTP1, MTP2, MTP3, and SCCP layer. The SAS is capable to process at least one application service request, advantageously at least two different application service requests. The STP identifies a single application service request in one incoming SS7 message and provides the identified single application service request to the SAS for further processing. The SAS has e.g. two TCAP processes to identify two different application services, e.g. INAP and MAP. STP and SAS are interconnected via an internal interworking protocol, e.g. using TCP/IP (transmission control protocol/internet protocol). The interworking protocol is called Advanced Signaling Transport Protocol (ASTP).  
         [0005]     The signaling server is e.g. highly configurable and efficient regarding run-time. The signaling server is capable of processing multiple application service requests, e.g. mobile number portability (MNP), service number portability (SNP), screening, intelligent network (IN) services, TCAP services, MAP services, CAP services, TCAP Relay, TCAP User Relay, SCCP Relay.  
         [0006]     The SS7 signaling server for routing SS7 links, includes e.g. a signaling transfer point (STP) and a signaling application server (SAS), 
        wherein the STP has at least one external interface to connect the STP via at least one SS7 link to at least one telecommunications unit, and an internal interface to connect the STP to the SAS,     wherein the SAS is capable to process at least one service requst, advantageously at least two different application service requests, and     wherein the STP is capable to process incoming SS7 messages, to identify a single application service request in one incoming SS7 message, to provide the identified single application service request to the SAS for further processing.        
 
       SUMMARY OF THE INVENTION  
       [0010]     It is an object of the invention to provide an advantageous SAS Service Architecture.  
         [0011]     The inventive SAS service architecture has a layered structure including a set of software modules, at least: ASTP dispatcher, SCCP transcoder, TCAP, TCAP user service distributor, at least two TCAP user services; ASTP=specific advanced signaling transfer protocol including routing information, etc. Within the SAS service archtitecture at least two different types of interactions can be configured: interaction Type A between ASTP dispatcher and TCAP user service, interaction Type B 1  between TCAP user service  1  and TCAP user service  2 .  
         [0012]     The inventive SAS service architecture makes use of configurable software modules. Each software modules performs a specific task and can easily be re-configured allowing the whole system to be very flexible and to be adapted to specific requirements via simple software reprogramming and/or adding of modules.  
         [0013]     In a preferred embodiment the SAS service architecture further includes a plurality of further modules: SCCP Transcoder, SCCP Service Distributor, SCCP services, etc. Further types of interactions can be configured: interaction Type C between TCAP User Service m (e.g. INAP service) assigned to TCAP User Distributor A and TCAP User Service  1  (e.g. MAP service) assigned to TCAP User Distributor B, and interaction Type D between TCAP User Service m and SCCP Service n. These types of interaction are concatenation types of interaction, i.e. the SS7 message is forwarded from one module to another together with an interim analysis result. This concatenation is configurable in each module and can occur multiple times.  
         [0014]     The SAS Service Architecture is highly configurable, and it is possible to adapt service in a very easy way to e.g. different mobile networks.  
         [0015]     The SAS Service Architecture has a layered structure including a set of software modules, at least: ASTP Dispatcher, SCCP Transcoder for TCAP User, TCAP, at least one TCAP User Service Distributor, at least two TCAP User Services, wherein at least two different types of interactions can be configured: interaction Type A between ASTP Dispatcher and TCAP User Service, wherein the message to be processed is forwarded from the ASTP Dispatcher to the relevant TCAP User Service via SCCP Transcoder for TCAP User, TCAP, and the relevant TCAP User Service Distributor, and interaction Type B 1  between two TCAP User Services assigned to the same TCAP User Service Distributor, wherein the TCAP User Service Distributor forwards the message to be processed to a second TCAP User Service dependent on the result of the outbound message of a first TCAP User Service.  
         [0016]     Interaction Type A serves to process a Service Application request received from the STP. The message to be processed is forwarded to the specific TCAP User Service, in which the processing can be performed. The result of the processing in the TCAP User Service is forwarded to the ASTP Dispatcher which transmits the result to the STP.  
         [0017]     Interaction Type B 1  together with interaction Type A serves to increase the flexibility of processing and to reduce the time required for processing. In case the addressed TCAP User Service is not able to process the received Service Application request in a way desired by the STP, the unsatisfactory result would normally be transmitted back to the STP, which then has to start a new request which has to be forwarded to another TCAP User Service. With the help of interaction Type B 1  the result of the processing in the addressed TCAP User Service is evauated in the assigned TCAP User Service Distribution A. If the result is only an interim result and one of the other TCAP User Services assigned to the TCAP User Distribution A is able to process the interim result or another part of the Service Application request then the message is forwarded to this TCAP User Service. The result of this TCAP User Service is then transmitted back to the STP. Alternatively, the result is forwarded to a third TCAP User Service for further processing or transmitted back to the first TCAP User Service in order to be further processed. Thus, the flexibility in processing an incoming Service Application request is increased.  
         [0018]     In a preferred embodiment of the invention a further type of interaction can be configured: interaction Type C between two TCAP User Services assigned to different TCAP User Service Distributors, wherein TCAP forwards the message to be processed to a second TCAP User Service assigned to a second TCAP User Service Distributor dependent on the result of the outbound message of a first TCAP User Service assigned to a first TCAP User Service Distributor.  
         [0019]     Interaction type C may interact with interactions Type A and B1. The flexibility in creating concatenated interactions is further increased. Thus, the flexibility in processing an incoming Service Application request is increased. This saves processing time. To achieve an adequate response to an incoming Service Application request the message to be processed has to be first processed in an INAP User Service and second in an MAP User Service. Assuming that TCAP User Service m assigned to TCAP User Distributor A (e.g.=INAP User Distributor) is an INAP User Service and TCAP User Service  1  assigned to TCAP User Distributor B (e.g.=MAP User Distributor) is a MAP User Service the Service Application request could be forwarded from ASTP Dispatcher to TCAP User Service m with the help of interaction Type A and subsequently from TCAP User Service m to TCAP User Service  1  with the help of interaction Type C, and subsequently tranmitted back to STP with the help of interaction Type A. STP receives the desired response with the help of one single request and does not have to request several times.  
         [0020]     In a further embodiment of the invention the SAS Service Architecture further includes the software modules SCCP Transcoder, at least one SCCP Service Distributor, at least two SCCP Services, and wherein two further types of interaction can be configured: interaction Type D between a TCAP User Service and a SCCP User Service, wherein ASTP Dispatcher forwards the message to be processed to a TCAP User Service assigned to a TCAP User Service Distributor dependent on the result of the outbound message of a SCCP User Service assigned to a SCCP User Service Distributor, and interaction Type B 2  between two SCCP User Services assigned to the same SCCP User Service Distributor, wherein the SCCP User Service Distributor forwards the message to be processed to a second SCCP User Service dependent on the result of the outbound message of a first SCCP User Service.  
         [0021]     The flexibility of processing can further be increased. Not only TCAP services but also SCCP services could be included. With the help of interacton Type C a concatenation of interactions including TCAP and SCCP services can be achieved.  
         [0022]     It is very easy to enlarge the SAS Service Architecture and the functionality. The used software modules are independently of each other. By adding further modules with other services and generating further interactions the flexibility of processing incoming Service Application requests is further increased.  
         [0023]     The inventive SAS Service Architecture advantageously includes a common database pool to which all SAS Application Services have access. The idea of having independent modules is also used in the database pool. The pool includes several databases of different Types. The databases are independently from each other and could be accessed independently from each other. Each User Service has access to each database. The number of databases is minimized and the data stored in the databases has only to be stored once and not in many duplicats, thus saving storage place. Nevertheless, specific data which is needed simultaneously by different services can be stored in dublicats in order to increase processing time.  
         [0024]     An inventive method to perform an analysis for a SAS application service, comprises the steps of: 
        performing an inbound message analysis,     performing a Service Decision,     performing an Outbound Message Synthesis using at least one Outbound Configuration Table.        
 
         [0028]     With the help of the configuration table the result of the processing is generated. The result could be final, interim, error, etc. A final result will be transmitted back to the STP. An interim result which has to be processed in a further User Service will be forwarded to this User Service with the help of one of the interaction types. Each Service Distributor analyses the result received from a User Service and decides on the further action, e.g. forwarding to STP, forwarding to another User Service. Thus with the help of the configuration table the different kind of interaction types could be defined. As the table is configurable a reprogramming can easily be performed, e.g. when the SAS Service Arcghitecture is enlarged and more interaction types are required, etc.  
         [0029]     In a preferred embodiment the Service Decision further includes a Generic Loop Detection Analysis using a Loop Detection Configuration Table.  
         [0030]     The Loop Detection has the important task to check whether or not a never ending loop has occured, e.g. TCAP User Service  1  generates an interim result having the effect that with the help of interaction Type B 1  TCAP User Service m has to further process the message and TCAP User Service m generates an interim result having the effect that with the help of interaction Type B 1  TCAP User Service  1  has to further process the message. Detecting a loop quickly reduces undesired processing time.  
         [0031]     In a further preferred embodiment the Service Decision further includes a Database Search in a common database pool, which includes at least a Single Number Configuration Table and a Range Number Configuration Table.  
         [0032]     The single Number Configuration Table serves to store single numbers or attributes thereof and corresponding service control data or attributes thereof, wherein the Range Number Configuration Table serves to store ranges or attributes thereof and corresponding service control data or attributes thereof. A service control configuration table serves to store service control data or attributes thereof and corresponding service control information or attributes thereof.  
         [0033]     Each configuration table includes several parameters and can easily be re-configured allowing the whole system to be very flexible and to be adapted to specific requirements via simple software reprogramming.  
         [0034]     If predefined attributes (=parameters) of an assembled search digit string (e.g. assembled from a received E.164 number) could not be found in a Single Number Configuration Table a further query is done in a Range Number Configuration Table. This two step approach enables a quicker search routine. Parameters are e.g. number value, portability status, transition indicator.  
         [0035]     The dadatase pool enables Number Portability when at least one Single Number Configuration Table serves to store E.164 single numbers or attributes thereof like E.164 Number Length, E.164 Number Value, Number Type, Portability Status, Default/Exception Indicator, Transition Indicator, Extended Match Indicator, Extended Match Length, and corresponding service control data or attributes thereof like Service Control Data Id, Service Control Data Sequence Number, and at least one Range Number Configuration Table serves to store E.164 range numbers or attributes thereof like E.164 Number Start Range Length, E.164 Number Start Range Value, E.164 Number End Range Length, E.1 64 Number End Range Value, Number Type, Portability Status, Default/Exception Indicator, Transition Indicator, Single Number Flag, and corresponding service control data or attributes thereof like Service Control Data Id, Service Control Data Sequence Number.  
         [0036]     The dadatase pool enables in addition flexible routing when at least one Single Number Configuration Table serves to store MSIN based single numbers or attributes thereof like MSIN Based Number Length, MSIN Based Number Value, Number Type, Portability Status, Default/Exception Indicator, Transition Indicator, Extended Match Indicator, Extended Match Length, and corresponding service control data or attributes thereof like Service Control Data Id, Service Control Data Sequence Number, and at least one Range Number Configuration Table serves to store MSIN based range numbers or attributes thereof like MSIN Based Number Start Range Length, MSIN Based Number Start Range Value, MSIN Based Number End Range Length, MSIN Based Number End Range Value, Number Type, Portability Status, Default/Exception Indicator, Transition Indicator, Single Number Flag, and corresponding service control data or attributes thereof like Service Control Data Id, Service Control Data Sequence Number.  
         [0037]     The inventive Signaling application server (SAS) comprises at least one processor, at least one database and at least one processing software for processing at least one application service request, wherein the at least one processing software includes a signaling connection control part (SCCP) process and at least one transaction capabilities application part (TCAP) process to identify at least one application service request, and wherein processing a SAS application service, comprises the steps of: 
        performing an inbound message analysis,     performing a Service Decision including a database search in a common database pool,     performing an Outbound Message Synthesis using at least one Outbound Configuration Table.        
 
         [0041]     The invenitve SS7 signaling server for routing SS7 links, includes a signaling transfer point (STP), and a signaling application server (SAS), 
        wherein the STP has at least one external interface to connect the STP via at least one SS7 link to at least one telecommunications unit, and an internal interface to connect the STP to the SAS,     wherein the SAS comprises at least one processor, at least one database and at least one processing software for processing at least one application service request, wherein processing a SAS application service, comprises the steps of:     performing an inbound message analysis,     performing a Service Decision including a database search in a common database pool,     performing an Outbound Message Synthesis using at least one Outbound Configuration Table, and     wherein the STP is capable to process incoming SS7 messages, to identify a single application service request in one incoming SS7 message, to provide the identified single application service request to the SAS for further processing.        
 
         [0048]     The inventive Service Architecture has a layered structure including a set of software modules, at least: ASTP Dispatcher, SCCP Transcoder, at least one SCCP User Service Distributor, at least two SCCP User Services, wherein at least two types of interactions could be configured: interaction Type A between ASTP Dispatcher and SCCP User Service, wherein the message to be processed is forwarded from the ASTP Dispatcher to the relevant SCCP User Service via SCCP Transcoder and the relevant SCCP User Service Distributor, and interaction Type B 2  between two SCCP User Services assigned to the same SCCP User Service Distributor, wherein the SCCP User Service Distributor forwards the message to be processed to a second SCCP User Service dependent on the result of the outbound message of a first SCCP User Service.  
         [0049]     Interaction Type A serves to process a Service Application request received from the STP. The message to be processed is forwarded to the specific TCAP User Service, in which the processing can be performed. The result of the processing in the TCAP User Service is forwarded to the ASTP Dispatcher which transmits the result to the STP.  
         [0050]     Interaction Type B 1  together with interaction Type A serves to increase the flexibility of processing and to reduce the time required for processing.  
         [0051]     The SAS Service Architecture is thus very flexble and applicable to different kind of services. In one embodiment only TCAP services are processed, in another embodiment TCAP+SCCP services are processed, in another only SCCP services, etc. 
     
    
     BRIEF DESCRIPTION OF THE DRAWINGS  
       [0052]     For a better understanding of the present invention, reference is made to the accompanying drawings, in which:  
         [0053]      FIG. 1  shows the inventive SAS Service Architecture: Overview;  
         [0054]      FIG. 2  shows the SAS Service Architecture Access of Database Pool;  
         [0055]      FIG. 3  shows the Generic Structure of a SAS Application Service;  
         [0056]      FIG. 4  shows the Service Decision part of the SAS Application Service;  
         [0057]      FIG. 5  shows a flowchart of the Database Search part of the Service Decision part;  
         [0058]      FIG. 6  shows a flowchart of the Generic Loop Detection part of the Service Decision part; and  
         [0059]      FIG. 7  shows a flowchart of the Outbound Message Synthesis part of the SAS Application Service. 
     
    
     DETAILED DESCRIPTION OF THE INVENTION  
       [0060]     The preferred embodiments of the present invention are illustrated in  FIGS. 1-16 , like reference numerals being used to refer to like and corresponding parts of the various drawings.  
         [heading-0061]     1. SAS Service Architecture  
         [0062]      FIG. 1  depicts the overview of the SAS Service Architecture. The purpose of this architecture is to provide an extendible framework for the execution of services, which receive, analyse, process and generate SS7 messages. The SAS receives the SS7 messages from a SRF/STP core node. The SAS sends or returns SS7 messages to the SRF/STP core node. The SAS Service Architecture is layered. The layering principle resembles the SS7 protocol architecture.  
         [0063]      FIG. 1  shows the SAS Service Architecture: Overview.  
         [0064]     The ASTP Dispatcher communicates SS7 messages with the SRF/STP core. The SS7 messages are enveloped into a ASTP Header before they are packed into TCP. Examples of SS7 messages are SCCP PDUs, MTP3 PDUs, etc. The ASTP Header contains the following kinds of information: 
        Routing information to identify the physical computing nodes in the SRF/STP Core and the SAS Servers.     Pre-analysis information from the SRF/STP Core. This includes information, which allows the ASTP Dispatcher and the Service Distributors to uniquely identify a single SAS Service.     Analysis information from the SAS to control outbound routing in the SRT/STP Core.     Additional SS7 related information.        
 
         [0069]     The ASTP Dispatcher also communicates with the SAS Services and their underlying protocol entities. The ASTP Dispatcher distributes SS7 messages enveloped into an internal header to the correct Service Distributor. Also, the ASTP Dispatcher receives SS7 messages enveloped into an internal header from the Service Distributors, and then either forwards them to the SRF/STP Core or to another Service Distributor. This decision is based on the information in the internal header. The internal header contains the following information: 
        Pre-analysis information from the SRF/STP Core. This includes information, which allows the ASTP Dispatcher and the Service Distributors to uniquely identify a single SAS Service.     Interim or final result information from the SAS Application Services.        
 
         [0072]     The SCCP Transcoders receive/send SS7 messages enveloped in an internal header from/to the ASTP Dispatcher. The SCCP Transcoders provide to the higher layers access functions for reading and manipulating the following: 
        Internal Header information.     SCCP Header information.     SCCP Payload information.        
 
         [0076]     The SCCP Transcoders are capable to process ITU and ANSI SCCP.  
         [0077]     TCAP is a complete TCAP with ITU and ANSI capabilities. It does the following: 
        Passing through of access functions to Internal Header information.     Passing through of access functions to SCCP Header information.     Analysis of SCCP Payload information:     Processing of TCAP header information.     Access functions to TCAP payload.        
 
         [0083]     The SCCP Service Distributor has the following capability: 
        Triggering of correct SCCP service based on internal header information.     Passing through of access functions to SCCP Header information.     Passing through of access functions to internal header information.        
 
         [0087]     The TCAP User Service Distributors have the following capability: 
        Triggering of correct TCAP User Service based on internal header information.     Passing through of access functions to SCCP Header information.     Passing through of access functions to internal header information.     Access functions to the TCAP payload.     ASN.1 Transcoding, either using a complete or partial ASN.1 transcoder, selected by configuration data.        
 
         [0093]     The types of TCAP User Service Distributors include but are not limited to INAP, MAP, CAP.  
         [0094]     The SAS Services access their respective payload, process it and generate a response. SAS initiated TCAP dialogues are also possible. The general service architecture of a SAS service is specified below.  
         [0095]     The SAS Service Architecture is open. I.e. SS7 capabilities can be integrated such as MTP3 PDUs and SIGTRAN. This implies the integration of additional transcoders, service distributors and services.  
         [heading-0096]     Service Addressing and Routing:  
         [0097]     Each SAS Application Service can execute in multiple instances. Each instance may have a different configuration. Each instance has a unique SAS Application Service Instance Id.  
         [0098]     The Service Distributors contain a configurable service access table. This service access table maps the addressing information of the internal headers to the SAS Application Service Instance Id.  
         [0099]     The ASTP Dispatcher uses the ASTP Header information to identify the correct SCCP or MTP or other low-level transcoder. For this purpose, the ASTP Dispatcher contains a configurable mapping table.  
         [heading-0100]     Interaction Types and Service Concatenation:  
         [0101]     There are several possibilities to interact between the SRF/STP Core and the SAS Application Services.  
         [heading-0102]     Interaction Type A (default type of interaction):  
         [none]    
       
         
           
              The interaction is started outside the SRF/STP and addresses a SAS Application Service. The SAS Application Service generates a response. The response can also be a relay of the SS7 message to another destination.  
              For TCAP User Services, it is also possible that the TCAP User Service initiates the interaction with a node outside the SRF/STP.  
           
         
       
     
         [0105]     All other types of interaction are concatenation types of interaction. I.e. the SS7 message is forwarded from one SAS Application Service to another SAS Application Service together with an interim analysis result. This concatenation is configurable in each SAS Application Service and can occur multiple times. The concatenation principle implies that each SAS Application Service has to be designed in a way, that it does only one task very good. Thanks to the configuration capabilities of SAS Application Services the functionality of this service can be kept on a quite generic level. More complex signalling functions are realised by concatenation of SAS Application Services.  
         [0106]     Interaction Types Bx (concatenation of SAS Application Services on the same Service Distributor): 
        The SS7 message is directly forwarded from one SAS Application Service to another SAS Application Service.     This forwarding can be configured in each SAS Application Service.     During the forwarding, the SS7 message is enveloped into the internal header including internal addressing information and interim result information from the sending SAS Application Service.        
 
         [0110]     Interaction Type C (concatenation of TCAP User SAS Application Services on different Service Distributors): 
        The SS7 message is indirectly forwarded from one SAS Application Service to another SAS Application Service via the TCAP User Service Distributor of the sending SAS Application Service, TCAP, and the TCAP User Service Distributor of the receiving SAS Application Service.     This forwarding can be configured in each SAS Application Service.     During the forwarding, the SS7 message is enveloped into the internal header including internal addressing information and interim result information from the sending SAS Application Service.        
 
         [0114]     Interaction Type D (concatenation of SAS Application Services which have only the ASTP Dispatcher as a common communication protocol entity): 
        The SS7 message is indirectly forwarded from one SAS Application Service to another SAS Application Service via all underlying layer entities including the ASTP Dispatcher.     This forwarding can be configured in each SAS Application Service.     During the forwarding, the SS7 message is enveloped into the internal header including internal addressing information and interim result information from the sending SAS Application Service. 
 
 Access of a Common Database Pool: 
       
 
         [0119]      FIG. 2  shows how the SAS Application Services access a Common Database Pool. The database pool can include one or more logical database. Each logical database serves advantageously a different purpose. Each logical database is designed in a way that it can be accessed by various types of SAS Application Services, always using the same access functions. Examples for logical databases are MNP database, FNP database, etc.  
         [heading-0120]     2. Generic Structure of a SAS Application Service  
         [0121]     Many SAS Application Services have three stages, as follows: 
        Stage 1—Inbound Message Analysis: This stage starts with some service specific inbound protocol checks. Then the auxiliary number parts are analysed. If found and correct, then remove auxiliary number part from received E.164 or MSIN Based number and store it internally. This analysis is done step by step for each possible auxiliary number part. When the analysis of the auxiliary number parts terminates successfully, then the second stage starts.        
 
         [0123]     Each auxiliary number is to be stored in a record containing its name, its position, its value, and its presence. Inbound Processing is configured based on the specification of the received digit string and other application service specific configuration items. 
        Stage 2—Service Decision: Analyse the core part of the received number in the Single Number and Range Number tables. Additional digits might be requested. The Extended Match Indicator is to be used if required. Service Decision includes also Loop Detection. The Service Decision is executed dependent on configuration data items and the Transition Indicator, the Default/Exception Indicator, and the Single Number Flag of the Single Number and Range Number tables.     Stage 3—Outbound Message Synthesis: Depending on the result of this database query and the inbound processing, the response is generated. Outbound processing is configured based on the specification of the digit string to be sent off, the Service Control Data Record, the Number Type and the Portability Status, and other configuration data items.        
 
         [0126]      FIG. 3  depicts the SDL diagram of the Generic Structure of a SAS Application Service.  
         [0127]     The Inbound Message Analysis is quite generic for many SAS Application Services.  
         [0128]     The Service Decision Stage is also quite generic. The Service Decision Stage accesses the SAS Database Pool. The capabilities of the SAS Database Pool are: SAS Number Portability and Flexible Routing. Additional types of database are of course possible.  
         [0129]     Outbound Message Synthesis is very service specific. The general structure of this stage is described below.  
         [heading-0130]     2.1 Service Decision  
         [0131]     For those SAS Application Services that are required to search the E.164 or MSIN Based Tables for routing information, the following principles apply. The search of the E.164 or MSIN Based Tables constitutes the main service decision.  FIG. 4  depicts the SDL diagram of the Service Decision.  
         [0132]     The Evaluation of Database Search Indications is a SAS Application Service specific matter, also the decision whether or not to perform another SAS Database search. The Application Specific Evaluation of DB Search Indications includes for instance actions like requesting additional digits in case the database search came back with an indication that the queried number was AMBIGUOUS. Both, the application specific evaluations and the decision for further database searches, depend on the SAS Application Service&#39;s service logic, configurable items such as “Open/Closed Numbering Plan”, “Block/Single Number Dialling”, “Request More Digits Yes/No”, and other things. Table 6 contains a list of possible results of the database searches including options for corresponding reaction.  
         [0133]     Loop Detection is a mechanism to discover inconsistencies in the received data, which might be caused by a condition that causes the SS7 message to loop through the SS7 network. There are two kinds of loop detection: a generic one and an application specific one. The generic one is specified in detail here. The applications specific ones are specified at the respective SAS Application Services.  
         [heading-0134]     2.1.1 Database Search  
         [0135]      FIG. 5  depicts the SDL diagram of the Database Search in E.164 and MSIN Based Databases.  
         [0136]      FIG. 5  shows a Database Search in E.164 and MSIN Based Single Number and Range Number Tables.  
         [0137]     A Single Number or Range Number Table is considered available when there are entries allocated for this table. A table is considered not available when there are no entries allocated for the table.  
         [0138]     If the Single Number Table is available, then the Single Number Table shall be searched prior to the Range Number Table, if available.  
         [0139]     If the Single Number Table is not available, then the Range Number Table shall be searched, if available.  
         [0140]     If the Single Number Table search indicates NO MATCH or ERROR, then the Range Number Table shall be searched, if available.  
         [0141]     Note: It is up to the individual SAS Application Service to define the routing for when the Single Number Table search result indicates NO MATCH or ERROR.  
         [0142]     If the Single Number Table search indicates a MATCH then the Single Number Table search result shall indicate MATCH.  
         [0143]     Note: It is up to the individual SAS Application Service to define the routing for when the Single Number Table search result indicates MATCH.  
         [0144]     If the Single Number Table is to be searched and the search indicates a partial match (ambiguity), then the Single Number Table search result shall indicate AMBIGUOUS.  
         [0145]     Note: It is up to the individual SAS Application Service to define the routing for when the Single Number Table search result indicates AMBIGUOUS.  
         [0146]     If the Range Number Table is to be searched and the Range Number Table is not available, the Range Number Table search result shall indicate NO MATCH.  
         [0147]     Note: It is up to the individual SAS Application Service to define the routing for when the Range Number Table search result indicates NO MATCH.  
         [0148]     If the Range Number Table is to be searched and the search indicates NO MATCH or ERROR, the Range Number Table search result shall indicate NO MATCH or ERROR.  
         [0149]     Note: It is up to the individual SAS Application Service to define the routing for when the Range Number Table search result indicates NO MATCH or ERROR.  
         [0150]     If the Range Number Table is to be searched and the search indicates a partial match (ambiguity), then the Range Number Table search result shall indicate AMBIGUOUS.  
         [0151]     Note: It is up to the individual SAS Application Service to define the routing for when the Range Number Table search result indicates AMBIGUOUS. In general, if Requesting of More Digits is not enabled, then AMBIGUOUS is mapped to NO MATCH, otherwise more digits are requested.  
         [0152]     The Database Search is done in the Single Number and Range Number tables. The Single Number and Range Number tables refer to the Service Control Data Table. Below are three example tables for the example above as follows: 
        Table 1 presents the E.1 64 Single Number Table.     Table 2 presents the E.164 Range Number Table.     Table 3 presents the Service Control Data Table referenced by the two previous tables.        
 
         [0156]     Please Note, that for space reasons, only three Service Control Data Slots instead of five are presented in the tables.  
                                                             TABLE 1                           E.164 Single Number Table for the Example.       E.164 Single Number Table                                                ault/                 tended             ded             ice             ice             ice       Number   Number   Number             tability   Exception             sition   Match   Match   Control Data   Control Data   Control Data       Length   Value   Type   Status   Indicator   Indicator   Indicator   Length   Slot-0   Slot-1   Slot-2                                       1230001   SISDN   ONPO   Exception   Over             xact                 SCDI-2   —   —                               1230002   SISDN   ONPO   Exception   Not Over             xact                 SCDI-2   —   —                               1230003   SISDN   ONPO   Exception   Over             xact                 SCDI-3                               1230004   SISDN   ONPO   Exception   Not Over             xact                 SCDI-3                               1230001   SISDN   FNPI   Exception   Over             xact                 SCDI-1   SCDI-4   —                               1230002   SISDN   FNPI   Exception   Not Over             xact                 SCDI-1   SCDI-4   —                               1230001   SISDN   FNPI   Exception   Over             xact                 SCDI-1   SCDI-4   —                               1230002   SISDN   FNPI   Exception   Not Over             xact                 SCDI-1   SCDI-4   —                               1230003   SISDN   NP2AFN   Exception   Over             xact                 SCDI-3   —   —                               1230004   SISDN   NP2AFN   Exception   Not Over             xact                 SCDI-3   —   —                               1230003   SISDN   NP2AFN   Exception   Over             xact                 SCDI-2   —   —                               1230004   SISDN   NP2AFN   Exception   Not Over             xact                 SCDI-2   —   —                           ronyms for the Portability Status areas follows:            ONNPO: Own Number Not Ported Out            ONPO: Own Number Ported Out.            FNPI: Foreign Number Ported In.            FNP2AFN: Foreign Number Ported To Another Foreign Network.            FNNK2BP: Foreign Number Not Known To Be Ported.             
 
         [0157]    
       
         
               
             
               
               
               
               
               
               
               
               
               
               
               
               
             
           
               
                 TABLE 2 
               
             
             
               
                   
               
               
                   
               
               
                 E.164 Range Number Table for the Example. 
               
               
                 E.164 Range Number Table 
               
             
          
           
               
                 Number 
                 Number 
                 Number 
                 Number 
                   
                   
                           / 
                   
                           agle 
                           e Control 
                           e Control 
                           e Control 
               
               
                 Start Range 
                 Start Range 
                 End Range 
                 End Range 
                 Number 
                 Portability 
                 Exception 
                           ansition 
                 Number 
                 Data 
                 Data 
                 Data 
               
               
                 Length 
                 Value 
                 Length 
                 Value 
                 Type 
                 Status 
                 Indicator 
                 Indicator 
                 Flag 
                 Slot-0 
                 Slot-1 
                 Slot-2 
               
               
                   
               
               
                 
                           
                 
                           0000000 
                 
                           
                 
                 9999999 
                 SISDN 
                           NNPO 
                           efault 
                           er 
                           nge 
                 CDI-1 
                 CD1-4 
                 — 
               
               
                 
                           
                 
                           0000000 
                 
                           
                 
                 9999999 
                 SISDN 
                           NK2BP 
                           efault 
                           er 
                           nge 
                 CDI-2 
                 — 
                 — 
               
               
                 
                           
                 
                           0000000 
                 
                           
                 
                 9999999 
                 SISDN 
                           NK2BP 
                           efault 
                           er 
                           nge 
                 CDI-3 
                 — 
                 — 
               
               
                   
               
               
                             onyms for the Portability Status are as follows:    
               
               
                   ONNPO: Own Number Not Ported Out    
               
               
                   ONPO: Own Number Ported Out.    
               
               
                   FNPI: Foreign Number Ported In.    
               
               
                   FNP2AFN: Foreign Number Ported To Another Foreign Network.    
               
               
                   FNNK2BP: Foreign Number Not Known To Be Ported.    
               
             
          
         
       
     
         [0158]    
       
         
               
             
               
               
               
               
               
               
             
               
               
               
               
               
               
               
               
               
               
               
             
           
               
                 TABLE 3 
               
             
             
               
                   
               
               
                   
               
               
                 Service Control Data Table for the Example. 
               
               
                 Service Control Data Table 
               
             
          
           
               
                   
                           ce 
                           ce 
                           ce 
                           ce 
                   
               
             
          
           
               
                 
                           
                 
                 Control 
                 Control 
                 Control 
                 Control 
                           ess Info 
                   
                           mber 
                   
                   
                   
               
               
                 Control 
                 Data 
                 Data 
                 Data 
                 Data 
                 Present 
                   
                 ing 
                 Enable 
                 Cut 
                 Cut 
               
               
                 Data Id 
                 Function 
                 Type 
                 Length 
                 Value 
                 Mask 
                 NoAl 
                 Plan 
                 Mask 
                 Offset 
                 Length 
               
               
                   
               
               
                 CDI-1 
                           sert 
                 NRN 
                 
                           
                 
                 17685 
                 Not Present 
                 NULL 
                 NULL 
                           sabled 
                 NULL 
                 NULL 
               
               
                 CDI-2 
                           sert 
                 NRN 
                 
                           
                 
                 17686 
                 Not Present 
                 NULL 
                 NULL 
                           abled 
                 NULL 
                 NULL 
               
               
                 CDI-3 
                           sert 
                 NRN 
                 
                           
                 
                 17687 
                 Not Present 
                 NULL 
                 NULL 
                           abled 
                 NULL 
                 NULL 
               
               
                 CDI-4 
                           place 
                 R-SCA 
                           2 
                 353857000420 
                 Present 
                           ernational 
                 164 
                           sabled 
                 NULL 
                 NULL 
               
               
                   
               
             
          
         
       
     
         [0159]     The Service Control Slots in the Single Number and Range Number tables are for a given configuration always filled with the same type of Service Control Data.  
         [0160]     This is illustrated for our example in Table 4.  
                                 TABLE 4                           Auxiliary Number Table for the Example       Service Control Slots Configuration Table                    Service   Service               Control   Control       SAS Database Id   SAS Database Table Id   Slot Id   Type               MNP E.164 Database 0   E.164 Single Number Table   0   INRN       MNP E.164 Database 0   E.164 Single Number Table   1   HLR-                   SCA       MNP E.164 Database 0   E.164 Single Number Table   2   —       MNP E.164 Database 0   E.164 Single Number Table   3   —       MNP E.164 Database 0   E.164 Single Number Table   4   —       MNP E.164 Database 0   E.164 Range Number Table   0   INRN       MNP E.164 Database 0   E.164 Range Number Table   1   HLR-                   SCA       MNP E.164 Database 0   E.164 Range Number Table   2   —       MNP E.164 Database 0   E.164 Range Number Table   3   —       MNP E.164 Database 0   E.164 Range Number Table   4   —                  
 
 2.1.2 Detection of Loops and other Inconsistencies 
 
         [0162]     Loop detection is provided to prevent signalling loops within the signalling network. Signalling loops may occur when the routing databases in different signalling networks contain inconsistent routing information for network subscribers. The ability to detect signalling loops is defined within the scope of each SAS Application Service and may not be present in all SAS Application Services. Also, the response taken to the detection of a signalling loop is defined within the scope of each SAS Application Service.  
         [0163]     As stated above, there is a Generic Loop Detection mechanism, which applies to many SAS Application Service, and there are SAS Application Service specific Loop Detection mechanisms. The Generic Loop Detection mechanism is in detail specified here. The SAS Application Service specific Loop Detection mechanisms are outlined here and are specified at the respective SAS Application Service.  
         [heading-0164]     2.1.2.1 Generic Loop Detection Analysis  
         [0165]     The generic mechanism for the detection of signalling loops is a two step process and requires the co-operation of the underlying switched network in order to succeed. First, the underlying switched network will pass any received Inter-Network Routing Number to the SAS as part of the concerned address (i.e. the SCCP Called Party Address GTAI). This first step signals the SAS Loop Detection algorithm that the signalling message has originated outside of the current signalling network. Secondly, the E.164 database(s) search must resolve to a combination of the pair (E.164 Number Type, Portability Status) that is marked as a candidate for looping. With these two criteria met, the signalling loop is detected.  
         [0166]     This implies, that there has to be configuration table which indicates for each pair (E.164 Number Type, Portability Status), whether loop detection is to be enabled or not.  
         [0167]     As a temporary relaxation of the SAS Loop Detection, the Transition Time capability was introduced. This provides a synchronisation period for recent database updates. If the Transition Indicator is marked “Transition Time is not yet over”, then the SAS Loop Detection is either bypassed or relaxed.  
         [0168]      FIG. 6  depicts the SDL diagram of the Generic Loop Detection Analysis.  
         [0169]     If an INRN is not present in the Input Digit String, then a signalling loop shall not be detected.  
         [0170]     If an INRN is present in the Input Digit String, then a signalling loop shall be detected.  
         [0171]     If the SAS General Loop Detection State is configured disabled, then a signalling loop shall not be detected.  
         [0172]     If the SAS General Loop Detection State is configured enabled, then a signalling loop shall be detected.  
         [0173]     If the SAS Application Service does not perform INRN Based Generic Loop Detection, then a signalling loop shall not be detected.  
         [0174]     If the SAS Application Service performs INRN Based Generic Loop Detection, then a signalling loop shall be detected.  
         [0175]     If the SAS Database Table uses Transition Time, then the current value of the Transition Indicator shall be queried in the entry found in the Single Number or Range Number table.  
         [0176]     If the SAS Database Table does not use Transition Time, then a signalling loop shall be detected.  
         [0177]     If the Transition Indicator of the entry found in the Single Number or Range Number table indicates that the subscriber is in transition, then a signalling loop shall not be detected.  
         [0178]     If the Transition Indicator of the entry found in the Single Number or Range Number table indicates that the subscriber is not in transition, then a signalling loop shall be detected.  
         [0179]     If the database search criteria do not indicate a MATCH, then a signalling loop shall not be detected.  
         [0180]     If the database search criteria indicate a MATCH, then a signalling loop shall be detected.  
         [0181]     If the pair (Number Type, Portability Status) of the entry found in the Single Number or Range Number table does not support looping, then a signalling loop shall not be detected.  
         [0182]     If the pair (Number Type, Portability Status) of the entry found in the Single Number or Range Number table supports looping, then a signalling loop shall be detected.  
         [0183]     If an Inter-Network Routing Number was received in the concerned address, and the received INRN is equal to the INRN found in the SAS database, then a signalling loop shall not be detected.  
         [0184]     If an Inter-Network Routing Number was received in the concerned address, and the received INRN is not equal to the INRN found in the SAS database, then a signalling loop shall be detected, plus a configured loop detection action has to be performed.  
         [0185]     The Generic Loop Detection makes use of the Loop Detection Status and Action Configuration Table. Table 5 shows possible values for our example.  
         [0186]     Note: the current implementation of Loop Detection executes only if the Outbound Processing Configuration Data entry refers to a Service Control Slot, which contains an INRN.  
                                         TABLE 5                           Loop Detection Status And Action Configuration Table for the Example.       Loop Detection Status And Action Configuration Table            Application   SAS Database   AS Database             ber             bility   Detection State       Service Id   Id   Table Id   Type   Status   And Action               NAP-O-VM-IW   NP E.164 Database 0   164 Single Number Table             SISDN   ONNPO   Disabled       NAP-O-VM-IW   NP E.164 Database 0   164 Single Number Table             SISDN   ONPO   Discard, Counter       NAP-O-VM-IW   NP E.164 Database 0   164 Single Number Table             SISDN   FNPI   Discard, Counter       NAP-O-VM-IW   NP E.164 Database 0   164 Single Number Table             SISDN   NP2AFN   Discard, Counter       NAP-O-VM-IW   NP E.164 Database 0   164 Single Number Table             SISDN   NNK2BP   Disabled       NAP-O-VM-IW   NP E.164 Database 0   164 Range Number Table             SISDN   NNPO   Discard, Counter       NAP-O-VM-IW   NP E.164 Database 0   164 Range Number Table             SISDN   ONPO   Disabled       NAP-O-VM-IW   NP E.164 Database 0   164 Range Number Table             SISDN   FNPI   Disabled       NAP-O-VM-IW   NP E.164 Database 0   164 Range Number Table             SISDN   NP2AFN   Disabled       NAP-O-VM-IW   NP E.164 Database 0   164 Range Number Table             SISDN   NNK2BP   Discard, Counter                           ronyms for the Portability Status are as follows:            ONNPO: Own Number Not Ported Out            ONPO: Own Number Ported Out.            FNPI: Foreign Number Ported In.            FNP2AFN: Foreign Number Ported To Another Foreign Network.            FNNK2BP: Foreign Number Not Known To Be Ported.             
 
 2.1.2.2 Outline of SAS Application Service Specific Loop Detection Mechanisms 
 
         [0188]     SAS Application Service Specific Loop Detection and detection of inconsistencies can be performed on the following principles (as soon as the principles are more precisely defined, respective configuration data items are introduced): 
        If the network in which the A5070 SSE is located, can never be the transit network in a Number Portability scenario, then the received INRN must always be an own INRN:     Reception of an INRN, which is not an own INRN, results in a detected loop.     There has to be a configuration data item “Own INRNs”, which specifies the list of the operator&#39;s own INRNs.     Further checks on the received INRN are possible depending of other particular network conditions.     Loop Detection is dependent on the Routing Principle in the network of the operator and in the portability domain:     All networks in the portability domain implement the same routing mechanism. Four cases have to be distinguished:     Direct Routing.     Indirect Routing.     Indirect Routing with Reference to the Subscription Network.     One of above three options as special value for each Nat1 range in the portability domain.     Each network in the portability domain defines its own routing mechanism for number portability traffic. In this case, only the routing mechanism of the own network is known:     Direct Routing.     Indirect Routing.     Indirect Routing with Reference to the Subscription Network.     One of above three options as special value for each Nat1 range in the portability domain.        
 
         [0204]     Whether or not the routing applies to all numbers or to specific Nat1 ranges, the actual relevant information for loop detection is always one of the three values “Direct Routing”, “Indirect Routing”, or “Indirect Routing with Reference to the Subscription Network”.  
         [heading-0205]     2.1.3 Errors, Exceptions and Indications of the Database Search and the Generic Loop Detection Analysis  
         [0206]     Table 6 lists all errors, exceptions, and indications, which can be generated during Database Search and Generic Loop Detection Analysis. Each table entry contains the respective error/exception/indication item together with its origin, the location where it has to be treated and a comment. The comment concentrates on the action to be done in the location where the respective item has to be treated.  
                                 TABLE 6                           Table of Errors, Exceptions and Indications of the Database Search and       the Generic Loop Detection Analysis.       Table of Errors, Exceptions and Indications of the Database Search and       the Generic Loop Detection Analysis                              tion where Error/                     /Exception/                 tion/Indication has to                 ation Name             in             andled             ment                         on: “MATCH in Single             ase Search             plication Service.             e reactions of SAS Application Service: depending                             figurations items:                   Continue with Generic Loop Detection                             s.                   Continue with Outbound Message Synthesis.                 on: “AMBIGUOUS in Single             ase Search             plication Service.             e reactions of SAS Application Service: depending                             figuration items:                   Request more digits and start with the new                             of digits again at Inbound Message Analysis.                   Interpret AMBIGUOUS as NO MATCH and                             e with the respective behaviour.                 on: “NO MATCH in Single             ase Search             plication Service.             e reactions of SAS Application Service: depending                             figuration items:                   Continue with Range Number Table query.                   Continue with Outbound Message Synthesis.                 on: “Error in Single Table             ase Search             plication Service.             e reactions of SAS Application Service: depending                             figuration items:                   Continue with Range Number Table query.                   Continue with Outbound Message Synthesis.                 on: “MATCH in Range             ase Search             plication Service.             e reactions of SAS Application Service: depending                             figuration items::                   Continue with Generic Loop Detection                             s.                   Continue with Outbound Message Synthesis.                 on: “AMBIGUOUS is Range             ase Search             plication Service.             e reactions of SAS Application Service: depending                             figuration items:                   Request more digits and start with the new                             of digits again at Inbound Message Analysis.                   Interpret AMBIGUOUS as NO MATCH and                             e with the respective behaviour.                 on: “NO MATCH in Range             ase Search             plication Service.             e reactions of SAS Application Service:                   Continue with Outbound Message Synthesis.                 on: “Error in Range Table”.             ase Search             plication Service.             e reactions of SAS Application Service:                   Continue with Outbound Message Synthesis.                 on: “Signalling Loop   c Loop Detection             plication Service.             e reactions of SAS Application Service:                 ed.”             s       Continue with configurated Loop Detection                 on: “Signalling Loop Not             c Loop Detection             plication Service.             e reactions of SAS Application Service:                 ed.”             s       Continue with Application Specific Loop                             on Analysis.                  
 
 2.2 Outbound Message Synthesis 
 
         [0208]     From all three stages, Outbound Message Synthesis is the one, which has the most application specific properties. However, there are configuration data items, which occur for each SAS Application Service. In general, Outbound Message Synthesis takes the result of Stage 2—Service Decision—and constructs the outbound response message.  FIG. 7  specifies the generic aspects of the Outbound Message Synthesis.  
         [0209]     Configuration tables control Outbound Message Synthesis. The configuration tables of the Outbound Message Synthesis are illustrated by an example. The SAS Application Service is the same as the one used above: MNP-INAP With Optional Voice Mail Inter-working.  
         [0210]     An Output Address includes the triple (NoA1, Numbering Plan, Digit String). The Output Digit String Configuration Table specifies the necessary output digit strings of the SAS Application Service, including a NoA 1  value. The value for Numbering Plan is implicitly present in the service logic of the SAS Application Service. Memory has to be allocated for the digit string elements of the Output Digit String Configuration Table, plus for Nat1 and Nat2 or Nat.  
                                         TABLE 1                           Definition of the Output Digit String Configuration Table for the Example.       Output Digit String Configuration Table            Application             ut Digit             art Number             ature of Address             uxiliary Number             uxiliary Number       Service Id   String Id   Name   Indicator   Presence   Position               AP-O-VM-IW   1   INRN   Subscriber   Modified Input   Prefix-0       AP-O-VM-IW   1   Natl1   Subscriber   Copy Input   Nat1       AP-O-VM-IW   1   VMSC-INI   Subscriber   Copy Input   Infix-0       AP-O-VM-IW   1   Nat2   Subscriber   Copy Input   Nat2                  
 
         [0211]    
       
         
               
             
               
               
               
               
             
           
               
                 TABLE 8 
               
             
             
               
                   
               
               
                   
               
               
                 Output Digit String To Protocol Element Mapping Table 
               
               
                 for Table 7. 
               
               
                 Output Digit String To Protocol Element Mapping Table 
               
             
          
           
               
                 SAS 
                 Output Digit 
                 Protocol 
                 Output Digit 
               
               
                 Application Service Id 
                 String Id 
                 Element Id 
                 String Option 
               
               
                   
               
               
                 MNP-INAP-O-VM-IW 
                 1 
                 INAP Connect 
                 1 
               
               
                   
                   
                 DRA 
               
               
                   
               
             
          
         
       
     
         [0212]    
       
         
               
             
               
               
               
             
           
               
                 TABLE 9 
               
             
             
               
                   
               
               
                   
               
               
                 Output Digit String To Protocol Element Mapping Table 
               
               
                 for Table 7. 
               
               
                 Input Digit String To Output Digit String Mapping Table 
               
             
          
           
               
                 SAS Application Service Id 
                 Output Digit String Id 
                 Input Digit String Id 
               
               
                   
               
               
                 MNP-INAP-O-VM-IW 
                 1 
                 1 
               
               
                 MNP-INAP-O-VM-IW 
                 1 
                 2 
               
               
                 MNP-INAP-O-VM-IW 
                 1 
                 3 
               
               
                 MNP-INAP-O-VM-IW 
                 1 
                 4 
               
               
                   
               
             
          
         
       
     
         [0213]     The SAS Application Service Specific Outbound Processing Configuration Table for Normal and Abnormal Completion contains up to 10 Response Actions. One or more of these Response Actions can be used to insert configured values at defined positions in the output digit string.  
                                             TABLE 10                           Definition of the SAS Application Service Specific Outbound Processing       Configuration Table for the Example - Normal Completion.       SAS Application Service Specific Outbound Processing Configuration Table - Normal Completion            Application             ber             bility             esponse             ice Control Data             ut Digit             re of Address       Service Id   Type   Status   Action Id1   Slot Id   String Id   Indicator               NAP-O-VM-IW             SISDN   ONNPO   INAP Continue Operation   None.   None.   NULL       NAP-O-VM-IW             SISDN   ONPO   INAP Connect Operation   0 [INRN]   1   Subscriber       NAP-O-VM-IW             SISDN   FNPI   INAP Connect Operation   0 [INRN]   1   Subscriber       NAP-O-VM-IW             SISDN   NP2AFN   INAP Connect Operation   0 [INRN]   1   Subscriber       NAP-O-VM-IW             SISDN   NNK2BP   INAP Connect Operation   0 [INRN]   1   Subscriber                           ronyms for the Portability Status are as follows:            ONNPO: Own Number Not Ported Out            ONPO: Own Number Ported Out.            FNPI: Foreign Number Ported In.            FNP2AFN: Foreign Number Ported To Another Foreign Network.            FNNK2BP: Foreign Number Not Known To Be Ported.             
 
         [0214]                                              TABLE 11                           Definition of the SAS Application Service Specific Outbound Processing       Configuration Table for the Example - Abnormal Completion.       SAS Application Service Specific Outbound Processing Configuration Table - Abnormal Completion            Application   Application Specific   Response   Response             ut Digit             re of Address       Service Id   Normal Condition Id   Action Id1   Action 1d2   String Id   Indicator               NAP-O-VM-IW   NO MATCH   INAP Continue Operation   None.   None.   NULL       NAP-O-VM-IW   Error1             end INAP Release Call   Release Call Cause n   None.   NULL               Operation                    
 2.2.1 Generic Outbound Actions 
 
         [0216]     This sub-chapter specifies Outbound Actions, which can be used by multiple SAS Application Services.  
         [0217]     Each set of Outbound Actions is triggered by a value pair (Number Type, Portability Status) of the Single Number or Range Number tables.  
         [heading-0218]     2.2.1.1 Digit Preparation in Outbound Digit String  
         [0219]     The generic outbound action “Digit Preparation in Outbound Digit String” manipulates the output digit string or a part of it according to the specification in Table 18.  
         [heading-0220]     3. Configuration of Loop Detection and Outbound Message Synthesis Configuration Items for Loop Detection:  
         [0221]     There shall be a configuration data item “Perform INRN Based Generic Loop Detection” with the possible values YES and NO. Perform INRN Based Generic Loop Detection indicates whether or not the INRN Based Generic Loop Detection shall be used in the loop detection algorithm within the Service Decision phase of the respective SAS Application Service.  
         [0222]     The received INRN might indicate a loop if it is not identical to the INRN found as a result of the query against the Single Number table and Range Number table.  
         [0223]     The name of this configuration data item is  
         [0224]     SasApplicationServicePerformInrnBasedGenericLoopDetection. The syntax is: 
        SasApplicationServicePerformlnrnBasedGenericLoopDetection=SasApplicationServiceld, InputDigitStringld, PerformlnrnBasedGenericLoopDetection.     SasApplicationServiceld is any SAS Application Service Id.     InputDigitStringld is any Input Digit String Id.     PerforminrnBasedGenericLoopDetection is an enumerated data type with values YES and NO.        
 
         [0229]     There shall be a configuration data item “Slot Id of INRN” with a valid Service Control Data Slot Id as value. “Slot Id of INRN” identifies the Service Control Data Slot in the found entry of the Single Number or Range Number table from which the INRN has to be retrieved in order to compare the found INRN with the received INRN within INRN based Loop Detection.  
         [0230]     The received INRN might indicate a loop if it is not identical to the INRN found as a result of the query against the Single Number table and Range Number table.  
         [0231]     The name of this configuration data item is SasApplicationServiceSlotIdOfInrn. The syntax is: 
        SasApplicationServiceSlotIdOfInrn=SasAppliationServiceld, SlotIdOfInrn.     SasApplicationServiceld is any SAS Application Service Id.     SlotIdOfInrn is a valid encoding of Service Control Data Slot Id.        
 
         [0235]     There may be additional other types of loop detection or detection of various kinds of inconsistent data in the input digit strings, which might be enabled or disabled for a specific SAS Application Service in the same way, depending on the respective configuration data item. As soon as they are precisely defined additional configuration data items will be introduced.  
         [0236]     There shall be a configuration table, which configures whether loop detection is enabled or disabled depending on each allowed value pair (E.164 Number Type, Portability Status) or (MSIN Number Type, Portability Status) of the respective single number or range number table. If Loop Detection is enabled, then an action has to be defined, which specifies what has to be done with the looping SS7 message.  
                                 TABLE 12                           Details of the Loop Detection Status Configuration Table       Loop Detection Status And Action Configuration Table                      oute             at             es             ription                         plication Service Id                 lid SAS Application             y Key.               Service                 tabase Id                 lid SAS DAtabase Id             y Key.                 tabase Table Id                 lid SAS DAtabase Table Id             y Key.                 er Type                 lid encoding of Number             y Key.                 lity Status                 lid encoding of Portability             y Key.                 etection State and                 lid encoding of Loop             e values are                         on State and Action   “Disabled”,                   “Enabled: Discard                   Message”, etc.                  
 
         [0237]     There shall be a configuration data item “Use Transition Time” with the possible values YES and NO. Use Transition Time indicates whether or not the Transition Indicator of the single number or range number tables shall be used in the loop detection algorithm within the Service Decision phase of the respective SAS Application Service.  
         [0238]     The name of this configuration data item is SasDbTableUseTransitionTime. The syntax is: 
        SasDbTableUseTransitionTime=SasDbTableld, UseTransitionTime.        
 
         [0240]     SasDbTableld is any SAS Database Table Id (details to be defined).  
         [0241]     UseTransitionTime is an enumerated data type with values YES and NO.  
         [heading-0242]     Configuration Items for Outbound Digits Synthesis:  
         [0243]     Each SAS Application Service shall have a configuration data item, which specifies the structure of each possible output digit string on the basis of its general abstract structure. Each output digit string is associated to a protocol parameter to which it is sent. It is even possible to associate more than one output digit string to a given protocol parameter. The structure of the output digit string is specified by the list of its auxiliary numbers. The following information shall be specified for each output digit string. Table 13 presents the information necessary to specify an input digit string. Table 14 specifies the mapping between the Input Digit String to the Output Digit String. Table 15 specifies the mapping between the Output Digit String and the Protocol Element.  
                                 TABLE 13                           Details of the Output Digit String Configuration Table       Output Digit String Configuration Table                      oute             at             es             ription                         plication                 lid SAS Application Service             y Key.       Service Id       Digit String Id                 lid Input Digit String Id             y Key. SAS Application Service specific encoding. Multiple output digit                   per Protocol Element are possible. If multiple output digit strings are                             ed, then usage of each output digit string may be associated with a specific                             on. It is a matter of the SAS Application Service how the association of a                             on is mapped to a specific output digit string.                 ry Number Name                 lid encoding of Service             y Key. An output digit string is defined by the explicit list of its Head parts,                         l Data Type.             gCore and its Tail parts, identified by the respective names listed in the               CC, INRN, OwnINRN,             ng of the common mnemonics encoding of the Service Control Data Type               INP, SMSC-INP, VMSC-INI,             e Auxiliary Number Name. It is possible in the Output Digit String, that any               INI, P, MCC, MNC, NC,             om the Input Digit String can be explicitly manipulated by the service logic.               EC, Nat1, NDC, Nat2, SN,             rious types of Auxiliary Numbers and Core Part Numbers identified by                         e, NotAllowed, Opaque.             ame —have the following structure (as far as known today):                   CC: 1-3 hex digits.                   All others have 1 or more hex digits, depending on the customer&#39;s                             k.                             cular meaning has the following value:                   NotAllowed: If an Auxiliary Number has this name, then the                             ive Output Digit String for a particular NoAl value is not allowed. The                             ry Number Presence is Always in this case, and the Auxiliary Number                             is Head-0. The Output Digit String must include this Auxiliary Item only.                   Opaque: If an Auxiliary Number has this name, then the respective                   Digit String for a particular NoAl value will include a value derived from                             vice Control Data Table as a replacement value. No structure of the Output                             ring needs to be known in this case. The Output Digit String must include                             xiliary Item only, in position Head-0.                             lue. “NotAllowed” is necessary, even in the combination with the Allowed                   of NoAl Configuration Table. Reason: there may be more than one option                             ut digit string for a given NoAl value, and in each option the allowed digit                   for a given NoAl value differ.                             e of this parameter for the service logic of the SAS Application Service: This                   name is used to define each entity in the outbound digit string. The                             ship between corresponding entities in the input digit string and the output                             ing is defined on the basis of the Auxiliary Number Name.       Title Indicator                 o Global Title (GT) included             tribute is used in order to specify Input Digit Strings also dependent on the                         ess.   addition to the dependence on the NoAl.                         T in Address includes only   SCCP Standard, the Global Title Indicator is represented as a 4 bit value. In                         T includes only TT.             ernal representation a 1 byte value is used in order to represent additional                         T includes TT, NP, ES.             l values:                         T includes TT, NP, ES, NoAl.   14 h is used to specify that the actual receive GTI may either be 1 or                         : Spare International.             makes sense as both have NoAl, and an operator may have chosen to                         : Spare National.   the same digit string structure for both values of GTI.                         eserved for extension.   23 h is used to specify that the actual receive GTI may either be 2 or                         : Internal Spare.             makes sense as both do not have NoAl, and an operator may have                         TI = 1 or 4.             to define the same digit string structure for both values of GTI.                         : Internal Spare.   FEh: GTI may also be used in the Output Digit String. This value                         TI = 2 or 3.             es, that the GTI shall be copied from the corresponding Input Digit String.                         : Internal Spare.   FFh: The GTI is not used in all TCAP user addresses.                         opy GTI from Input Digit                         TI is not used                 of Address                 lid protocol specific             l value may be associated with a structure definition of an output digit                 or                 ng of the Nature of Address             NoAl in protocols has up to 7 bit for its encoding. Therefore, the value FFh                         or.             as NULL value for this attribute, which means that no NoAl value is                             ted with this particular output digit string.                 tion Type                 o Not Use             tribute indicates whether or not the Translation Type shall be used in the       Control                     ed Output Digit String.                 tion Type                 lid protocol specific             slation Type value may be associated with a structure definition of an                         ng of the Translation Type   digit string.                 ry Number       From Input, Modify Input             esence of the auxiliary number. For the output digit string, the semantics is       Presence                 ervice Control, Always as             ws:                         ement From Service   Copy From Input: Copy from corresponding input digit string                         , Sometimes as New             nt. If the corresponding input digit string element was actually not present,                         nt From Service Control,             put digit string element is empty.               as New Element From Static   Modify Input With Service Control: Modification of the corresponding                         uration.             igit string element. The modification is controlled by the respective Service                             l Data item in combination with the pair (Number Type, Portability Status)                   found entry in the Single Number or Range Number table.                   Always as New Element From Service Control: Always present as a                             ement, which was not yet present in the input digit string. The value is                             d from the respective Service Control Data item, possibly in combination                             e pair (Number Type, Portability Status) of the found entry in the Single                             er or Range Number table. If an Auxiliary Number which is specified to be                             present as a mew element, is not actually present, an error has to be                             ed.                   Sometimes as New Element From Service Control: Sometimes                             t as a new element, which was not yet present in the input digit string. The                             is derived from the respective Service Control Data item, possibly in                             ation with the pair (Number Type, Portability Status) of the found entry in                             gle Number or Range Number table.                   Always as New Element From Static Configuration: Always present                             ew element, which was not yet present in the input digit string. The value is                             d from static configuration data for this particular SAS Application Service.                             e of this parameter for the service logic of the SAS Application Service: this                             e allows to generate an error, if an Always present optional digit string is                             sent in the output digit string.                 ry Number                 lid encoding of Auxiliary             e values are Head-0 to Prefix-31, and Tail-0 to Tail-31.       Position                 er Position.             e of this parameter for the service logic of the SAS Application Service:                             es the correct position of this entity in the output digit strings.                 An empty table for a given output digit string is not allowed, at least Opaque or something similar has to be specified.                      SAS Application Service accesses an Output Digit String by means of the following four key attributes: SAS Application Service Id, Protocol          t Id, Input Digit String Id, Nature of Address Indicator. The key attribute Auxiliary Number Name does not need to be used as it specifies the          ive Auxiliary Numbers in the output digit string.            For each Input Digit String, which might be used in an Output Digit String, there has to be a dedicated definition of Output Digit String. It can          sible, that the one and the same structure of Output Digit String is defined for multiple Input Digit Strings.             
 
         [0244]    
       
         
               
             
               
               
               
               
             
           
               
                 TABLE 14 
               
             
             
               
                   
               
               
                   
               
               
                 Details of the Input Digit String To Output Digit String Mapping Table 
               
               
                 Input Digit String To Output Digit String Mapping Table 
               
             
          
           
               
                           oute 
                           at 
                           es 
                           ription 
               
               
                   
               
               
                           plication Service ID 
                   
                           lid SAS Application Service 
                           y Key. 
               
               
                 Digit String Id 
                   
                           lid Input Digit String Id 
                           y Key. SAS Application Service specific encoding. Multiple output digit 
               
               
                   
                   
                   
                 per Protocol Element are possible. If multiple output digit strings are 
               
               
                   
                   
                   
                           ed, then usage of each output digit string may be associated with a specific 
               
               
                   
                   
                   
                           on. It is a matter of the SAS Application Service how the association of a 
               
               
                   
                   
                   
                           on is mapped to a specific output digit string. 
               
               
                 Digit String Id 
                   
                           lid Input Digit String Id 
                           Key to the Input Digit String from which this Output Digit String is 
               
               
                   
                   
                   
                           ed with values. SAS Application Service specific encoding. Only one Input 
               
               
                   
                   
                   
                           ring per Output Digit String is possible. 
               
               
                   
               
               
                             he relationship between Input Digit String and Output Digit String is many-to-many.    
               
             
          
         
       
     
         [0245]    
       
         
               
             
               
               
               
               
             
           
               
                 TABLE 15 
               
             
             
               
                   
               
               
                   
               
               
                 Details of the Input Digit String To Protocol Element Mapping Table 
               
               
                 Output Digit String To Protocol Element Mapping Table 
               
             
          
           
               
                           oute 
                           at 
                           es 
                           ription 
               
               
                   
               
               
                           plication Service Id 
                   
                           lid SAS Application Service 
                           y Key. 
               
               
                 Digit String Id 
                   
                           lid Input Digit String Id 
                           y Key. SAS Application Service specific encoding. Mutiple output digit 
               
               
                   
                   
                   
                 per Protocol Element are possible. If multiple output digit strings are 
               
               
                   
                   
                   
                           ed, then usage of each output digit string may be associated with a specific 
               
               
                   
                   
                   
                           on. It is a matter of the SAS Application Service how the association of a 
               
               
                   
                   
                   
                           on is mapped to a specific output digit string. 
               
               
                           l Element Id 
                   
                           lid Protocol Element Id 
                           pplication Service specific encoding. A protocol element is for instance a 
               
               
                   
                   
                   
                           eter of a service primitive. For a given protocol element one or more output 
               
               
                   
                   
                   
                           ings are possible. 
               
               
                 Digit String Option 
                   
                           Integer 
                           quence number of the Output Digit String Option. For each protocol 
               
               
                   
                   
                   
                           t, it is possible to define multiple Output Digit Strings. 
               
               
                   
               
             
          
         
       
     
         [0246]     A single output digit sting shall be able to be selected—based on its Id—from a set of possible output digit strings. The selection is done based on the value combination of (E.164/MSIN Number Type, Portability Status). A table has to be present to specify this configuration data.  
         [0247]     It shall be possible to specify which Service Control Slot (i.e. Service Control Data Sequence Number) of the found entry in the single number or range number table is to be used in the outbound processing depending on the value combination of (E.164 Number Type, Portability Status). A table has to be present to specify this configuration data. The some principle can in the future be applied to other number parts as well.  
         [0248]     It shall be possible to specify which action is to be done in the outbound digit processing depending on the value combination of (E.164 Number Type, Portability Status). Possible actions are the type of message to be used, etc. A table has to be present to specify this configuration data. The same principle can in the future be applied to other number parts as well.  
                                 TABLE 16                           Details of the SAS Application Service Specific Outbound Processing       Configuration Table - Normal Completion       SAS Application Service Specific Outbound Processing Configuration Table -       Normal Completion                      oute             at             es             ription                         plication Service Id                 lid SAS Application Service             y Key.                 r Type                 lid encoding of Number             y Key.                 lity Status                 lid encoding of Portability             y Key.                 d NoAl Value                 lid encoding of NoAl plus             y Key.                         for ignoring this attribute.             SAS Application Services need to take the NoAl value of the Inbound                             s into account to determine the Outbound Action. The NoAl value to be                             ere is the one of this Inbound Address for which the database search in the                             Decision phase was done.                             ttribute is to be ignored during Outbound Processing, it has to be filled                             FFh.                 se Action Id 1                 lid Response Action             ng is SAS Application Service specific. NULL value is FFh.                 se Action Id 2                 lid Response Action             ng is SAS Application Service specific. NULL value is FFh.                 se Action Id 3                 lid Response Action             ng is SAS Application Service specific. NULL value is FFh.                 se Action Id 4                 lid Response Action             ng is SAS Application Service specific. NULL value is FFh.                 se Action Id 5                 lid Response Action             ng is SAS Application Service specific. NULL value is FFh.                 se Action Id 6                 lid Response Action             ng is SAS Application Service specific. NULL value is FFh.                 se Action Id 7                 lid Response Action             ng is SAS Application Service specific. NULL value is FFh.                 se Action Id 8                 lid Response Action             ng is SAS Application Service specific. NULL value is FFh.                 se Action Id 9                 lid Response Action             ng is SAS Application Service specific. NULL value is FFh.                 se Action Id 10                 lid Response Action             ng is SAS Application Service specific. NULL value is FFh.                 Control Data Slot                 lid encoding of Service                         l Data Slot Id                 Digit String Id                 lid Input Digit String Id             foreign key into the Structure of Output Digit String Configuration Table.                             plication Service specific encoding. Multiple output digit strings per                             ol Element are possible.                 of Address                 valid protocol specific             foreign key into the Structure of Output Digit String Configuration Table.                 or                 ng of the Nature of Address             n protocols has up to 7 bit for its encoding. Therefore, the value FFh is                         or.             s NULL value for this attribute. Per input digit string, the NoAl has to be                             ered. Therefore, per Input Digit String Id, multiple NoAls are possible. For                             oAI of an Input Digit String Id, an input digit string has to be defined.                           ng of NoAl values in the outbound processing: the NoAl value of the output digit string can be determined from the following four sources:            The input digit string corresponding to the output digit string,            The selected entry of the Service Control Data table,            The output digit string, or            The SAS Application Service Specific Outbound Processing Configuration Table - Normal Completion (this table).                      Al in this table overrules the other three. If the NoAl value in this table is NULL, then the NoAl value of the selected output digit string has to          d. If the NoAl value of the selected output digit string is NULL, then the NoAl value of the selected entry of the Service Control Data Table has          sed. If this entry does not support a NoAl value, then NoAl value of the corresponding input digit string has to be used.             
 
         [0249]     Table 16 Contains the application specific outbound processing in case an entry was found in the Single Number or Range Number Table. However, it is possible that no entry is found in both tables. This abnormal outbound processing is contained in Table 17.  
                                 TABLE 17                           Details of the SAS Application Service Specific Outbound Processing       Configuration Table - Abnormal Completion       SAS Application Service Specific Outbound Processing Configuration Table -       Abnormal Completion                      oute             at             es             ription                         plication Service Id                 lid SAS Application Service             y Key.                 plication Specific                 lid encoding of SAS             y Key.                 al Condition Id                 ation Specific Abnormal             tly, the following possible values are defined.                         ion Id   Number Not Found: i.e. the extracted received number was not                             the Single Number Table nor in the Range Number Table.                   SAS Database Error: this is any kind of SAS database error. The                             nd handling in this case will similar to the one of Number Not Found. In                             n an error report will be generated in order to trigger corrective action for                             abase.                 se Action Id 1                 lid Response Action             ng is SAS Application Service specific. NULL value is FFh.                 se Action Id 2                 lid Response Action             ng is SAS Application Service specific. NULL value is FFh.                 se Action Id 3                 lid Response Action             ng is SAS Application Service specific. NULL value is FFh.                 se Action Id 4                 lid Response Action             ng is SAS Application Service specific. NULL value is FFh.                 se Action Id 5                 lid Response Action             ng is SAS Application Service specific. NULL value is FFh.                 se Action Id 6                 lid Response Action             ng is SAS Application Service specific. NULL value is FFh.                 se Action Id 7                 lid Response Action             ng is SAS Application Service specific. NULL value is FFh.                 se Action Id 8                 lid Response Action             ng is SAS Application Service specific. NULL value is FFh.                 se Action Id 9                 lid Response Action             ng is SAS Application Service specific. NULL value is FFh.                 se Action Id 10                 lid Response Action             ng is SAS Application Service specific. NULL value is FFh.       Digit String Id                 lid Input Digit String Id             foreign key into the Structure of Output Digit String Configuration Table.                             plication Service specific encoding. Multiple output digit strings per                             l Element are possible.                 of Address                 valid protocol specific             foreign key into the Structure of Output Digit String Configuration Table.                 or                 ng of the Nature of Address             n protocols has up to 7 bit for its encoding. Therefore, the value FFh is                         or.             s NULL value for this attribute. Per input digit string, the NoAl has to be                             ered. Therefore, per Input Digit String Id, multiple NoAls are possible. For                             oAI of an Input Digit String Id, an input digit string has to be defined.                           ng of NoAl values in the outbound processing: the NoAl value of the output digit string can be determined from the following four sources:            The input digit string corresponding to the output digit string,            The selected entry of the Service Control Data table,            The output digit string, or            The SAS Application Service Specific Outbound Processing Configuration Table - Abnormal Completion (this table).                      Al in this table overrules the other three. If the NoAl value in this table is NULL, then the NoAl value of the selected output digit string has to          d. If the NoAl value of the selected output digit string is NULL, then the NoAl value of the selected entry of the Service Control Data Table has          sed. If this entry does not support a NoAl value, then NoAl value of the corresponding input digit string has to be used.                      eral, the following kinds of response actions are obvious:            Return Message to Sender.            Return Error to Sender.            Forward Message to the Recipient to whom it would be routed without intervention of SAS.            Forward Message to configured Recipient.            Discard Message.             
 
         [0250]     Table 18 contains the SAS Application Service Specific Outbound Digit String Preparation Configuration Table. This Configuration Table configures the generic Outbound Action “Digit Preparation in Outbound Digit String”.  
                                 TABLE 18                           Details of the SAS Application Service Specific Outbound Digit String       Preparation Configuration Table       SAS Application Service Specific Outbound Digit String Preparation Configuration Table                      ute             at             es   Description               Aplication Service Id                 lid SAS Application Service             y Key                 Digit String Id                 lid Input Digit String Id             foreign key into the Structure of Output Digit String Configuration Table                   Application Service specifi/encoding: Multiple output digit strings per                             ol Element are possible                 Digit String                 lid common encoding of             ribute identifies the Output Digit String Element onto which the digit                 onent Id                 Control Data Type and             ation applies. It is possible to specify here the complete Output Digit                         Number Name.   String          g the mnemonic “Total Digit String”.                 sition                 e Integer values 0-255.   0: The Digit Preparation is specified by means of                   the Cut Match/Value.                   1: Cut Position is before the 1 st  digit.                   2: Cut Position is before the 2 nd  digit.                   3: Cut Position is before the 3 rd  digit.                   n: Cut Position is before the n th  digit.                 ngth                 e Integer values 0-255.   0: delete no digits after the Cut Position.                   1: delete 1 digit after the Cut Position.                   2: delete 2 digits after the Cut Position.                   3: delete 3 digits after the Cut Position.                   N: delete n digits after the Cut Position.                 otch Length                 e Integer values 0-15.             in digits of the Cut Match Value. 0 means that there is no Cut Match                 otch Value             te             ring with up 15 Digits.             t Match Value is a sequence of digits, which if found in search from left to                             hall be replaced by the Paste Value.                 ngth             te             e Integer values 0-15.             in digits of the Paste Value. 0 means that there is no Paste Value.                 alue             te             ring with up 15 Digits.             which shall be inserted at the Cut Position, or which shall replace the Cut                             Value.