Abstract:
It is an object of the invention to provide an advantageous method to process a SAS Application Service request. An inventive method to process a SAS Application Service request includes the steps of: performing an Inbound Message Analysis, performing a Service Decision, performing an Outbound Message Synthesis, wherein the Inbound Message Analysis includes an Application Specific Inbound Protocol Check, an NoAI (Nature of Address Indicator) Analysis and an Inbound Digit Analysis, wherein the Service Decision includes a Database Search and an Application Specific Evaluation of Database Search Indications, and wherein the Outbound Message Synthesis includes generating an Output Digit String making use of an application specific Output Digit String Configuration Table, which includes the parameter SAS Application Service Id and at least one of the following parameters: Output Digit String Id, Auxiliary Number Name, Nature of Address Indicator, Auxiliary Number Presence, Auxialiary Number Position.

Description:
[0001]    The invention is based on a priority application EP 03290703.2 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 Application Service. 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),  
           [0007]    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,  
           [0008]    wherein the SAS is capable to process at least one service requst, advantageously at least two different application service requests, and  
           [0009]    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 method to process a SAS Application Service request.  
           [0011]    An inventive method to process a SAS Application Service request includes the steps of: performing an Inbound Message Analysis, performing a Service Decision, performing an Outbound Message Synthesis, wherein the Inbound Message Analysis includes an Application Specific Inbound Protocol Check, an NoAI (Nature of Address Indicator) Analysis and an Inbound Digit Analysis, wherein the Service Decision includes a Database Search and an Application Specific Evaluation of Database Search Indications, and wherein the Outbound Message Synthesis includes generating an Output Digit String making use of an application specific Output Digit String Configuration Table, which includes the parameter SAS Application Service Id and at least one of the following parameters: Output Digit String Id, Auxiliary Number Name, Nature of Address Indicator, Auxiliary Number Presence, Auxiliary Number Position.  
           [0012]    In a preferred embodiment of the invention the Outbound Message Synthesis includes generating an Output Digit String making further use of at least one Outbund Processing Configuration Table, which includes the parameter SAS Application Service Id and at least one of the following parameters: Number Type, Portability Status, Inbound NoAI Value, Response Action Id, Output Digit String Id.  
           [0013]    In a further preferred embodiment of the invention the Service Decision further includes a Generic Loop Detection Analysis making use of at least one application specific Loop Detection Configuration Table, which includes the parameter SAS Application Service Id and at least one of the following parameters: SAS Database Id, SAS Database Table Id, Number type, Portability Status, Loop Detection state and Action.  
           [0014]    Advatageously the Database Search is performed in a Single Number Table and subsequently in a Range Number Table if the Single Number Table query indicates a NO MATCH or an Error in the Single Number Table.  
           [0015]    The invention can be used for a variety of services:  
           [0016]    In a first embodiment the SAS Application Service is INAP based Number Portability, and the Output Digit String Configuration Table includes INAP based Number Portability Ids (MNP-INAP-O-VM-IW).  
           [0017]    In a second embodiment the SAS Application Service is SRI (Send Routing Information) terminating Number Portability, and the Output Digit String Configuration Table includes SRI terminating Number Portability Ids (MNP-SRIt-O-VM-IW).  
           [0018]    In a third embodiment the SAS Application Service is MAP Forward Short Message Access Screening, and the Output Digit String Configuration Table includes Forward Short Message Access Screening Ids (MAP-FSM).  
           [0019]    In a fourth embodiment the SAS Application Service is Fixed SCCP Routing, and the Output Digit String Configuration Table includes Fixed SCCP Routing Ids (FNP-SRF).  
           [0020]    In a fifth embodiment the SAS Application Service is CAP IDP Relay Mobile Number Portability, and the Output Digit String Configuration Table includes CAP IDP Relay Mobile Number Portability Ids (MNP-CAP-RELAY-IW).  
           [0021]    In a sixth embodiment the SAS Application Service is INAP IDP Relay, and the Output Digit String Configuration Table includes INAP IDP Relay Ids (INAP-IDP-RELAY-I/W).  
           [0022]    In a seventh embodiment the SAS Application Service is Mobile SCCP Routing, and the Output Digit String Configuration Table includes Mobile SCCP Routing Ids (MNP-NCR).  
           [0023]    The inventive method could be implemented using different kind of hardware and software equipment, e.g.:  
           [0024]    An 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 is programmed in such a way that identifying and processing at least one application service request is enabled—including e.g. a signaling connection control part (SCCP) process and/or 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:  
           [0025]    performing an inbound message analysis,  
           [0026]    performing a Service Decision including a database search,  
           [0027]    performing an Outbound Message Synthesis including generating an Output Digit String making use of an application specific Output Digit String Configuration Table, which includes the parameter SAS Application Service Id and at least one of the following parameters: Output Digit String Id, Auxiliary Number Name, Nature of Address Indicator, Auxiliary Number Presence, Auxiliary Number Position.  
           [0028]    An inventive SS7 signaling server for routing SS7 links, includes a signaling transfer point (STP), and a signaling application server (SAS),  
           [0029]    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,  
           [0030]    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:  
           [0031]    performing an inbound message analysis,  
           [0032]    performing a Service Decision,  
           [0033]    performing an Outbound Message Synthesis including generating an Output Digit String making use of an application specific Output Digit String Configuration Table, which includes the parameter SAS Application Service Id and at least one of the following parameters: Output Digit String Id, Auxiliary Number Name, Nature of Address Indicator, Auxiliary Number Presence, Auxiliary Number Position, and  
           [0034]    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.  
       
    
    
     BRIEF DESCRIPTION OF THE DRAWINGS  
       [0035]    For a better understanding of the present invention, reference is made to the accompanying drawings, in which:  
         [0036]    [0036]FIG. 1 shows the Generic Structure of a SAS Application Service;  
         [0037]    [0037]FIG. 2 shows Inbound Message Analysis including Inbound Address Analysis and Inbound Digit Analysis;  
         [0038]    [0038]FIG. 3 shows Service Decision;  
         [0039]    [0039]FIG. 4 shows a Database Search in E.164 and MSIN Based Single Number and Range Number Tables;  
         [0040]    [0040]FIG. 5 shows a flowchart of a Generic Loop Detection Analysis;  
         [0041]    [0041]FIG. 6 shows a flowchart of Generic Aspects of Outbouznd Message Synthesis;  
         [0042]    [0042]FIG. 7 shows a diagram of a query response scenario;  
         [0043]    [0043]FIG. 8 shows a diagram of a further query response scenario;  
         [0044]    [0044]FIG. 9 shows a diagram of a further query response scenario;  
         [0045]    [0045]FIG. 10 shows a diagram of a call steering scenario;  
         [0046]    [0046]FIG. 11 shows a diagram of a further call steering scenario;  
         [0047]    [0047]FIG. 12 shows a diagram of a further call steering scenario;  
         [0048]    [0048]FIG. 13 shows a Query Response Scenario—Without the SRF service;  
         [0049]    [0049]FIG. 14 shows a further Query Response Scenario—Together with the SRF service, subscriber in foreign network;  
         [0050]    [0050]FIG. 15 shows a further Query Response Scenario (Unsuccessful)—Illegal MSISDN (containing no digits);  
         [0051]    [0051]FIG. 16 shows a further Query Response Scenario (Unsuccessful)—Any error in SAS service application;  
         [0052]    [0052]FIG. 18 shows a FSM Scenario for a Regular or Imported Subscriber;  
         [0053]    [0053]FIG. 19 shows a FSM Scenario for an Illegal Subscriber;  
         [0054]    [0054]FIG. 20 shows a Query Response Scenario—Direct Response;  
         [0055]    [0055]FIG. 21 shows a Query Response Scenario (Unsuccessful)—With SCCP UDTS;  
         [0056]    [0056]FIG. 22 shows a Query Response Scenario (Unsuccessful)—Continue With SCCP Routing;  
         [0057]    [0057]FIG. 23 shows a Relay Scenario (Successful);  
         [0058]    [0058]FIG. 24 shows an alternative Relay Scenario (Successful);  
         [0059]    [0059]FIG. 25 shows a Relay Scenario (Unsuccessful);  
         [0060]    [0060]FIG. 26 shows a Relay Scenario (Successful);  
         [0061]    [0061]FIG. 27 shows an alternative Relay Scenario (Successful);  
         [0062]    [0062]FIG. 28 shows a Relay Scenario (Unsuccessful);  
         [0063]    [0063]FIG. 29 shows a Query Response Scenario—Direct Response;  
         [0064]    [0064]FIG. 30 shows a Query Response Scenario—Terminate TCAP Dialogue (depending on portability status);  
         [0065]    [0065]FIG. 31 shows a Query Response Scenario (Unsuccessful)—With SCCP UDTS; and  
         [0066]    [0066]FIG. 32 shows a Query Response Scenario (Unsuccessful)—Continue With SCCP Routing. 
     
    
     DETAILED DESCRIPTION OF THE INVENTION  
       [0067]    The preferred embodiments of the present invention are illustrated in FIGS. 1-32, like reference numerals being used to refer to like and corresponding parts of the various drawings.  
       FIRST EMBODIMENT OF THE INVENTION  
       [0068]    INAP Based Number Portability  
         [0069]    Short Description:  
         [0070]    This service embraces INAP NP (Number Portability) with optionally voice mail for both mobile and fixed network, which may request one or more digits if the number is either incomplete or ambiguous. All these combinations are configurable.  
         [0071]    The calling number of the INAP IDP message and optionally the additional digits of the ERB message are used to interrogate the subscriber database. The database contents and the configuration data are used to examine what kind of message is send and what number the message is filled with.  
         [0072]    [0072]FIG. 1 depicts the SDL diagram of the Generic Structure of the INAP IDP Application Service.  
         [0073]    [0073]FIG. 1 shows the Generic Structure of a SAS Application Service.  
         [0074]    The three stages of the Application Service:  
         [0075]    Inbound Message Analysis:  
         [0076]    This stage starts with some service specific inbound protocol checks, e.g. decoded operation code, calling and called number size. If the values are ok, both numbers are extracted for further usage.  
         [0077]    The NoA (Nature of Address) is extracted from the calling address in the calling number field.  
         [0078]    Depending on the NoA a specific analyse string is chosen. That analyse string describes which auxiliary number parts are mandatory or optionally. 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. E.164 is e.g. defined in ITU-T E.164, MSIN is e.g. defined in ITU-T E.212. This analysis is done step by step for each possible auxiliary number part. If ambiguous then one or more digits are requested, depending on service specific configuration items. When the analysis of the auxiliary number parts terminates successfully, then the second stage starts. Each auxiliary number part 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.  
         [0079]    The inbound digit anaylsis makes use of an input digit string configuration table. The inbound digit analysis e.g. serves to analyse the called or the calling party address. The input digit string configuration table includes at least two of the following parameters: SAS Application Service Id, Input Digit String Id, Auxiliary Number Name, Global Title Indicator, Nature of Address Indicator, Auxiliary Number Presence, Auxiliary Number Position.  
         [0080]    [0080]FIG. 2 shows Inbound Message Analysis including Inbound Address Analysis and Inbound Digit Analysis.  
         [0081]    Service Decision:  
         [0082]    This stage analyses 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.  
         [0083]    [0083]FIG. 3 shows Service Decision.  
         [0084]    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. Figure depicts the SDL diagram of the Service Decision.  
         [0085]    Database Search  
         [0086]    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 Database 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.  
         [0087]    [0087]FIG. 4 shows a Database Search in E.164 and MSIN Based Single Number and Range Number Tables.  
                                                             TABLE 1                           E. 164 Single Number Table for the Example.       E. 164 Single Number Table            E. 164   E. 164           Default/       Extended   Extended   Service   Service   Service       Number   Number   Number   Portability   Exception   Transition   Match   Match   Control   Control   Control       Length   Value   Type   Status   Indicator   Indicator   Indicator   Length   Data Slot-0   Data Slot-1   Data Slot-2               9   851230001   MSISDN   ONPO   Exception   Over   Exact   0   SCDI-2   —   —       9   851230002   MSISDN   ONPO   Exception   Not Over   Exact   0   SCDI-2   —   —       9   851230003   MSISDN   ONPO   Exception   Over   Exact   0   SCDI-3       9   851230004   MSISDN   ONPO   Exception   Not Over   Exact   0   SCDI-3       9   861230001   MSISDN   FNPI   Exception   Over   Exact   0   SCDI-1   SCDI-4   —       9   861230002   MSISDN   FNPI   Exception   Not Over   Exact   0   SCDI-1   SCDI-4   —       9   871230001   MSISDN   FNPI   Exception   Over   Exact   0   SCDI-1   SCDI-4   —       9   871230002   MSISDN   FNPI   Exception   Not Over   Exact   0   SCDI-1   SCDI-4   —       9   861230003   MSISDN   FNP2AFN   Exception   Over   Exact   0   SCDI-3   —   —       9   861230004   MSISDN   FNP2AFN   Exception   Not Over   Exact   0   SCDI-3   —   —       9   871230003   MSISDN   FNP2AFN   Exception   Over   Exact   0   SCDI-2   —   —       9   871230004   MSISDN   FNP2AFN   Exception   Not Over   Exact   0   SCDI-2   —   —                                                                  
 
         [0088]    [0088]                                                                 TABLE 2                           E. 164 Range Number Table for the Example.       E. 164 Range Number Table            E. 164   E. 164   E. 164   E. 164                                       Number   Number   Number   Number       Start   Start   End   End           Default/       Single   Service   Service   Service       Range   Range   Range   Range   Number   Portability   Exception   Transition   Number   Control   Control   Control       Length   Value   Length   Value   Type   Status   Indicator   Indicator   Flag   Data Slot-0   Data Slot-1   Data Slot-2               9   850000000   9   859999999   MSISDN   ONNPO   Default   Over   Range   SCDI-1   SCDI-4   —       9   860000000   9   869999999   MSISDN   FNNK2BP   Default   Over   Range   SCDI-2   —   —       9   870000000   9   879999999   MSISDN   FNNK2BP   Default   Over   Range   SCDI-3   —   —                                                                    
         [0089]    [0089]                                                                                                           TABLE 3                           Service Control Data Table for the Example.       Service Control Data Table            Service       Service                                       Control   Service Control   Control   Service Control   Service Control   Address Info       Numbering   Cut Enable   Cut   Cut       Data Id   Data Function   Data Type   Data Length   Data Value   Present Mask   NoAI   Plan   Mask   Offset   Length                    SCDI-1   Insert   INRN   5   17685   Not Present   NULL   NULL   Disabled   NULL   NULL       SCDI-2   Insert   INRN   5   17686   Not Present   NULL   NULL   Disabled   NULL   NULL       SCDI-3   Insert   INRN   5   17687   Not Present   NULL   NULL   Disabled   NULL   NULL       SCDI-4   Replace   HLR-SCA   12   353857000420   Present   International   E. 164   Disabled   NULL   NULL                    
         [0090]    [0090]                                 TABLE 4                           Auxiliary Number Table for the Example.       Service Control Slots Configuration Table                    Service Control Slot   Service Control       SAS Database Id   SAS Database Table Id   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   —                    
         [0091]    Generic Loop Detection Analysis  
         [0092]    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.  
         [0093]    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.  
         [0094]    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.  
         [0095]    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.  
         [0096]    [0096]FIG. 5 shows Generic Loop Detection Analysis.  
         [0097]    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.  
                                         TABLE 5                           Loop Detection Status and Action Configuration Table for the Example.       Loop Detection Status And Action Configuration Table                                Loop                           Detection       SAS Application           Number   Portability   State And       Service Id   SAS Database Id   SAS Database Table Id   Type   Status   Action               MNP-INAP-O-VM-IW   MNP E. 164 Database 0   E. 164 Single Number Table   MSISDN   ONNPO   Disabled       MNP-INAP-O-VM-IW   MNP E. 164 Database 0   E. 164 Single Number Table   MSISDN   ONPO   Discard,                           Counter       MNP-INAP-O-VM-IW   MNP E. 164 Database 0   E. 164 Single Number Table   MSISDN   FNPI   Discard,                           Counter       MNP-INAP-O-VM-IW   MNP E. 164 Database 0   E. 164 Single Number Table   MSISDN   FNP2AFN   Discard,                           Counter       MNP-INAP-O-VM-IW   MNP E. 164 Database 0   E. 164 Single Number Table   MSISDN   FNNK2BP   Disabled       MNP-INAP-O-VM-IW   MNP E. 164 Database 0   E. 164 Range Number Table   MSISDN   ONNPO   Discard,                           Counter       MNP-INAP-O-VM-IW   MNP E. 164 Database 0   E. 164 Range Number Table   MSISDN   ONPO   Disabled       MNP-INAP-O-VM-IW   MNP E. 164 Database 0   E. 164 Range Number Table   MSISDN   FNPI   Disabled       MNP-INAP-O-VM-IW   MNP E. 164 Database 0   E. 164 Range Number Table   MSISDN   FNP2AFN   Disabled       MNP-INAP-O-VM-IW   MNP E. 164 Database 0   E. 164 Range Number Table   MSISDN   FNNK2BP   Discard,                           Counter                                                                  
 
         [0098]    Outbound Message Synthesis:  
         [0099]    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.  
         [0100]    [0100]FIG. 6 shows Generic Aspects of Outbound Message Synthesis.  
         [0101]    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.  
         [0102]    An Output Address includes the triple (NoAI, Numbering Plan, Digit String). The Output Digit String Configuration Table specifies the necessary output digit strings of the SAS Application Service, including a NoAI 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 6                           Definition of the Output Digit String Configuration Table for the Example.       Output Digit String Configuration Table                Output       Nature of       Auxiliary       SAS Application   Digit   Auxiliary   Address   Auxiliary Number   Number       Service Id   String Id   Number Name   Indicator   Presence   Position               MNP-INAP-O-VM-IW   1   INRN   Subscriber   Modified Input   Prefix-0       MNP-INAP-O-VM-IW   1   Nat1   Subscriber   Copy Input   Nat1       MNP-INAP-O-VM-IW   1   VMSC-INI   Subscriber   Copy Input   Infix-0       MNP-INAP-O-VM-IW   1   Nat2   Subscriber   Copy Input   Nat2                  
 
         [0103]    [0103]                                 TABLE 7                           Output Digit String To Protocol Element Mapping Table for Table.       Output Digit String To Protocol Element Mapping Table                Output       Output Digit       SAS Application   Digit   Protocol Element   String       Service Id   String Id   Id   Option               MNP-INAP-O-VM-IW   1   INAP Connect DRA   1                    
         [0104]    [0104]                             TABLE 8                           Input Digit String To Output Digit String Mapping Table for Table.       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                    
         [0105]    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. This service used the following response actions: INAP Continue, INAP Connect, INAP ReleaseCall and INAP Return Error.  
         [0106]    Within the Connect message the parameters ‘Include Cut And Paste’ are configurable. Depending on a configurable parameter Connect message can be send either to original or alternate number. Depending on a configurable parameter the routing number can be included or send as a parameter. The alternate number is configured by number, Nature Of Address and Numbering Plan. If the Connect message to original number is sent the configurable flag Send Charging Information is evaluated, too.  
         [0107]    An error code is configurable as parameter of the Return Error message depending on the database result. For each database result another Return Error Code can be configured.  
         [0108]    If a Release Call message is sent a Release Cause depending on the database result can be configured. For each database result another Release Cause can be configured.  
         [0109]    There are eight configurable outbound actions for this Service Handler:  
         [0110]    Return TCAP Error with configurable Error Code.  
         [0111]    INAP Release Call with configurable Cause.  
         [0112]    INAP Continue.  
         [0113]    INAP Connect either with  
         [0114]    DRA from SAS Database, Cut&amp;Paste configurable present or not.  
         [0115]    DRA from predefined configured value, Cut&amp;Paste configurable present or not.  
         [0116]    INAP SendCharginglnformation, with configurable values for parameters performChargeDetermination and sendingSideID. The INAP SCI can only be sent in combination with the INAP Connect in a separate TCAP Component.  
         [0117]    Concatenate with other Service Handler.  
         [0118]    Discard Message.  
         [0119]    Store Message in local SAS file.  
                                             TABLE 9                           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            SAS               Service   Output   Nature of       Application   Number   Portability   Response   Control Data   Digit String   Address       Service Id   Type   Status   Action Id1   Slot Id   Id   Indicator               MNP-INAP-O-   MSISDN   ONNPO   Send INAP   None.   None.   NULL       VM-IW           Continue                   Operation       MNP-INAP-O-   MSISDN   ONPO   Send INAP   0 [INRN]   1   Subscriber       VM-IW           Connect                   Operation       MNP-INAP-O-   MSISDN   FNPI   Send INAP   0 [INRN]   1   Subscriber       VM-IW           Connect                   Operation       MNP-INAP-O-   MSISDN   FNP2AFN   Send INAP   0 [INRN]   1   Subscriber       VM-IW           Connect                   Operation       MNP-INAP-O-   MSISDN   FNNK2BP   Send INAP   0 [INRN]   1   Subscriber       VM-IW           Connect                   Operation                                                                  
 
         [0120]    [0120]                                         TABLE 10                           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                SAS Application           Output   Nature of       SAS Application   Specific Abnormal           Digit String   Address       Service Id   Condition Id   Response Action Id1   Response Action Id2   Id   Indicator               MNP-INAP-O-VM-IW   NO MATCH   Send INAP Continue   None.   None.   NULL               Operation       MNP-INAP-O-VM-IW   AMBIGOUS   Send INAP RRB   Send INAP Cl   None   NULL               Operation   Operation       MNP-INAP-O-VM-IW   Error1   Send INAP Release   Release Call Cause n   None.   NULL               Cause Operation                    
         [0121]    Configuration Data:  
         [0122]    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 12 presents the information necessary to specify an input digit string. Table 13 specifies the mapping between the Input Digit String to the Output Digit String. Table 14 specifies the mapping between the Output Digit String and the Protocol Element.  
                                 TABLE 11                           Details of the Loop Detection Status Configuration Table       Loop Detection Status And Action Configuration Table            Attribute   Format   Values   Description               SAS Application   2 Byte   Any valid SAS Application Service Id   Primary Key.       Service Id       SAS Database Id   2 Byte   Any valid SAS Database Id.   Primary Key.       SAS Database   2 Byte   Any valid SAS Database Table Id.   Primary Key.       Table Id       Number Type   1 Byte   Any valid encoding of Number Type   Primary Key.       Portability Status   1 Byte   Any valid encoding of Portability Status   Primary Key.       Loop Detection   1 Byte   Any valid encoding of Loop Detection   Possible values are “Disabled”,       State and Action       State and Action   “Enabled: Discard Message”, etc.                  
 
         [0123]    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.  
         [0124]    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 same principle can in the future be applied to other number parts as well.  
         [0125]    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.  
         [0126]    Table 15 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 16.  
                                 TABLE 12                           Details of the Output Digit String Configuration Table       Output Digit String Configuration Table            Attribute   Format   Values   Description               SAS   2 Byte   Any valid SAS.   Primary Key.       Application       Application Service Id       Service Id       Output Digit   3 Byte   Any valid Input Digit   Primary Key. SAS Application Service specific encoding. Multiple output       String Id       String Id   digit strings per Protocol Element are possible. If multiple output digit                   strings are specified, then usage of each output digit string may be                   associated with a specific condition. It is a matter of the SAS Application                   Service how the association of a condition is mapped to a specific output                   digit string.       Auxiliary   1 Byte   Any valid encoding of   Primary Key An output digit string is defined by the explicit list of its Head       Number       Service Control Data   parts, the BigCore and its Tail parts, identified by the respective names       Name       Type   listed in the encoding of the common mnemonics encoding of the Service               E.g. SI, CC, INRN,   Control Data Type and the Auxiliary Number Name. It is possible in the               OwnINRN, VMSC-INP,   Output Digit String, that any part from the Input, Digit String can be               SMSC-INP, VMSC-INI,   explicitly manipulated by the service logic.               SMSC-INI, P, MCC,   The encoding of this attribute has to be in common with the attribute               MNC, NC, GAC, EC,   Auxiliary Number Name and the attribute Service Control Data Type. The               Nat1, NDC, Nat2, SN,   various types of Auxiliary Numbers and Core Part Numbers - identified by               BigCore, NotAllowed,   their Name - have the following structure (as far as known today)               Opaque.   CC: 1-3 hex digits.                   All others have 1 or more hex digits, depending on the customer&#39;s                   network.                   A particular meaning has the following value:                   NotAllowed If an Auxiliary Number has this name, then the                   respective Output Digit String for a particular NoAI value is not                   allowed. The Auxiliary Number Presence is Always in this case, and                   the Auxiliary Number Position is Head-0. The Output Digit String                   must consist of this Auxiliary item only.                   Opaque: If an Auxiliary Number has this name, then the respective                   Output Digit String for a particular NoAI value will consist of a value                   derived from the Service Control Data Table as a replacement value.                   No structure of the Output Digit String needs to be known in this                   case. The Output Digit String must consist of this Auxiliary Item only,                   in position Head-0.                   The value “Not Allowed” is necessary, even in the combination with the                   Allowed Values of NoAI Configuration Table Reason: there may be more                   than one option of output digit string for a given NoAI value, and in each                   option the allowed digit strings for a given NoAI value differ.                   Purpose of the parameter for the service logic of the SAS Application                   Service. This unique name is used to define each entity in the outbound                   digit string. The relationship between corresponding entities in the input                   digit string and the output digit string is defined on the basis of the                   Auxiliary Number Name.       Nature of   1 Byte   Any valid protocol   A NoAI value may be associated with a structure definition of an output       Address       specific encoding of   digit string. NoAI in protocols has up to 7 bit for its encoding. Therefore,       Indicator       the Nature of Address   the value FFh is used as NULL value for this attribute, which means that no               Indicator.   NoAI value is associated with this particular output digit string.       Translation   1 Byte   Use, Do Not Use   This attribute indicates whether or not the Translation Type shall be used in       Type Control           the specified Output Digit String.       Translation   1 Byte   Any valid protocol   A Translation Type value may be associated with a structure definition of       Type       specific encoding of   an output digit string.               the Translation Type       Auxiliary   1 Byte   Copy From Input,   The presence of the auxiliary number. For the output digit string, the       Number       Modify Input With   semantics is as follows:       Presence       Service Control, Always   Copy From Input: Copy from corresponding input digit string               as New Element From   element. If the corresponding input digit string element was actually               Service Control,   not present, this output digit string element is empty.               Sometimes as New   Modify Input With Service Control: Modification of the corresponding               Element From Service   input digit string element. The modification is controlled by the               Control, Always as   respective Service Control Data item in combination with the pair               New Element From   (Number Type, Portability Status) of the found entry in the Single               Static Configuration.   Number or Range Number table.                   Always as New Element From Service Control: Always present as a                   new element, which was not yet present in the input digit string. The                   value is derived from the respective Service Control Data item,                   possibly in combination with the pair (Number Type, Portability                   Status) of the found entry in the Single Number or Range Number                   table. If an Auxiliary Number which is specified to be Always present                   as a mew element, is not actually present, an error has to be                   reported.                   Sometimes as New Element From Service Control: Sometimes present                   as a new element, which was not yet present in the input digit string.                   The value is derived from the respective Service Control Data item,                   possibly in combination with the pair (Number Type, Portability                   Status) of the found entry in the Single Number or Range Number                   table.                   Always as New Element From Static Configuration: Always present as                   a new element, which was not yet present in the input digit string.                   The value is derived from static configuration data for this particular                   SAS Application Service.                   Purpose of this parameter for the service logic of the SAS Application                   Service: this attribute allows to generate an error, if an Always present                   optional digit string is not present in the output digit string.       Auxiliary   1 Byte   Any valid encoding of   Possible values are Head-0 to Prefix-31, and Tail-0 to Tail-31.       Number       Auxiliary Number   Purpose of this parameter for the service logic of the SAS Application       Position       Position.   Service: specifies the correct position of this entity in the output digit                   strings.                                                                  
 
         [0127]    [0127]                                 TABLE 13                           Details of the Input Digit String To Output Digit String Mapping Table       Input Digit String To Output Digit String Mapping Table            Attribute   Format   Values   Description               SAS   2 Byte   Any valid SAS   Primary Key.       Application       Application Service Id       Service Id       Output Digit   3 Byte   Any valid Input Digit   Primary Key. SAS Application Service specific encoding. Multiple output       String Id       String Id   digit strings per Protocol Element are possible. If multiple output digit                   strings are specified, then usage of each output digit string may be                   associated with a specific condition. It is a matter of the SAS Application                   Service how the association of a condition is mapped to a specific                   output digit string.       Input Digit   3 Byte   Any valid Input Digit   Foreign Key to the Input Digit String from which this Output Digit String       String Id       String Id   is provided with values. SAS Application Service specific encoding. Only                   one Input Digit String per Output Digit String is possible.                                    
         [0128]    [0128]                                 TABLE 14                           Details of the Input Digit String To Protocol Element Mapping Table       Output Digit String To Protocol Element Mapping Table            Attribute   Format   Values   Description               SAS   2 Byte   Any valid SAS   Primary Key.       Application       Application Service Id       Service Id       Output Digit   3 Byte   Any valid Input Digit   Primary Key. SAS Application Service specific encoding. Multiple output       String Id       String Id   digit strings per Protocol Element are possible. If multiple output digit                   strings are specified, then usage of each output digit string may be                   associated with a specific condition. It is a matter of the SAS Application                   Service how the association of a condition is mapped to a specific                   output digit string.       Protocol   3 Byte   Any valid Protocol   SAS Application Service specific encoding. A protocol element is for       Element Id       Element Id   instance a parameter of a service primitive. For a given protocol                   element one or more output digit strings are possible.       Output Digit   1 Byte   Positive Integer   The sequence number of the Output Digit String Option. For each       String Option           protocol element, it is possible to define multiple Output Digit Strings.                    
         [0129]    [0129]                                 TABLE 15                           Details of the SAS Application Service Specific Outbound Processing       Configuration Table - Normal Completion       SAS Application Service Specific Outbound Processing       Configuration Table - Normal Completion            Attribute   Format   Values   Description               SAS   2 Byte   Any valid SAS Application   Primary Key.       Application       Service Id       Service Id       Number   1 Byte   Any valid encoding of   Primary Key.       Type       Number Type       Portability   1 Byte   Any valid encoding of   Primary Key.       Status       Portability Status       Inbound   2 Byte   Any valid encoding of NoAI   Primary Key.       NoAI Value       plus FFFFh for ignoring this   Some SAS Application Services need to take the NoAI value of the               attribute.   Inbound Address into account to determine the Outbound Action.                   The NoAI value to be used here is the one of this Inbound Address                   for which the database search in the Service Decision phase was                   done.                   If this attribute is to be ignored during Outbound Processing, it                   has to be filled with FFFFh       Response   3 Byte   Any valid Response Action   Encoding is SAS Application Service specific. NULL value is FFh.       Action Id 1       Response   3 Byte   Any valid Response Action   Encoding is SAS Application Service specific. NULL value is FFh.       Action Id 2       Response   3 Byte   Any valid Response Action   Encoding is SAS Application Service specific. NULL value is FFh.       Action Id 3       Response   3 Byte   Any valid Response Action   Encoding is SAS Application Service specific. NULL value is FFh.       Action Id 4       Response   3 Byte   Any valid Response Action   Encoding is SAS Application Service specific. NULL value is FFh.       Action Id 5       Response   3 Byte   Any valid Response Action   Encoding is SAS Application Service specific. NULL value is FFh.       Action Id 6       Response   3 Byte   Any valid Response Action   Encoding is SAS Application Service specific. NULL value is FFh.       Action Id 7       Response   3 Byte   Any valid Response Action   Encoding is SAS Application Service specific. NULL value is FFh.       Action Id 8       Response   3 Byte   Any valid Response Action   Encoding is SAS Application Service specific. NULL value is FFh.       Action Id 9       Response   3 Byte   Any valid Response Action   Encoding is SAS Application Service specific. NULL value is FFh.       Action Id 10       Service   1 Byte   Any valid encoding of Service       Control Data       Control Data Slot Id       Slot Id       Output Digit   3 Byte   Any valid Input Digit String Id   Partial foreign key into the Structure of Output Digit String       String Id           Configuration Table. SAS Application Service specific encoding.                   Multiple output digit strings per Protocol Element are possible.       Nature of   1 Byte   Any valid protocol specific   Partial foreign key into the Structure of Output Digit String       Address       encoding of the Nature of   Configuration Table. NoAI in protocols has up to 7 bit for its       Indicator       Address Indicator.   encoding. Therefore, the value FFh is used as NULL value for this                   attribute. Per input digit string, the NoAI has to be considered.                   Therefore, per Input Digit String Id, multiple NoAIs are possible.                   For each NoAI of an Input Digit String Id, an input digit string has                   to be defined.                                                       #selected entry of the Service Control Data Table has to be used. If this entry does not support a NoAI value, then NoAI value of the corresponding input digit string has to be used.             
         [0130]    [0130]                                 TABLE 16                           Details of the SAS Application Service Specific Outbound Processing       Configuration Table - Abnormal Completion       SAS Application Service Specific Outbound Processing       Configuration Table - Abnormal Completion            Attribute   Format   Values   Description               SAS   2 Byte   Any valid SAS Application   Primary Key.       Application       Service Id       Service Id       SAS   3 Byte   Any valid encoding of SAS   Primary Key.       Application       Application Specific   Currently, the following possible values are defined:       Specific       Abnormal Condition Id   Number Not Found: i.e. the extracted received number was       Abnormal           not found the Single Number Table nor in the Range       Condition Id           Number Table.                   SAS Database Error: this is any kind of SAS database error                   The outbound handling in this case will similar to the one of                   Number Not Found. In addition an error report will be                   generated in order to trigger corrective action for the                   database.       Response   3 Byte   Any valid Response Action   Encoding is SAS Application Service specific. NULL value is FFh.       Action Id 1       Response   3 Byte   Any valid Response Action   Encoding is SAS Application Service specific. NULL value is FFh.       Action Id 2       Response   3 Byte   Any valid Response Action   Encoding is SAS Application Service specific. NULL value is FFh.       Action Id 3       Response   3 Byte   Any valid Response Action   Encoding is SAS Application Service specific. NULL value is FFh.       Action Id 4       Response   3 Byte   Any valid Response Action   Encoding is SAS Application Service specific. NULL value is FFh.       Action Id 5       Response   3 Byte   Any valid Response Action   Encoding is SAS Application Service specific. NULL value is FFh.       Action Id 6       Response   3 Byte   Any valid Response Action   Encoding is SAS Application Service specific. NULL value is FFh.       Action Id 7       Response   3 Byte   Any valid Response Action   Encoding is SAS Application Service specific. NULL value is FFh.       Action Id 8       Response   3 Byte   Any valid Response Action   Encoding is SAS Application Service specific. NULL value is FFh.       Action Id 9       Response   3 Byte   Any valid Response Action   Encoding is SAS Application Service specific. NULL value is FFh.       Action Id 10       Output Digit   3 Byte   Any valid Input Digit String Id   Partial foreign key into the Structure of Output Digit String       String Id           Configuration Table. SAS Application Service specific encoding.                   Multiple output digit strings per Protocol Element are possible.       Nature of   1 Byte   Any valid protocol specific   Partial foreign key into the Structure of Output Digit String       Address       encoding of the Nature of   Configuration Table. NoAI in protocols has up to 7 bit for its       Indicator       Address Indicator.   encoding. Therefore, the value FFh is used as NULL value for this                   attribute. Per input digit string, the NoAI has to be considered.                   Therefore, per Input Digit String Id, multiple NoAIs are possible.                   For each NoAI of an Input Digit String Id, an input digit string has                   to be defined.                                                       #selected entry of the Service Control Data Table has to be used. If this entry does not support a NoAI value, then NoAI value of the corresponding input digit string has to be used.                                                             
         [0131]    Scenarios:  
         [0132]    [0132]FIG. 7 shows a Query Response Scenario.  
         [0133]    [0133]FIG. 8 shows a further Query Response Scenario (Unsuccessful) With INAP Release Call.  
         [0134]    [0134]FIG. 9 shows a further Query Response Scenario (Unsuccessful) With INAP Continue.  
         [0135]    [0135]FIG. 10 shwos a Call Steering Scenario (Digit Request).  
         [0136]    [0136]FIG. 11 shows a further Call Steering Scenario (Digit Request Unsuccessful) With INAP Release Call.  
         [0137]    [0137]FIG. 12 shows a further Call Steering Scenario (Digit Request Unsuccessful)  
         [0138]    With INAP Continue.  
       SECOND EMBODIMENT OF THE INVENTION  
       [0139]    SRI Terminating Number Portability  
         [0140]    Short Description:  
         [0141]    This service encompasses SRI terminating NP (SRI=Send Routing Information, NP=Number Portability) with optionally voice mail for a mobile network. The service is highly configurable.  
         [0142]    The second and all further embodiments of the inventions are described using partly the some figures and tables as used for the first embodiment.  
         [0143]    [0143]FIG. 1 depicts the SDL diagram of the Generic Structure of a SAS Application Service.  
         [0144]    The SRI terminating service handles the SRI (Send Routing Information) message of the MAP (Mobile Application Part) protocol. Of the incoming message, the parameter ‘MSISDN’ is analysed. The MSISDN may or may not contain a voice mail infix, this is configurable. The service terminates the SRI message according to its configuration by an SRI Response message, a TCAP Error, a TCAP Reject or by discarding the request. In the SRI Response message, the parameters Roaming Number and IMSI are set. The IMSI is set to a fixed, configurably default IMSI (an IMSI must be present as per the MAP standard).  
         [0145]    An instance of the SRI Terminating service can either work together with an instance of the SRF service (Mobile SCCP routing) or work stand-alone.  
         [0146]    A typical case for numbers with voice mail infix is that the SRI Terminating service instance handles all requests by sending an appropriate SRI response.  
         [0147]    Alternatively—typically for numbers without voice mail infix—, the SRF service instance handles requests that stay in the own network by relaying the request to the appropriate HLR, while it forwards requests that require a foreign network to the SRI Terminating service. The SRI Terminating service instance handles these requests by terminating them with an appropriate SRI Response.  
         [0148]    Multiple instances of the SRI Terminating service with different configurations can run inside the SAS in parallel.  
         [0149]    The three stages are described in detail as follows:  
         [0150]    Stage 1—Inbound Message Analysis: This stage starts with some service specific inbound protocol checks. The SRI Terminating service checks that the MSISDN parameter is present and that it contains digits (otherwise a TCAP Reject is sent) and that the NoA (Nature of Address) is recognized (otherwise a TCAP Error is sent). Depending on the NoA a specific analysis string is chosen. That analysis string describes which auxiliary number parts are mandatory or optionally. 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. Each auxiliary number part 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.  
         [0151]    Stage 2—Service Decision: Analyse the core part of the received number in the Single Number and Range Number tables. 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.  
         [0152]    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. The SRI terminating service ensures that the length of the resulting Roaming Number does not exceed the limit specified in the used protocol version/variant. Otherwise, a TCAP Error is sent.  
         [0153]    [0153]FIG. 2 shows Inbound Address Analysis and Inbound Digit Analysis.  
         [0154]    [0154]FIG. 3 shows Service Decision.  
         [0155]    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. Figure depicts the SDL diagram of the Service Decision.  
         [0156]    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 Database Search Indications may include 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.  
         [0157]    The SRI Terminating service never requests additional digits because this is neither possible nor necessary in the MAP protocol. The MSISDN parameter always contains all digits. If the database search indicates AMIGUOUS, the SRI Terminating service treats this as a database error.  
         [0158]    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.  
         [0159]    [0159]FIG. 4 shows a Database Search in E.164 and MSIN Based Single Number and Range Number Tables.  
         [0160]    Table 1 shows an E.164 Single Number Table for the Example.  
         [0161]    Table 2 shows an E.164 Range Number Table for the Example.  
         [0162]    Table 3 shows a Service Control Data Table for the Example.  
         [0163]    Table 4 shows an Auxiliary Number Table for the Example.  
         [0164]    Detection of Loops  
         [0165]    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.  
         [0166]    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.  
         [0167]    There is no application specific Loop Detection mechanisms in the SRI terminating service. Only the Generic Loop Detection is executed.  
         [0168]    Generic Loop Detection Analysis  
         [0169]    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.  
         [0170]    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.  
         [0171]    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.  
         [0172]    [0172]FIG. 5 shows a Generic Loop Detection Analysis.  
                                         TABLE 17                           Loop Detection Status And Action Configuration Table for the Example.                                Loop                           Detection       SAS Application           Number   Portability   State And       Service Id   SAS Database Id   SAS Database Table Id   Type   Status   Action               MNP-SRlt-O-VM-IW   MNP E. 164 Database 0   E. 164 Single Number Table   MSISDN   ONNPO   Disabled       MNP-SRlt-O-VM-IW   MNP E. 164 Database 0   E. 164 Single Number Table   MSISDN   ONPO   Discard,                           Counter       MNP-SRlt-O-VM-IW   MNP E. 164 Database 0   E. 164 Single Number Table   MSISDN   FNPI   Discard,                           Counter       MNP-SRlt-O-VM-IW   MNP E. 164 Database 0   E. 164 Single Number Table   MSISDN   FNP2AFN   Discard,                           Counter       MNP-SRlt-O-VM-IW   MNP E. 164 Database 0   E. 164 Single Number Table   MSISDN   FNNK2BP   Disabled       MNP-SRlt-O-VM-IW   MNP E. 164 Database 0   E. 164 Range Number Table   MSISDN   ONNPO   Discard,                           Counter       MNP-SRlt-O-VM-IW   MNP E. 164 Database 0   E. 164 Range Number Table   MSISDN   ONPO   Disabled       MNP-SRlt-O-VM-IW   MNP E. 164 Database 0   E. 164 Range Number Table   MSISDN   FNPI   Disabled       MNP-SRlt-O-VM-IW   MNP E. 164 Database 0   E. 164 Range Number Table   MSISDN   FNP2AFN   Disabled       MNP-SRlt-O-VM-IW   MNP E. 164 Database 0   E. 164 Range Number Table   MSISDN   FNNK2BP   Discard,                           Counter                                                                  
 
         [0173]    [0173]FIG. 6 shows Generic Aspects of Outbound Message Synthesis.  
         [0174]    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-SRIt With Optional Voice Mail Inter-working.  
         [0175]    An Output Address includes the triple (NoAI, Numbering Plan, Digit String). The Output Digit String Configuration Table specifies the necessary output digit strings of the SAS Application Service, including a NoAI 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 18                           Definition of the Output Digit String Configuration Table for the Example.       Output Digit String Configuration Table                Output       Nature of       Auxiliary       SAS Application   Digit   Auxiliary   Address   Auxiliary Number   Number       Service Id   String Id   Number Name   Indicator   Presence   Position               MNP-SRlt-O-VM-IW   1   INRN   Subscriber   Modified Input   Prefix-0       MNP-SRlt-O-VM-IW   1   Nat1   Subscriber   Copy Input   Nat1       MNP-SRlt-O-VM-IW   1   VMSC-INI   Subscriber   Copy Input   Infix-0       MNP-SRlt-O-VM-IW   1   Nat2   Subscriber   Copy Input   Nat2                  
 
         [0176]    [0176]                                 TABLE 19                           Output Digit String To Protocol Element Mapping Table for Table 18.       Output Digit String To Protocol Element Mapping Table            SAS Application   Output Digit    Protocol   Output Digit       Service Id   String Id   Element Id   String Option               MNP-SRIt-O-VM-IW   1   SRIres roaming   1               number                    
         [0177]    [0177]                             TABLE 20                           Input Digit String To Output Digit string Mapping Table 18.       Input Digit String To Output Digit String Mapping Table            SAS Application Service Id   Output Digit String Id   Input Digit String Id               MNP-SRIt-O-VM-IW   1   1       MNP-SRIt-O-VM-IW   1   2       MNP-SRIt-O-VM-IW   1   3       MNP-SRIt-O-VM-IW   1   4                    
         [0178]    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.  
         [0179]    There are the following configurable outbound actions for this Service Handler:  
         [0180]    SRI Response with MSRN from SAS Database and IMSI from a predefined configured value.  
         [0181]    Return TCAP Error with configurable Error Code.  
         [0182]    Concatenate with other Service Handler.  
         [0183]    Discard Message.  
         [0184]    Store Message in local SAS file.  
                                             TABLE 21                           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                            Service   Output   Nature       SAS               Control   Digit   of       Application   Number   Portability   Response Action   Data Slot   String   Address       Service Id   Type   Status   Id1   Id   Id   Indicator               MNP-SRlt-O-   MSISDN   ONNPO   Send SRI   0 [INRN]   1   Subscriber       VM-IW           Response                   Operation       MNP-SRlt-O-   MSISDN   ONPO   Send SRI   0 [INRN]   1   Subscriber       VM-IW           Response                   Operation       MNP-SRlt-O-   MSISDN   FNPI   Send SRI   0 [INRN]   1   Subscriber       VM-IW           Response                   Operation       MNP-SRlt-O-   MSISDN   FNP2AFN   Send SRI   0 [INRN]   1   Subscriber       VM-IW           Response                   Operation       MNP-SRlt-O-   MSISDN   FNNK2BP   Send SRI   0 [INRN]   1   Subscriber       VM-IW           Response                   Operation                                                                  
 
         [0185]    Table 21 shows the configuration example for the case that the SRI terminating service is used stand-alone (typical for numbers with voice mail infix).  
         [0186]    For the configuration where the SRI terminating service works together with the SRF service (see 0, typical for numbers without voice mail infix), the column “Response Action Id1” in the rows ONNPO and FNPI would contain “Send TCAP Error” and the last three columns of those rows would contain null values.  
                                         TABLE 22                           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                SAS                           Application           Output   Nature       SAS   Specific           Digit   of       Application   Abnormal   Response Action   Response Action   String   Address       Service Id   Condition Id   Id1   Id2   Id   Indicator               MNP-SRIt-O-   NO MATCH   Send TCAP   None.   None.   NULL       VM-IW       Error       MNP-SRIt-O-   Error1   Send TCAP   None.   None.   NULL       VM-IW       Error                  
 
         [0187]    Configuration Data:  
         [0188]    Table 11 shows Details of the Loop Detection Status Configuration Table.  
         [0189]    Configuration Items for Outbound Digits Synthesis:  
         [0190]    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 12 presents the information necessary to specify an input digit string. Table 13 specifies the mapping between the Input Digit String to the Output Digit String. Table 14 specifies the mapping between the Output Digit String and the Protocol Element.  
         [0191]    Table 12 shows Details of the Output Digit String Configuration Table.  
         [0192]    Table 13 shows Details of the Input Digit String To Output Digit String Mapping Table.  
         [0193]    Table 14 shows Details of the Input Digit String To Protocol Element Mapping Table  
         [0194]    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.  
         [0195]    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 same principle can in the future be applied to other number parts as well.  
         [0196]    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.  
         [0197]    Table 16 shows Details of the SAS Application Service Specific Outbound Processing Configuration Table—Normal Completion.  
         [0198]    Tbale 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 22.  
         [0199]    Table 17 shows Details of the SAS Application Service Specific Outbound Processing Configuration Table—Abnormal Completion.  
         [0200]    Scenarios:  
         [0201]    [0201]FIG. 13 shows a Query Response Scenario—Without the SRF service.  
         [0202]    [0202]FIG. 14 shows a further Query Response Scenario—Together with the SRF service, subscriber in foreign network.  
         [0203]    [0203]FIG. 15 shows a further Query Response Scenario (Unsuccessful)—Illegal MSISDN (containing no digits).  
         [0204]    [0204]FIG. 16 shows a further Query Response Scenario (Unsuccessful)—Any error in SAS service application.  
       THIRD EMBODIMENT OF THE INVENTION  
       [0205]    MAP Forward Short Message Access Screening  
         [0206]    Short Description of the Service:  
         [0207]    In order to protect against fraud a Short Message Service Center (SMSC) normally validates if the originator of an incoming short message is belonging to the home network. Analyzing the A-number within the short message allows this validation.  
         [0208]    However, within a Mobile Number Portability environment, the MSISDN no longer indicates the home network of the subscriber since this number could now belong to another mobile network operator. Therefore, a screening function is required based on the mobile number portability status of the originator&#39;s MSISDN. All incoming MO-FSM messages are intercepted and the MAP SM-RP-OA parameter is used as a key for searching in the number portability database.  
         [0209]    If the calling party number within the MAP SM-RP-OA address was found in the database as an imported or regular subscriber of the concerned provider, the MO-FSM is forwarded to the SMSC. Otherwise, a backward message is created containing a MAP error code.  
         [0210]    Detailed Description of the Service:  
         [0211]    [0211]FIG. 1 depicts the SDL diagram of the generic structure of a SAS Application Service. Details to the individual steps can be found in the following sub-chapters.  
         [0212]    Inbound Message Analysis:  
         [0213]    [0213]FIG. 2 shows the SDL diagram for Inbound Message Analysis and Inbound Digit Analysis.  
         [0214]    Application Specific Inbound Protocol Checks:  
         [0215]    The following checks are performed for the MAP FSM service:  
         [0216]    Check whether the MAP SM-RP-DA parameter contains the SMSC address. If not, continue with the current SCCP routing mechanism.  
         [0217]    Check whether the MAP SM-RP-OA parameter contains a MSISDN. If not, continue with the current SCCP routing mechanism.  
         [0218]    Check whether the MSISDN is a valid number, e.g. check the numbering plan correctness. If not, continue with the current SCCP routing mechanism.  
         [0219]    NoAI Analysis:  
         [0220]    If all inbound protocol checks are passed successfully the NoAI of the SM-RP-OA MSISDN is extracted. In case the NoAI is not supported continue with the current SCCP routing mechanism. Otherwise select a NoAI specific analysis string. This string specifies which auxiliary number parts are existing and which of them are mandatory or optional.  
         [0221]    Inbound Digit Analysis:  
         [0222]    The inbound digit analysis is performed together with the analysis string.  
         [0223]    [0223]FIG. 2 shows Inbound Address Analysis and Inbound Digit Analysis.  
         [0224]    Service Decision:  
         [0225]    [0225]FIG. 17 shows the generic SDL diagram for the Service Decision. The individual steps are described below.  
         [0226]    Database Search  
         [0227]    The extracted core part of the MSISDN is used as a key for searching in the number portability database. The search algorithm is depicted in FIG. 4. Examples for E.164 Single Number and Range Number Tables can be found in Table 1 and Table 2. Table 3 is an example for a related Service Control Data Table and Table shows a Service Control Slots Configuration Table.  
         [0228]    Application Specific Evaluation of DB Search Indications  
         [0229]    If the DB search result is different from MATCH in SINGLE TABLE/MATCH in RANGE TABLE the Not Found Response Action is executed. This action is configurable and is either set to Continue Routing or Return an Error.  
         [0230]    In any other case one of the following response actions is selected:  
         [0231]    Return an Error  
         [0232]    Continue Routing with the current SCCP routing mechanism  
         [0233]    Continue Routing with Routing Number Replacement  
         [0234]    Continue Routing with Routing Number Prefix  
         [0235]    This response action is configuration controlled and depends on the Service Control Data Record, the Number Type, the Portability Status and other configuration data items.  
         [0236]    [0236]FIG. 4 shows Database Search in E.164 Single Number and Range Number Tables.  
         [0237]    Table 1 shows an Example for an E.164 Single Number Table.  
         [0238]    Table 2 shows an Example for an E.164 Range Number Table.  
         [0239]    Notes to Table 1 and Table 2: Due to space reasons only three Service Control Data Slots are shown instead of five.  
         [0240]    Table 3 shows an Example for a Service Control Data Table.  
         [0241]    Table 4 shows an Example for a Service Control Slots Configuration Table.  
         [0242]    Outbound Message Synthesis:  
         [0243]    [0243]FIG. 5 shows generic aspects of the outbound message synthesis. For the MAP FSM service the following rules apply:  
         [0244]    If the response action indicates Return Error, a TCAP Error message is returned containing a MAP error code.  
         [0245]    If the response action indicates Continue Routing without Routing Number, the message shall be forwarded based on the current SCCP routing mechanism.  
         [0246]    If the response action indicates Continue Routing with Routing Number Replacement, then the SCCP called party Global Address Title is replaced by the Routing Number, which is retrieved from the Service Control Data Table.  
         [0247]    If the response action indicates Continue Routing with Routing Number Prefix, then the SCCP called party Global Address Title is set to the following value:  
         [CC]+RN+SN  
         [0248]    [0248]FIG. 5 shows Generic Aspects of Outbound Message Synthesis.  
         [0249]    Configuration tables control Outbound Message Synthesis. The configuration tables of the Outbound Message Synthesis are illustrated by an example (see Tables 10-12 and Tables 23-27). The SAS Application Service is the same as the one used above, MAP FSM (with a response action set to Continue Routing with Routing Number Prefix).  
         [0250]    An Output Address includes the triple (NoAI, Numbering Plan, Digit String). The Output Digit String Configuration Table specifies the necessary output digit strings of the SAS Application Service, including a NoAI 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 23                           Example for the definition of the Output Digit String Configuration       Table.       Output Digit String Configuration Table                Output       Nature of       Auxiliary       SAS Application   Digit   Auxiliary   Address   Auxiliary Number   Number       Service Id   String Id   Number Name   Indicator   Presence   Position               MAP-FSM   1   RN   National   Always   Prefix-0       MAP-FSM   1   Nat1   National   Copy Input   Nat1       MAP-FSM   1   Nat2   National   Copy Input   Nat2                  
 
         [0251]    [0251]                                 TABLE 24                           Output Digit String to Protocol Element Mapping       Table for Table 23.       Output Digit String To Protocol Element Mapping Table            SAS Application   Output Digit   Protocol   Output Digit       Service Id   String Id   Element Id   String Option               MAP-FSM   1   SCCP CdPA GTA   1                    
         [0252]    [0252]                             TABLE 25                           Input Digit String To Output Digit String Mapping for Table 23.       Input Digit String To Output Digit String Mapping Table            SAS Application Service Id   Output Digit String Id   Input Digit String Id               MAP-FSM   1   2                    
         [0253]    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.  
         [0254]    There are the following configurable outbound actions for this Service Handler:  
         [0255]    Relay MO_Forward_SM message.  
         [0256]    Return TCAP Error with configurable Error Code.  
         [0257]    Concatenate with other Service Handler.  
         [0258]    Discard Message.  
         [0259]    Store Message in local SAS file.  
                                             TABLE 26                           Definition of the SAS Application Service Specific Outbound Processing       Configuration Table Example - Normal Completion.       SAS Application Service Specific Outbound Processing Configuration Table - Normal       Completion            SAS               Service   Output   Nature       Application               Control   Digit   of       Service       Portability   Response Action   Data   String   Address       Id   Number Type   Status   Id1   Slot Id   Id   Indicator               MAP-FSM   MSISDN   ONNPO   Relay MAP   None   None   NULL                   MO-FSM message       MAP-FSM   MSISDN   ONPO   Send TCAP Error   None   None   NULL       MAP-FSM   MSISDN   FNPI   Relay MAP   None   None   NULL                   MO-FSM message       MAP-FSM   MSISDN   FNP2AFN   Send TCAP Error   None   None   NULL       MAP-FSM   MSISDN   FNNK2BP   Send TCAP Error   None   None   NULL                                                                  
 
         [0260]    Note to Table 26: In this example the MO-FSM message is just forwarded based on the current SCCP routing mechanism without changing the SCCP CdPA GTA.  
                                         TABLE 27                           Definition of the SAS Application Service Specific       Outbound Processing Configuration Table       Example - Abnormal Completion.       SAS Application Service Specific Outbound Processing       Configuration Table - Abnormal Completion                SAS                           Application       Re-   Output   Nature       SAS   Specific   Response   sponse   Digit   of       Application   Abnormal   Action   Action   String   Address       Service Id   Condition Id   Id1   Id2   Id   Indicator               MAP-FSM   NO MATCH   Send TCAP   None   None   NULL               Error       MAP-FSM   Error1   Send TCAP   None   None   NULL               Error                  
 
         [0261]    Configuration Data:  
         [0262]    Configuration Items for Loop Detection:  
         [0263]    Table 10 shows Details of the Loop Detection Status Configuration Table.  
         [0264]    Note: For the MAP FSM service the loop detection status is always set to Disabled.  
         [0265]    Configuration Items for Outbound Digits Synthesis:  
         [0266]    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 11 presents the information necessary to specify an output digit string. Table 12 specifies the mapping between the Input Digit String to the Output Digit String. Table 13 specifies the mapping between the Output Digit String and the Protocol Element.  
         [0267]    Table 11 shows Details of the Output Digit String Configuration Table.  
         [0268]    Table 12 shows Details of the Input Digit String to Output Digit String Mapping Table.  
         [0269]    Table 13 shows Details of the Input Digit String to Protocol Element Mapping Table.  
         [0270]    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 Number Type, Portability Status). A table has to be present to specify this configuration data.  
         [0271]    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. In the future the same principle can be applied to other number parts as well.  
         [0272]    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 in the future the same principle can be applied to other number parts as well.  
         [0273]    Table 14 shows Details of the SAS Application Service Specific Outbound Processing Configuration Table—Normal Completion.  
         [0274]    Table 14 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 specified in Table 15.  
         [0275]    Table 15 shows Details of the SAS Application Service Specific Outbound Processing Configuration Table—Abnormal Completion.  
         [0276]    Scenarios:  
         [0277]    [0277]FIG. 18 shows a FSM Scenario for a Regular or Imported Subscriber.  
         [0278]    [0278]FIG. 19 shows a FSM Scenario for an Illegal Subscriber.  
       FOURTH EMBODIMENT OF THE INVENTION  
       [0279]    Fixed SCCP Routing  
         [0280]    Short Description:  
         [0281]    This service realizes Number Portability on SCCP level for fixed networks (Signalling Relay Function (SRF)).  
         [0282]    [0282]FIG. 1 depicts the SDL diagram of the Generic Structure of a SAS Application Service.  
         [0283]    The three stages are described in detail as follows:  
         [0284]    Stage 1—Inbound Message Analysis: This stage starts with some service specific inbound protocol checks. Depending on the NoA (Nature of Address) a specific analyse string is chosen. That analyse string describes which auxiliary number parts are mandatory or optionally. 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. If ambiguous then one or more digits are requested, depending on service specific configuration items. When the analysis of the auxiliary number parts terminates successfully, then the second stage starts. Each auxiliary number part 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.  
         [0285]    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.  
         [0286]    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.  
         [0287]    [0287]FIG. 2 shows Inbound Address Analysis and Inbound Digit Analysis.  
         [0288]    [0288]FIG. 3 shows Service Decision.  
         [0289]    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. 3 depicts the SDL diagram of the Service Decision.  
         [0290]    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. Both, the application specific evaluations and the decision for further database searches, depend on the SAS Application Service&#39;s service logic, configurable items and other things.  
         [0291]    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.  
         [0292]    [0292]FIG. 1 shows Database Search in E.164 and MSIN Based Single Number and Range Number Tables  
         [0293]    Table 1 shows E.164 Single Number Table for the Example.  
         [0294]    Table 2 shows E.164 Range Number Table for the Example.  
         [0295]    Table 3 shows Service Control Data Table for the Example.  
         [0296]    Table 4 shows Auxiliary Number Table for the Example.  
         [0297]    Detection of Loops and other Inconsistencies:  
         [0298]    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.  
         [0299]    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.  
         [0300]    Generic Loop Detection Analysis:  
         [0301]    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.  
         [0302]    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.  
         [0303]    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.  
         [0304]    [0304]FIG. 5 shows Generic Loop Detection Analysis.  
                                         TABLE 28                           Loop Detection Status And Action Configuration Table for the Example.                                Loop                           Detection       SAS Application           Number   Portability   State And       Service Id   SAS Database Id   SAS Database Table Id   Type   Status   Action               FNP-SRF   FNP E.164 Database 0   E.164 Single Number Table   MSISDN   ONNPO   Disabled       FNP-SRF   FNP E.164 Database 0   E.164 Single Number Table   MSISDN   ONPO   Discard,                           Counter       FNP-SRF   FNP E.164 Database 0   E.164 Single Number Table   MSISDN   FNPI   Discard,                           Counter       FNP-SRF   FNP E.164 Database 0   E.164 Single Number Table   MSISDN   FNP2AFN   Discard,                           Counter       FNP-SRF   FNP E.164 Database 0   E.164 Single Number Table   MSISDN   FNNK2BP   Disabled       FNP-SRF   FNP E.164 Database 0   E.164 Range Number Table   MSISDN   ONNPO   Discard,                           Counter       FNP-SRF   FNP E.164 Database 0   E.164 Range Number Table   MSISDN   ONPO   Disabled       FNP-SRF   FNP E.164 Database 0   E.164 Range Number Table   MSISDN   FNPI   Disabled       FNP-SRF   FNP E.164 Database 0   E.164 Range Number Table   MSISDN   FNP2AFN   Disabled       FNP-SRF   FNP E.164 Database 0   E.164 Range Number Table   MSISDN   FNNK2BP   Discard,                           Counter                                                                  
 
         [0305]    [0305]FIG. 6 shows Generic Aspects of Outbound Message Synthesis.  
         [0306]    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: FNP-Signalling Relay Function (FNP-SRF).  
         [0307]    An Output Address includes the triple (NoAI, Numbering Plan, Digit String). The Output Digit String Configuration Table specifies the necessary output digit strings of the SAS Application Service, including a NoAI 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 29                           Definition of the Output Digit String Configuration Table for the       Example.       Output Digit String Configuration Table                Output       Nature of       Auxiliary       SAS Application   Digit   Auxiliary   Address   Auxiliary Number   Number       Service Id   String Id   Number Name   Indicator   Presence   Position               FNP-SRF   1   INRN   International   Modified Input   Prefix-0       FNP-SRF   1   Nat1   International   Copy Input   Nat1                  
 
         [0308]    [0308]                                 TABLE 30                           Output Digit String To Protocol Element Mapping       Table for Table 29.       Output Digit String To Protocol Element Mapping Table            SAS Application   Output Digit   Protocol   Output Digit       Service Id   String Id   Element Id   String Option               FNP-SRF   1   SCCP UDT Message   1                    
         [0309]    [0309]                             TABLE 31                           Input Digit String To Output Digit string Mapping       Table for Table 29.       Input Digit String To Output Digit String Mapping Table            SAS Application Service Id   Output Digit String Id   Input Digit String Id               FNP-SRF   1   1       FNP-SRF   1   2       FNP-SRF   1   3       FNP-SRF   1   4                    
         [0310]    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.  
         [0311]    There are the following configurable outbound actions for this Service Handler:  
         [0312]    Terminate SCCP Message: Calling Party Address and Called Party Address are swapped and then the SCCP message is sent back to the STP Core.  
         [0313]    Relay SCCP Message: Calling Party Address and Called Party Address remain are not swapped and then the SCCP message is sent back to the STP Core.  
         [0314]    Return UDTS/XUDTS/LUDTS Message: based on the received SCCP message type, the corresponding Service message type is generated, Calling Party Address and Called Party Address are swapped, and then the SCCP message is sent back to the STP Core.  
         [0315]    Forward SCCP Message to other Service Handler.  
         [0316]    Manipulate output digit string according to contents in SAS Application Service Specific Outbound Digit Sting Preparation Configuration Table.  
         [0317]    Discard Message.  
         [0318]    Store Message in local SAS file.  
                                                                           TABLE 32                           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                                Output                           Service   Digit   Nature of       SAS Application   Number   Portability       Control Data   String   Address       Service Id   Type   Status   Response Action Id1   Slot Id   Id   Indicator                    FNP-SRF   MSISDN   ONNPO   Send SCCP UDT   1 [HLR-SCA].   1.   International       FNP-SRF   MSISDN   ONPO   Send SCCP UDT   1 [HLR-SCA]   1   International       FNP-SRF   MSISDN   FNPI   Send SCCP UDT   1 [HLR-SCA]   1   International       FNP-SRF   MSISDN   FNP2AFN   Send SCCP UDT   1 [HLR-SCA]   1   International       FNP-SRF   MSISDN   FNNK2BP   Send SCCP UDT   1 [HLR-SCA]   1   International                                                                  
 
         [0319]    [0319]                                         TABLE 33                           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                SAS Application           Output   Nature of       SAS Application   Specific Abnormal   Response Action   Response Action   Digit   Address       Service Id   Condition Id   Id1   Id2   String Id   Indicator               FNP-SRF   NO MATCH   Return SCCP Message   SCCP return cause   None.   NULL               (Send UDTS)   value.       FNP-SRF   Number is   Continue with SCCP   none   None.   NULL           ambiguous   routing (forward               incoming SCCP UDT)                    
         [0320]    [0320]                                                       TABLE 34                           Details of the SAS Application Service Specific Outbound Digit String       Preparation Configuration Table       SAS Application Service Specific Outbound Digit String Preparation Configuration Table            Attribute   Format   Values   Description                    SAS Application   2   Byte   Any valid SAS Application   Primary Key.       Service Id           Service Id       Output Digit String   3   Byte   Any valid Input Digit String   Partial foreign key into the Structure of Output Digit String Configuration       Id           Id   Table SAS Application Service specific encoding Multiple output digit strings per                       Protocol Element are possible.       Output Digit String   1   Byte   Any valid common   This attribute identifies the Output Digit String Element onto which the       Component Id           encoding of Service   digit preparation applies. It is possible to specify here the complete                   Control Data Type and   Output Digit String by using the mnemonic “Total Digit String”                   Auxiliary Number Name.       Cut Position   1   Byte   Positive Integer values 0-255.   Effect:                       0: The Digit Preparation is specified by means of the Cut Match                       Length/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.       Cut Length   1   Byte   Positive Integer values 0-255.   Effect:                       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.       Cut Match Length   ½   Byte   Positive Integer values 0-15.   Length in digits of the Cut Match Value. 0 means that there is no Cut Match                       Value.       Cut Match Value   7 ½   Byte   Digit String with up 15   The Cut Match Value is a sequence of digits, which if found in search                   Digits.   from left to right, shall be replaced by the Paste Value.       Paste Length   ½   Byte   Positive Integer values 0-15.   Length in digits of the Paste Value. 0 means that there is no Paste Value.       Paste Value   7 ½   Byte   Digit String with up 15   Value which shall be inserted at the Cut Position, or which shall replace the Cut                   Digits.   Match Value.                    
         [0321]    Configuration Data:  
         [0322]    Table 11 shows Details of the Loop Detection Status Configuration Table.  
         [0323]    Configuration Items for Outbound Digits Synthesis:  
         [0324]    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 12 presents the information necessary to specify an input digit string. Table 13 specifies the mapping between the Input Digit String to the Output Digit String. Table 14 specifies the mapping between the Output Digit String and the Protocol Element.  
         [0325]    Table 12 shows Details of the Output Digit String Configuration Table.  
         [0326]    Table 13 shows Details of the Input Digit String To Output Digit String Mapping Table.  
         [0327]    Table 14 shows Details of the Input Digit String To Protocol Element Mapping Table.  
         [0328]    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.  
         [0329]    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 same principle can in the future be applied to other number ports as well.  
         [0330]    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.  
         [0331]    Table 15 shows Details of the SAS Application Service Specific Outbound Processing Configuration Table—Normal Completion.  
         [0332]    Table 15 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 33.  
         [0333]    Table 16 shows Details of the SAS Application Service Specific Outbound Processing Configuration Table—Abnormal Completion.  
         [0334]    Scenarios:  
         [0335]    [0335]FIG. 20 shows a Query Response Scenario—Direct Response.  
         [0336]    [0336]FIG. 21 shows a Query Response Scenario (Unsuccessful)—With SCCP UDTS.  
         [0337]    [0337]FIG. 22 shows a Query Response Scenario (Unsuccessful)—Continue With SCCP Routing.  
       FIFTH EMBODIMENT OF THE INVENTION  
       [0338]    CAP IDP Relay Mobile Number Portability  
         [0339]    Short Description  
         [0340]    This service includes CAP IDP Relay MNP (Mobile Number Portability) with optionally voice mail. All these combinations are configurable.  
         [0341]    In short, the service use the address information contained in the CAP IDP data to interrogate the subscriber database. The contents of the database (i.e. Routing Numbers) are inserted into the data layer address information and the IDP message is onward routed.  
         [0342]    [0342]FIG. 1 depicts the SDL diagram of the Generic Structure of the CAP IDP Relay Application Service.  
         [0343]    The three stages of the Application Service  
         [0344]    Inbound Message Analysis:  
         [0345]    [0345]FIG. 2 shows Inbound Address Analysis and Inbound Digit Analysis.  
         [0346]    This stage starts with service specific inbound protocol checks. The evaluation of the ‘Service Key’ parameter and optionally the ‘Event Type BCSM’ parameter allows for only specific CAP IDP operations to be processed. If data is provisioned by the user into the CAP IDP parameter “Service Key/Event Type BCSM List” then the values of these CAP IDP parameters are compared against the data that is provisioned within the list. There will be another check for the Calling Party Number parameter. The CAP IDP involves either the ‘Called Party BCD Number’ parameter or the ‘Called Party Number’ parameter.  
         [0347]    Depending on the NoAI (Nature of Address) a specific analyse string is chosen. That analyse string describes which auxiliary number parts are mandatory or optionally. 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. Each auxiliary number part 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. If an unsupported Nature of Address is received, then the signalling message shall continue with the current SCCP routing mechanism.  
         [0348]    Service Decision:  
         [0349]    [0349]FIG. 17 shows Service Decision.  
         [0350]    This stage analyses the core part of the received number in the Single Number and Range Number tables. The Extended Match Indicator is to be used if required. 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.  
         [0351]    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. 17 depicts the SDL diagram of the Service Decision.  
         [0352]    Database Search:  
         [0353]    The Evaluation of Database Search Indication is a SAS Application Service specific matter, also the decision whether or not to perform another SAS Database search. The Application Specific Evaluation of Database Search Indications includes some specific actions. 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.  
         [0354]    [0354]FIG. 4 shows Database Search in E.164 and MSIN Based Single Number and Range Number Tables.  
         [0355]    Table 1 shows E.164 Single Number Table for the Example.  
         [0356]    Table 2 shows E.164 Range Number Table for the Example.  
         [0357]    Table 3 shows Service Control Data Table for the Example.  
         [0358]    Table 4 shows Service Control Slots Configuration Table for the Example.  
         [0359]    Outbound Message Synthesis:  
         [0360]    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.  
         [0361]    [0361]FIG. 5 shows Generic Aspects of Outbound Message Synthesis.  
         [0362]    Configuration tables control the 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 in the Cap IDP Relay with Optional Voice Mail Inter-working.  
         [0363]    An Output Address includes the triple (NoAI, Numbering Plan, Digit String). The Output Digit String Configuration Table specifies the necessary output digit strings of the SAS Application Service, including a NoAI 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 35                           Definition of the Output Digit String Configuration Table for the       Example.       Output Digit String Configuration Table                Output       Nature of       Auxiliary       SAS Application   Digit   Auxiliary   Address   Auxiliary Number   Number       Service Id   String Id   Number Name   Indicator   Presence   Position               MNP-CAP-RELAY-IW   1   INRN   Subscriber   Modified Input   Prefix-0       MNP-CAP-RELAY-IW   1   EC1   Subscriber   Modified Input   Prefix-1       MNP-CAP-RELAY-IW   1   Nat1   Subscriber   Copy Input   Nat1       MNP-CAP-RELAY-IW   1   VMSC-INI   Subscriber   Copy Input   Infix-0       MNP-CAP-RELAY-IW   1   Nat2   Subscriber   Copy Input   Nat2                  
 
         [0364]    [0364]                                 TABLE 36                           Output Digit String to Protocol Element Mapping       Table for Table 35.       Output Digit String To Protocol Element Mapping Table            SAS Application   Output Digit   Protocol   Output Digit       Service Id   String Id   Element Id   String Option               MNP-CAP-RELAY-   1   CAP IDP Relay   1       IW                    
         [0365]    [0365]                             TABLE 37                           Input Digit String to Output Digit String Mapping       Table for Table 35.       Input Digit String To Output Digit String Mapping Table            SAS Application Service Id   Output Digit String Id   Input Digit String Id               MNP-CAP-RELAY-IW   1   1       MNP-CAP-RELAY-IW   1   2       MNP-CAP-RELAY-IW   1   3       MNP-CAP-RELAY-IW   1   4                    
         [0366]    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.  
         [0367]    There is only one configurable outbound action for this Service Handler:  
         [0368]    Send CAP IDP Relay. The effect is as follows:  
         [0369]    The received CAP IDP operation is relayed exactly as received, except for the parameter CalledPartyNumber. Depending on the outcome of the database query in the Service Decision Phase, and the field Service Control Data Slot Id of the SAS Application Service Specific Outbound Processing Configuration Tables, the parameter CalledPartyNumber is modified by inserting the Inter-Network Routing Number. If no value for the Service Control Data Slot Id is provisioned, the parameter CalledPartyNumber is not changed.  
         [0370]    Concatenate with other Service Handler.  
         [0371]    Discard Message.  
         [0372]    Store Message in local SAS file.  
                                             TABLE 38                           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                            Service   Output   Nature of       SAS Application   Number   Portability       Control Data   Digit   Address       Service Id   Type   Status   Response Action Id1   Slot Id   String Id   Indicator               MNP-CAP-RELAY-IW   MSISDN   ONNPO   Send CAP IDP (Relay)   None.   None.   NULL                   Operation       MNP-CAP-RELAY-IW   MSISDN   ONPO   Send CAP IDP (Relay)   0 [INRN]   1   Subscriber                   Operation       MNP-CAP-RELAY-IW   MSISDN   FNPI   Send CAP IDP (Relay)   0 [INRN]   1   Subscriber                   Operation       MNP-CAP-RELAY-IW   MSISDN   FNP2AFN   Send CAP IDP (Relay)   0 [INRN]   1   Subscriber                   Operation       MNP-CAP-RELAY-IW   MSISDN   FNNK2BP   Send CAP IDP (Relay)   None.   None.   NULL                   Operation                                                                  
 
         [0373]    [0373]                                         TABLE 39                           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                SAS Application           Output   Nature of       SAS Application   Specific Abnormal   Response Action   Response Action   Digit   Address       Service Id   Condition Id   Id1   Id2   String Id   Indicator               MNP-CAP-RELAY-IW   NO MATCH   Send CAP IDP (Relay)   None.   None.   NULL               Operation       MNP-CAP-RELAY-IW   AMBIGOUS   Send CAP IDP (Relay)   None   None   NULL               Operation       MNP-CAP-RELAY-IW   Error1   Send CAP IDP (Relay)   None.   None.   NULL               Operation                    
         [0374]    Configuration Data:  
         [0375]    Configuration Items for Outbound Digits Synthesis:  
         [0376]    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 12 presents the information necessary to specify an input digit string. Table 13 specifies the mapping between the Input Digit String to the Output Digit String. Table 14 specifies the mapping between the Output Digit String and the Protocol Element.  
         [0377]    Table 12 shows Details of the Output Digit String Configuration Table.  
         [0378]    Table 13 shows Details of the Input Digit String to Output Digit String Mapping Table.  
         [0379]    Table 14 shows Details of the Input Digit String to Protocol Element Mapping Table.  
         [0380]    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.  
         [0381]    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 same principle can in the future be applied to other number parts as well.  
         [0382]    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.  
         [0383]    Table 15 shows Details of the SAS Application Service Specific Outbound Processing Configuration Table—Normal Completion.  
         [0384]    Table 15 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 39.  
         [0385]    Table 16 shows Details of the SAS Application Service Specific Outbound Processing Configuration Table—Abnormal Completion.  
         [0386]    Scenarios:  
         [0387]    [0387]FIG. 23 shows a Relay Scenario (Successful).  
         [0388]    [0388]FIG. 24 shows an alternative Relay Scenario (Successful).  
         [0389]    [0389]FIG. 25 shows a Relay Scenario (Unsuccessful).  
       SIXTH EMBODIMENT OF THE INVENTION  
       [0390]    INAP IDP Relay (Prepaid INV)  
         [0391]    Short Description:  
         [0392]    This service includes INAP IDP Relay (Prepaid/I/W) with optionally voice mail; IDP=Initial DP. All these combinations are configurable.  
         [0393]    In short, the service use the address information contained in the INAP IDP data to interrogate the subscriber database. The contents of the database (i.e. Routing Numbers) are inserted into the data layer address information and the IDP message is onward routed.  
         [0394]    [0394]FIG. 1 depicts the SDL diagram of the Generic Structure of the INAP IDP Relay Application Service.  
         [0395]    The three stages of the Application Service:  
         [0396]    Inbound Message Analysis:  
         [0397]    [0397]FIG. 2 shows Inbound Address Analysis and Inbound Digit Analysis.  
         [0398]    This stage starts with service specific inbound protocol checks. The evaluation of the ‘Service Key’ parameter and optionally the ‘Event Type BCSM’ parameter allows for only specific INAP IDP operations to be processed. If data is provisioned by the user into the INAP IDP parameter “Service Key/Event Type BCSM List” then the values of these INAP IDP parameters are compared against the data that is provisioned within the list. There will be another check for the Calling Party Number parameter. The INAP IDP involves either the ‘Called Party BCD Number’ parameter or the ‘Called Party Number’ parameter.  
         [0399]    Depending on the NoAI (Nature of Address) a specific analyse string is chosen. That analyse string describes which auxiliary number parts are mandatory or optionally. 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. Each auxiliary number part 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. If an unsupported Nature of Address is received, then the signalling message shall continue with the current SCCP routing mechanism.  
         [0400]    Service Decision:  
         [0401]    [0401]FIG. 17 shows Service Decision.  
         [0402]    This stage analyses the core part of the received number in the Single Number and Range Number tables. The Extended Match Indicator is to be used if required. 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.  
         [0403]    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. 17 depicts the SDL diagram of the Service Decision.  
         [0404]    Database Search:  
         [0405]    The Evaluation of Database Search Indication is a SAS Application Service specific matter, also the decision whether or not to perform another SAS Database search. The Application Specific Evaluation of Database Search Indications includes some specific actions. 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.  
         [0406]    [0406]FIG. 4 shows Database Search in E.164 and MSIN Based Single Number and Range Number Tables.  
         [0407]    Table 1 shows E.164 Single Number Table for the Example.  
         [0408]    Table 2 shows E.164 Range Number Table for the Example.  
         [0409]    Table 3 shows Service Control Data Table for the Example.  
         [0410]    Table 4 shows Service Control Slots Configuration Table for the Example.  
         [0411]    Outbound Message Synthesis:  
         [0412]    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.  
         [0413]    [0413]FIG. 5 shows Generic Aspects of Outbound Message Synthesis.  
         [0414]    Configuration tables control the 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 in the INAP IDP Relay with Optional Voice Mail Inter-working.  
         [0415]    An Output Address includes the triple (NoAI, Numbering Plan, Digit String). The Output Digit String Configuration Table specifies the necessary output digit strings of the SAS Application Service, including a NoAI 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 40                           Definition of the Output Digit String Configuration Table for the       Example.       Output Digit String Configuration Table                Output       Nature of       Auxiliary       SAS Application   Digit   Auxiliary   Address   Auxiliary Number   Number       Service Id   String Id   Number Name   Indicator   Presence   Position               INAP-IDP-RELAY-I/W   1   INRN   Subscriber   Modified Input   Prefix-0       INAP-IDP-RELAY-I/W   1   EC1   Subscriber   Modified Input   Prefix-1       INAP-IDP-RELAY-I/W   1   Nat1   Subscriber   Copy Input   Nat1       INAP-IDP-RELAY-I/W   1   VMSC-INI   Subscriber   Copy Input   Infix-0       INAP-IDP-RELAY-I/W   1   Nat2   Subscriber   Copy Input   Nat2                  
 
         [0416]    [0416]                                 TABLE 41                           Output Digit String to Protocol Element Mapping       Table for Table 40.       Output Digit String To Protocol Element Mapping Table            SAS Application   Output Digit   Protocol   Output Digit       Service Id   String Id   Element Id   String Option               INAP-IDP-RELAY-   1   NAP IDP Relay   1       I/W                    
         [0417]    [0417]                             TABLE 42                           Input Digit String to Output Digit String Mapping       Table for Table 40.       Input Digit String To Output Digit String Mapping Table            SAS Application Service Id   Output Digit String Id   Input Digit String Id               INAP-IDP-RELAY-I/W   1   1       INAP-IDP-RELAY-I/W   1   2       INAP-IDP-RELAY-I/W   1   3       INAP-IDP-RELAY-I/W   1   4                    
         [0418]    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.  
         [0419]    There are only two configurable outbound actions for this Service Handler:  
         [0420]    Send INAP IDP Relay. The effect is as follows:  
         [0421]    The received INAP IDP operation is relayed exactly as received, except for the parameter CalledPartyNumber. Depending on the outcome of the database query in the Service Decision Phase, and the field Service Control Data Slot Id of the SAS Application Service Specific Outbound Processing Configuration Tables, the parameter CalledPartyNumber is modified by inserting the Inter-Network Routing Number. If no value for the Service Control Data Slot Id is provisioned, the parameter CalledPartyNumber is not changed.  
         [0422]    Concatenate with other Service Handler.  
         [0423]    Discard Message.  
         [0424]    Store Message in local SAS file.  
                                             TABLE 43                           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                            Service   Output   Nature of       SAS Application   Number   Portability       Control Data   Digit   Address       Service Id   Type   Status   Response Action Id1   Slot Id   String Id   Indicator               INAP-IDP-RELAY-I/W   MSISDN   ONNPO   Send INAP IDP (Relay)   None.   None.   NULL                   Operation       INAP-IDP-RELAY-I/W   MSISDN   ONPO   Send INAP IDP (Relay)   0 [INRN]   1   Subscriber                   Operation       INAP-IDP-RELAY-I/W   MSISDN   FNPI   Send INAP IDP (Relay)   0 [INRN]   1   Subscriber                   Operation       INAP-IDP-RELAY-I/W   MSISDN   FNP2AFN   Send INAP IDP (Relay)   0 [INRN]   1   Subscriber                   Operation       INAP-IDP-RELAY-I/W   MSISDN   FNNK2BP   Send INAP IDP (Relay)   None.   None.   NULL                   Operation                                                                  
 
         [0425]    [0425]                                         TABLE 44                           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                SAS Application           Output   Nature of       SAS Application   Specific Abnormal   Response Action   Response Action   Digit   Address       Service Id   Condition Id   Id1   Id2   String Id   Indicator               INAP-IDP-RELAY-I/W   NO MATCH   Send INAP IDP (Relay)   None.   None.   NULL               Operation       INAP-IDP-RELAY-I/W   AMBIGOUS   Send INAP IDP (Relay)   None   None   NULL               Operation       INAP-IDP-RELAY-I/W   Error1   Send INAP IDP (Relay)   None.   None.   NULL               Operation                    
         [0426]    Configuration Data:  
         [0427]    Configuration Items for Outbound Digits Synthesis:  
         [0428]    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 12 presents the information necessary to specify an input digit string. Table 13 specifies the mapping between the Input Digit String to the Output Digit String. Table 14 specifies the mapping between the Output Digit String and the Protocol Element.  
         [0429]    Table 12 shows Details of the Output Digit String Configuration Table.  
         [0430]    Table 13 shows Details of the Input Digit String to Output Digit String Mapping Table.  
         [0431]    Table 14 shows Details of the Input Digit String to Protocol Element Mapping Table.  
         [0432]    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.  
         [0433]    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 same principle can in the future be applied to other number parts as well.  
         [0434]    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.  
         [0435]    Table 15 shows Details of the SAS Application Service Specific Outbound Processing Configuration Table—Normal Completion.  
         [0436]    Table 15 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 44.  
         [0437]    Table 16 shows Details of the SAS Application Service Specific Outbound Processing Configuration Table—Abnormal Completion.  
         [0438]    Scenarios:  
         [0439]    [0439]FIG. 26 shows a Relay Scenario (Successful).  
         [0440]    [0440]FIG. 27 shows an alternative Relay Scenario (Successful).  
         [0441]    [0441]FIG. 28 shows a Relay Scenario (Unsuccessful).  
       SEVENTH EMBODIMENT OF THE INVENTION  
       [0442]    Mobile SCCP Routing  
         [0443]    Short Description:  
         [0444]    This service realizes Number Portability on SCCP level for mobile networks (e.g. Signalling Relay Function (SRF), Non Call Related Service (NCR), Flexible Routing (FLR)).  
         [0445]    [0445]FIG. 1 depicts the SDL diagram of the Generic Structure of a SAS Application Service.  
         [0446]    The three stages are described in detail as follows:  
         [0447]    Stage 1—Inbound Message Analysis: This stage starts with some service specific inbound protocol checks. Depending on the NoA (Nature of Address) a specific analyse string is chosen. That analyse string describes which auxiliary number parts are mandatory or optionally. 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. If ambiguous then one or more digits are requested, depending on service specific configuration items. When the analysis of the auxiliary number parts terminates successfully, then the second stage starts. Each auxiliary number part 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.  
         [0448]    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.  
         [0449]    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.  
         [0450]    [0450]FIG. 2 shows Inbound Address Analysis and Inbound Digit Analysis.  
         [0451]    [0451]FIG. 3 shows Service Decision.  
         [0452]    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. 3 depicts the SDL diagram of the Service Decision.  
         [0453]    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. Both, the application specific evaluations and the decision for further database searches, depend on the SAS Application Service&#39;s service logic, configurable items and other things.  
         [0454]    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.  
         [0455]    [0455]FIG. 4 shows Database Search in E.164 and MSIN Based Single Number and Range Number Tables.  
         [0456]    Table 1 shows E.164 Single Number Table for the Example.  
         [0457]    Table 2 shows E.164 Range Number Table for the Example.  
         [0458]    Table 3 shows Service Control Data Table for the Example.  
         [0459]    Table 4 shows Auxiliary Number Table for the Example.  
         [0460]    Detection of Loops and other Inconsistencies:  
         [0461]    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.  
         [0462]    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.  
         [0463]    Generic Loop Detection Analysis:  
         [0464]    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.  
         [0465]    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.  
         [0466]    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.  
         [0467]    [0467]FIG. 5 shows Generic Loop Detection Analysis.  
                                         TABLE 45                           Loop Detection Status And Action Configuration Table for the Example.                                Loop                           Detection       SAS Application           Number   Portability   State And       Service Id   SAS Database Id   SAS Database Table Id   Type   Status   Action               MNP-NCR   MNP E. 164 Database 0   E. 164 Single Number Table   MSISDN   ONNPO   Disabled       MNP-NCR   MNP E. 164 Database 0   E. 164 Single Number Table   MSISDN   ONPO   Discard,                           Counter       MNP-NCR   MNP E. 164 Database 0   E. 164 Single Number Table   MSISDN   FNPI   Discard,                           Counter       MNP-NCR   MNP E. 164 Database 0   E. 164 Single Number Table   MSISDN   FNP2AFN   Discard,                           Counter       MNP-NCR   MNP E. 164 Database 0   E. 164 Single Number Table   MSISDN   FNNK2BP   Disabled       MNP-NCR   MNP E. 164 Database 0   E. 164 Range Number Table   MSISDN   ONNPO   Discard,                           Counter       MNP-NCR   MNP E. 164 Database 0   E. 164 Range Number Table   MSISDN   ONPO   Disabled       MNP-NCR   MNP E. 164 Database 0   E. 164 Range Number Table   MSISDN   FNPI   Disabled       MNP-NCR   MNP E. 164 Database 0   E. 164 Range Number Table   MSISDN   FNP2AFN   Disabled       MNP-NCR   MNP E. 164 Database 0   E. 164 Range Number Table   MSISDN   FNNK2BP   Discard,                           Counter                                                                  
 
         [0468]    [0468]FIG. 6 shows Generic Aspects of Outbound Message Synthesis.  
         [0469]    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-Non Call Related Service (MNP-NCR).  
         [0470]    An Output Address includes the triple (NoAI, Numbering Plan, Digit String). The Output Digit String Configuration Table specifies the necessary output digit strings of the SAS Application Service, including a NoAI 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 46                           Definition of the Output Digit String Configuration Table for the       Example.       Output Digit String Configuration Table                Output       Nature of       Auxiliary       SAS Application   Digit   Auxiliary   Address   Auxiliary Number   Number       Service Id   String Id   Number Name   Indicator   Presence   Position               MNP-NCR   1   INRN   International   Modified Input   Prefix-0       MNP-NCR   1   Nat1   International   Copy Input   Nat1                  
 
         [0471]    [0471]                                 TABLE 47                           Output Digit String To Protocol Element Mapping       Table for Table 46.       Output Digit String To Protocol Element Mapping Table            SAS Application   Output Digit   Protocol   Output Digit       Service Id   String Id   Element Id   String Option               MNP-NCR   1   SCCP UDT Message   1                    
         [0472]    [0472]                             TABLE 48                           Input Digit String To Output Digit string Mapping       Table for Table 46.       Input Digit String To Output Digit String Mapping Table            SAS Application Service Id   Output Digit String Id   Input Digit String Id               MNP-NCR   1   1       MNP-NCR   1   2       MNP-NCR   1   3       MNP-NCR   1   4                    
         [0473]    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.  
         [0474]    There are the following configurable outbound actions for this Service Handler:  
         [0475]    Terminate SCCP Message: Calling Party Address and Called Party Address are swapped and then the SCCP message is sent back to the STP Core.  
         [0476]    Relay SCCP Message: Calling Party Address and Called Party Address remain are not swapped and then the SCCP message is sent back to the STP Core.  
         [0477]    Return UDTS/XUDTS/LUDTS Message: based on the received SCCP message type, the corresponding Service message type is generated, Calling Party Address and Called Party Address are swapped, and then the SCCP message is sent back to the STP Core.  
         [0478]    Forward SCCP Message to other Service Handler.  
         [0479]    Discard Message.  
         [0480]    Store Message in local SAS file.  
                                             TABLE 49                           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                                Output                           Service   Digit   Nature of       SAS Application   Number   Portability       Control Data   String   Address       Service Id   Type   Status   Response Action Id1   Slot Id   Id   Indicator               MNP-NCR   MSISDN   ONNPO   Send SCCP UDT   1 [HLR-SCA].   1.   International       MNP-NCR   MSISDN   ONPO   Send SCCP UDT   1 [HLR-SCA]   1   International       MNP-NCR   MSISDN   FNPI   Send SCCP UDT   1 [HLR-SCA]   1   International       MNP-NCR   MSISDN   FNP2AFN   Send SCCP UDT   1 [HLR-SCA]   1   International       MNP-NCR   MSISDN   FNNK2BP   Send SCCP UDT   1 [HLR-SCA]   1   International                                                                  
 
         [0481]    [0481]                                         TABLE 50                           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                SAS Application           Output   Nature of       SAS Application   Specific Abnormal   Response Action   Response Action   Digit   Address       Service Id   Condition Id   Id1   Id2   String Id   Indicator               MNP-NCR   NO MATCH   Return SCCP Message   SCCP return cause   None.   NULL               (Send UDTS)   value.       MNP-NCR   Number is   Continue with SCCP   none   None.   NULL           ambiguous   routing (forward               incoming SCCP UDT)                    
         [0482]    Configuration Data:  
         [0483]    Table 11 shows Details of the Loop Detection Status Configuration Table.  
         [0484]    Configuration Items for Outbound Digits Synthesis:  
         [0485]    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 12 presents the information necessary to specify an input digit string. Table 13 specifies the mapping between the Input Digit String to the Output Digit String. Table 14 specifies the mapping between the Output Digit String and the Protocol Element.  
         [0486]    Table 12 Details of the Output Digit String Configuration Table.  
         [0487]    Table 13 Details of the Input Digit String To Output Digit String Mapping Table.  
         [0488]    Table 14 Details of the Input Digit String To Protocol Element Mapping Table.  
         [0489]    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.  
         [0490]    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 same principle can in the future be applied to other number parts as well.  
         [0491]    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 ports as well.  
         [0492]    Table 15 shows Details of the SAS Application Service Specific Outbound Processing Configuration Table—Normal Completion.  
         [0493]    Table 15 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 50.  
         [0494]    Table 16 shows Details of the SAS Application Service Specific Outbound Processing Configuration Table—Abnormal Completion.  
         [0495]    Scenarios:  
         [0496]    [0496]FIG. 29 shows a Query Response Scenario—Direct Response.  
         [0497]    [0497]FIG. 30 shows a Query Response Scenario—Terminate TCAP Dialogue (depending on portability status).  
         [0498]    [0498]FIG. 31 shows a Query Response Scenario (Unsuccessful)—With SCCP UDTS. FIG. 32 shows a Query Response Scenario (Unsuccessful)—Continue With SCCP Routing.  
         [0499]    In all seven embodiments of the invention the specific configurations in the tables are examples. Other configurations are possible. The specific scenarios are also examples. Other scenarios are possible.  
         [0500]    The SAS and the SS7 signaling server are each able to process at least one SAS Application Service request. The SAS may process one, two, three, . . . , or seven different SAS Application Service requests according to the seven embodiments of the invention, thus implementing part of the embodiments or all seven at the same time, or may process alternatively or in addition other service requests. The functionality of the SAS can easily be modified by software reprogramming and reconfiguration. The same applys to the SS7 signaling server.