Intelligent Networking
‡ ‡ ‡ ‡ ‡ ‡ ‡ ‡ Overview Conceptual models Example services Configuration Programming Interface Programming examples Example program Debugging

IN - Introduction
‡ The Intelligent Network
Architecture to quickly create and deploy customer SERVICES Supports many services Is a standard - multi-vendor Distributed platform

‡ Example services supported by IN
Freephone Premium Rate Voice mail Call Diversion Call baring Local Number Portability UPT

. call processing and database processing ‡ The same functionality may be duplicated between multiple nodes ‡ Different implementations create inter-working problems make enhancements complex ‡ The network operator is unable to quickly respond to customer requests .. ‡ Local switch (service user access point) is monolithic and proprietary ‡ Local switch supports switching.The pre-IN years.

Pre-IN free-phone service Special µ800¶ exchange SSP 800 translation database Network routes call (signalling and voice) to special free phone exchange/ server Caller dials freephone 800 number 1-800-1234567 800 number is translated and forward routed to destination SSP PSTN Local exchange SSP Local exchange 1-755-997612 .

Classic IN physical Architecture Intelligent Peripheral Play-back announcements Service Control Point Control and database functions SCEP/ SMP Service Creation Environment Point/ Service Management Point Service administration SCP IP PSTN SSP Service Switching Point .physical circuit switching SS7 SSP .

Function of the IN SSP ‡ Point of subscription for the service USER (this is not necessarily the SUBSCRIBER) ‡ IN features Detection of IN calls Generation and transmission of queries a SCP Generate and transmit state information to the SCP (Bparty busy. B-party no answer) Record and transmit statistics to the SCP Process SCP requests and replies Service filtering .

send responses ‡ Call routing. parameter. time. service. subscriber dependant ‡ Control IP to play back standard announcements .Function of the IN SCP ‡ Parameter (service) validation and authentication ‡ Process requests from SSP.

Function of the IP ‡ ‡ The functionality integrated into a Service Switching Point often provides restricted capabilities only. They provide high storage capacity together with numerous functions: Standard announcements Information collection via DTMF Speaker independent voice recognition Customized announcements Fast modification/customization of announcements Speaker dependent voice recognition Complex dialogues controlled via internal scripts Provision of conferencing resources (defined in CS-2) . IPs are dedicated to user interaction. the main application being targeted towards general announcements.

Function of the SCEP/SMP ‡ Service Administration ‡ Development and introduction of new services ‡ Modification of exsisting services ‡ Provides a Service Creation Environment (generally a graphical interface) .

‡ The SSP analyses the number and determines that this is an IN call. ‡ The SCP instructs the SSP on how the call should continue. ‡ The SSP contacts the SCP to determine how the call should continue. to collect PIN).e.Generalised IN call flow ‡ User communicates with the SSP (dials the called party number). . modifying call data as appropriate to any subscribed services. ‡ The SCP can optionally obtain further caller information by instructing the IP to play back announcements (I.

Instructions IP 1. Off hook and dial number 4 Announcement SS7 Network SSP 7. Call progressed through to destination SSP . How should the call be processed? SCP 3 & 6.Simplified IN Call 2 & 5.

Freephone service Example SSP SCP 2.6 Multiple destinations SSP 3 1 SSP 4 SSP 5 .

the SCP translates the freephone number to the best fit destination. 4. The SCP sends the destination number back to the SSP and requests return of charging information once the call has completed. 2. 3. containing the called and calling party information. After the call is terminated. Calling party dials the freephone number (e. routing the call over the PSTN. On reception of the Query.g. 5. 0800 123456).Freephone Service 1. . A trigger set in the SSP causes an INAP query to be sent to the SCP. 6. The call is established. The SSP resumes call processing with the new destination address. the SSP sends charging information to the SCP.

5 SSP SSP .Televoting service Example SCP IP 4 3.6 1 2.

Televoting example 1. The SCP instructs the SSP to clear the call. 2. 5. 4. The IP informs the SSP that the announcement has been played and is complete. Switch recognises televoting call and sends a query to the SCP. The IP plays the announcement. Calling party dials the televoting number. The SCP sends a routing number of an appropriate IP able to play the televoting announcement. The SCP determines that a prompt indicating successful registration of the vote is required. The SSP sends the completion status to the SCP 6. The SCP analyses the dialled number and increments the appropriate vote count. . 3.

3 SSP SSP .Televoting service method (2) SCP IP 3 4 2 1.

Steps 2 and 3 may be repeated many times! .Televoting service method (2) 1 SCP initiates service filtering (televoting) at the SSP 2 Subscriber dials. the SSP reports the televote count to the SCP. or at specific defined time intervals set when the service was activated. SSP informs SCP that the specified service has been activated 3 SCP instructs the SSP to play an announcement (using the IP) and release the call once the announcement has completed. 4 After a specified time.

1219 Annex A for example service flows Abbreviated Dialing (ABD) Attendant (ATT) Authentication (AUTC) Autorisation Code (AUTZ) Automatic Call Back (ACB) Call Distribution (CD) Call Forwarding (CF) Call Forwarding on Busy/Don¶t Answer Call Gapping (GAP) Call Hold with Announcement (CHA) Call Limiter (LIM) Call Logging (LOG) Call Queuing (QUE) Call Transfer (TRA) Call Waiting (CW) Closed User Group (CUG) Consultation Calling (COC) Customer Profile Management (CPM) Customized Recorded Announcement (CRA) Customized Ringing (CRG) Destination User Prompter (DUP) Follow-Me Diversion (FMD) Mass Calling (MAS) Meet-Me Conference (MMC) Multiway Calling (MWC) Off-Net Access (OFA) Off-Net Calling (ONC) One Number (ONE) Origin Dependent Routing (ODR) Originating Call Screening (OCS) Originating User Prompter (OUP) Personal Numbering (PN) Premium Charging (PRMC) Private Numbering Plan (PNP) Reverse Charging (REVC) Split Charging (SPL) Terminating Call Screening (TCS) Time Dependent Routing (TDR) .IN CS-1 Benchmark services See Q.

and SCP and IP: May be ISUP.Circuit related ‡ Between SSP and SCP: To exchange control information. no physical bearer circuit exists between the SSP and SCP. This is non-circuit related or transaction based signalling. .Types of IN signalling ‡ Between SSPs: To directly control circuit switched connection or exchange information relating to a call that is in progress on a switched circuit (56 or 64kb/s) . INAP or proprietary. ‡ Between SSP and IP.

Protocol Model SSP IP SCP INAP ISUP TCAP SCCP MTP MTP ISUP INAP TCAP SCCP INAP TCAP SCCP MTP Note: There may also be an ISDN link between the SSP and IP .

message sequences. ‡ Defines message formats.ISUP ‡ To directly control switched circuit channels. .

‡ Provides routing and addressing control. ‡ Each entity that communicates using SCCP is identified by its point code and sub-system number (or global title).SCCP ‡ Signalling Connection Control Part ‡ A thin protocol layer allowing data to be exchanged between intelligent entities (subsystems) through the SS7 network. ‡ Communication may be session based (connection oriented SCCP) or connectionless .

‡ INAP uses structured dialog only.TCAP (or TC) ‡ Transaction Capabilities Application Part ‡ Provides a structure for the invocation of operations at remote intelligent entities. uses TC-UNI messages ‡ Structured dialogue .session based.non session based. ‡ An exchange of messages is called a transaction at the SCCP interface and a dialogue at the INAP interface. . requires BEGIN. ‡ Unstructured dialogue . ‡ Operations and their results are conveyed in components within each dialogue. END. CONTINUE.

Component handling One state machine per invoked operation on the invoking side Each operation is identified by an invoke_id. Operation timer Controls the duration of a invocation state machine. maintenance and close down of dialogues Each dialogue is identified by a dialogue_id. .TCAP control state machines Dialogue handling Establishment.

Communication TCAP & TCAP-User TC User Component Sublayer 1. Collect Components 3. 1. TCAP message SCCP MTP . All collected components of one dialog in one message 2. Transaction Sublayer 3. Single Components (primitives) 2.

TCAP dialogue primitives
TC-Begin.Req; TC-Begin.Ind TC-Continue.Req; TC-Continue.Ind TC-End.Req(Basic); TC-End.Ind(Basic) TC-End.Req(Prearranged): Local termination of the transaction TC-User-Abort.Req; TC-User-Abort.Ind: User Information informs about abort reasons (normal abort, error indication) TC-Provider-Abort.In: Sent by the transaction sub-layer of TCAP TC-Notice.Ind: Requested SCCP service was not available

TCAP component primitives
TC-Invoke.Req / Ind TC-Result.Last.Req / Ind TC-User-Error.Req / Ind TC-User-Reject.Req / Ind TC-Local-Reject.Ind / TC-Remote-Reject.Ind: Errors detected by TCAP: Those errors are
indicated to the user. The user decides whether the error shall be sent to the peer entity or not (controlled by sending the respective dialog handling primitive)

TC-Cancel.Req: TCAP user requests locally the abort of a previously invoked operation and the
cancellation of the related state

TC-Cancel.Ind: Indication of an operation timer expiration to the local TCAP user. (Interpretation
by the TCAP user depends on the operation class!)

IN Conceptual Model
Four planes (Q.120x) are used to model and abstract the IN functionality: Q.1202 - Service Plane (SP) Uppermost, describes services from the users perspective. Hides details of implementation from the user Q.1203 - Global Functional Plane (GFP) contains Service Independent Building Blocks (SIBs), reusable components to build services Q.1204 - Distributed Functional Plane (DFP) models the functionality in terms of units of network functionality, known as Functional Entities (FEs). The basis for IN execution in the DPF is the IN Basic Call State Model. Q.1205 - Physical Plane (PP) Real view of the physical network.

1212 (Not defined!) One number Reverse charging Service feature Service Plane Q.SP/GFP Service Q.1213 Translate Screen Basic call process Charging Global Functional Plane SIB .

‡ SIBs are independent of the IN Services. ‡ Some Service Creation Environments operate on SIBs . Screen. Log Call Information. ‡ It is independent of the physical implementation. with a specified number of inputs and outputs. ‡ CS-1 SIB examples: Authenticate. ‡ It is a re-useable building block. defining a complete activity.SIBs A SIB has the following characteristics: ‡ Exists in the Global Functional Plane. ‡ SIBs are combined to implement a Service. Charge. ‡ It has a defined interface.

‡ This interacts with the other SIBs.BCP and POI ‡ Special SIB called the Basic Call Process (BCP). CS-1 Points of Initiation Call originated Address collected Address analysed Call arrival Busy No Answer Call acceptance Active state End of call CS-1 Points of Return Continue with existing data Proceed with new data Handle as transit Clear call Provide call party handling Initiate call . ‡ The GFP defines the Point of Initiation (POI) and the Point of Return (POR) between the BCP and any other SIB or sequence of SIBs.

. i.e. This means that the ³busy´ situation shall not be monitored for during the second attempt.e. i. rerouting on ³busy´ or ³no answer´ If a re-routed call. meets a ³no answer´ situation then an announcement shall be played to the caller.Freephone modeling with CS-1 SIBs Translate Charge_1 (Calling free of charge) Charge_2 (Record for subscriber) Translate Translate UI SIB Chain 1 SIB Chain 2 POR POI Proceed Busy with new data SIB Chain 3 SIB Chain 4 POI Address Analyzed BCP Service Features POR POI POR POI POR Proceed No AnswerProceedNo Answer Clear with new with new Call data data Calling line is set free of charge The service subscriber is to be charged The first call attempt shall be routed to an alternative destination if the first destination is busy or does not answer. due to ³busy´ or ³no answer´ during the first attempt.

1213 Basic call process POI POR SIB n SIB n BCM Q.GFP/DFP (For CS-1) Global Functional Plane Q.1214 CCF SSF SCF SDF SRF Distributed Functional Plane Functional Entity .

Functional Entities ‡ Basic Call handling Call Control Agent Functions (CCAF) .additional media management ‡ Service Execution Functions Service Switching Functions (SSF) .service data SRF ‡ Service Management Functions System Management Functions (SMF) .MMI for SMF service Creation Environment Function (SCEF) .interface to SCF Service Control Function (SCF) . maintenance Service Management Agent Functions (SMAF) .service logic Service Data Function (SDF) .specification and testing .basic switching Specialised Resource Function (SRF) .service provisioning.models the users telephone Connection Control Function (CCF) .

FE and SIB association (CS-1) CCF/SCF Authenticate Algorithm Charge Compare Distribution Limit Log Call Information Queue Screen Service Data Mgt Status Notification Translate User Interaction Verify Basic Call Process SCF SRF SDF .

1215 Physical Plane INAP Communication .1214 SDF SSF SRF Distributed Functional Plane Functional Entity SCP SDF SSP IP Q.DFP and the Physical Plane SCF Q.

CS1 physical FE distribution SCP Voice Transport Signaling Optional FE SCF SDF SMAF SMF SCEF SMP IP SRF SDF SDP SN SCF SSF CCF SDF SRF SCF SSF CCF CCAF SDF SRF SSP SS7 Network .

Call Control Function and Specialized Resource Function A Service Node is able to provide complete services independent on other networks components Service Nodes may be also called Intelligent Network in a Box The mentioned functions represent the minimum function set of a Service Node. i. Service Switching Function. service creation and other areas. an IP provides capabilities necessary for services with user dialogues An IP is controlled by the service logic A Service Node (SN) comprises all functions needed to provide services (Service Control Function. Obviously there are additional functions useful concerning management. Service Node .e.FE definition of IP and SN Intelligent Peripheral ‡ ‡ ‡ ‡ ‡ ‡ An IP (Intelligent Peripheral) contains the Specialized Resource Function only. Service Data Function.

Service Node architecture INAP to SCP MAP to HLR Management SCEF INAP to SSP SCF SSF/ CCF SDF Bearer Control (DSS1 or ISUP) SRF .

ISUP) Reduction of #7 signaling load Lower traffic concentration . efficient and cheap (good cost performance ratio) implementation of services for small service providers Easy introduction into existing networks based on connection via standard signaling protocols (EDSS1.SN features ‡ ‡ ‡ ‡ ‡ ‡ ‡ Internal proprietary interfaces between its components The service logic can directly access the voice channel Besides voice now numerous data communication protocols and applications may be used Flexible.

‡ Electronic mail .Example SN capabilities ‡ Voice messaging subscribers record own messages which are distributed through the network (according to a distribution list). ‡ Short Message Service Gateway to email networks. ‡ Fax messaging Record fax messages during busy hour to retransmit during off-peak charing period.

‡ Each SIB is modelled by the SCF controlling other FE s.Service Modelling in the CS-1 DFP ‡ SIBs are modelled in the DFP by interactions between Functional entities. Basic call ‡ The BCP is modelled in the DFP by the Basic process Call State Model in the CCF. SIB n SIB n SCF CCF SSF SDF .

The Basic Call State Model ‡ BCSM ‡ Standard definition of call processing states and events ‡ Switch and manufacturer independent ‡ Trigger Detection Points are pre-defined in both the Originating Basic Call State Model OBCSM and the Termination Basic Call State Model (TBCSM) ‡ Non-interruptable sequences of processing are called Points-In-Call (PIC) .

. which may be armed (active) or not armed (inactive) ‡ DPs may be armed statically for a long period to implement a particular IN Service.IN Triggers ‡ A normal call becomes an IN call if a special condition is recognised during the call handling ‡ Recognition of such a condition triggers a query to an external control component (SCP) ‡ Recognition takes place at pre-defined Detection Points in the call handling.

Types of Triggers ‡ Two types of processing on satisfying a DP: Suspend call processing and request instructions Request : TDP_R Continue Call processing and issue Notification to SCF Notification : TDP_N .

O_Active 8 O_Mid_call . Analyse_info 4. O_Exception Point in Call (PIC) 2. Collect_info Collected_info 2 Route_select_failure 4 Analysed _info 3 5 O_No_Answer O_Answer 9 O_Disconnect 7 6 O_Called_party_busy Detection Point (DP) 3. Routing_&_alerting 5.CS-1 originating BCSM O_Abandon 10 1. O_Null & Authorise Origination_Attempt Orig_attempt Authorised 1 6.

network overload DP5 : O_Called_Party_Busy Destination busy DP6 : O_NO_Answer Caller does not answer in predefined time. Service Logic specifies the no answer time for SSP DP7 : O_Answer Called subscriber answers: SSP receives e. DP2 : Collected_Information Pre-defined number of dialed digits is collected DP3 : Analyzed_Information Dialed digits are analyzed DP4 : Route_Select_Failure Routing failed : no free channel. F-key) recognized during call DP9 : O_Disconnect A or B side hangs up DP10 : O_Abandon Call set-up discontinued by the A-side . an ANM DP8 : O_Mid_Call Signal (hook flash.g.OBCSM Triggers ‡ ‡ ‡ ‡ ‡ ‡ ‡ ‡ ‡ ‡ DP1 : Origination_attempt_authorized Call setup is recognized and authorized. dialed number not available.

Select Facility & Present Call Detection Point (DP) T_No_Answer 9.CS-1 Terminating BCSM T_Abandon 18 7. T_Exception T_Called_Party_busy 13 Point in Call (PIC) 8. T_Alerting 14 T_Answer 17 T_Disconnect 15 10. T_Active 16 T_Mid_call . T_Null & Authorise termination attempt Term_attempt Authorised 12 11.

the SSP receives the ANM DP16 : T_Mid_Call Signal (e. function key) is recognized during the active connection DP17 : T_Disconnect Either A-side or B-side hangs up DP18 : T_Abandon Call set-up aborted by the A-side. hook flash. can happen at any time and is considered normal .e. I.g.TBCSM Triggers ‡ DP12 : Termination_attempt_authorized an incoming call attempt is recognized and authorized ‡ ‡ ‡ ‡ ‡ ‡ DP13 : T_Called_Party_Busy Destination busy DP14 : T_No_Answer Called party does not answer during a given time DP15 : T_Answer Called line answers.

Initial DP . The set of information elements (data) carried depends on the DP encountered. High number of different information flows to . less paring effort. DP Specific Dedicated information exchange for each DP.Information Flows Two methods exsist for requesting SCF processing at a DP: DP Generic Only one information flow is used. Easy to process.

O_Disconn TC-CONTINUE Event: call.Freephone Example SSF SCF SDF 2 TDP-R Initial DP: fph. id = xxxxx Req BCSM event: O_Answer. id = xxxxx BCSM O_Disconnect. time TC-CONTINUE Event: call. 0-800-xxxxxx TC-BEGIN Connect: call. time TC-CONTINUE TC-END Analyse_info 3 Route_&_Alert 7 O_Active EDP-N 9 EDP-N . id = xxxxx BCSM O_Answer.

Operation: Initial DP ‡ Semantics: Report a trigger detection Establishes a control relationship between SSF and SCF ‡ Arguments: serviceKey calledPartyNumber callingPartyNumber bearerCapability redirectingPartyId .

Operation: Connect ‡ Semantics Transfer the determined destination number to the SSF Continue the call set-up ‡ Arguments: destinationRoutingAddress calledPartyNumber callingPartyNumber redirectingPartyId cutAndPaste .

Parameter: Cut and Paste ‡ Describes how the digit string should be processed. ± ± ± The Cut&Paste value instructs the SSP to remove the first Cut&Paste digits from the dialed digits. The digits received from the SCP then serve as the leading digits of the destination address which has to be formed. The digits already existing at the SSP will be added at the end ‡ Example: ± ± ± SSP receives 123456789 SCP instructs CutAndPaste = 4 and destination address = 503322 SSP generates destination address 503322 56789 .

timer for DP6) . (e.g.Operation: RequestReportBCSMEvent ‡ Semantics: ± arming of event detection point at the SSP for call monitoring ‡ Arguments: ± list of elements of type BCSMEvent ± Example: ‡ DP5 ( = busy) ‡ DP6 ( = no answer) ‡ . ± Specify DP specific conditions/parameters..

Operation: EventReportBCSM ‡ Semantics ± Reporting of detected event detection points ‡ Arguments: ± eventTypeBCSM ± eventSpecificInformationBCSM ± legID .

‡ INAP is defined on a FE basis rather than a physical view.INAP ‡ Allows communication between distributed IN Functional Entities. ‡ INAP supports interactions between: CCF/SSF and SCF SCF to SRF . ‡ Information flows defined in the DFP are implemented in the physical plane through the SS7 INAP protocol.

Single party (originating or terminating) controls the INAP call. Capability for multi-point control. .121x.122x. ‡ CS-2 Enhancement to all CS-1 structure. defined by Q. Defined by Q.Capability Sets ‡ Capability Set = set of supported services and service features ‡ CS-1 Single ended/single point of control services.

Protocol layers Application MAP INAP TCAP SCCP MTP Layer 3 MTP Layer 2 MTP Layer 1 ISUP TUP .

Application Contexts ‡ Application Service Elements are grouped into Application Contexts (AC s). ‡ An AC is typically a sub-set of the total INAP and specifies the parts of the protocol needed in the communication between two type of IN FE s. ‡ Example Application Contexts: ‡ IN-CS-1-SSF-to-SCF-Generic-AC . ‡ An AC also defines which operation should initiate the dialogue.

DataKinetics INAP. ‡ Tailored Suites of ASE s (INAP operations) ‡ Supported ASE s may be tailored to support any network or operator specific IN functions. ‡ FE independent. . Key Features ‡ Provides the INAP communication capability for the SCF. SSF or SRF. ‡ Implements the Single Association Control Function (SACF) defined in ITU-T Q.1218 and ETS 300 374-1 ‡ Procedural API interface.

PCCS6. SIU) Software Environment Programmer s Manual SCCP Programmer s Manual TCAP Programmer s Manual INAP Programmer s Manual .Documentation ‡ ‡ ‡ ‡ ‡ Platform User Guide (Septel cP.

Programming Interface ‡ INAP is based on invoking an operation at a serving FE by the requesting FE.1 encoded data. using ASN. ‡ Functional API library supplied with a procedural interface manages parameter Encoding/decoding as TCAP components.1 rules. (Using MSGs). . These operations are invoked within a session or dialogue between the two FE s. ‡ To access the ASN. the user may access the module directly.

(Hence a SCF and SRF may be implemented on the same stack). the user application must supply the SCCP address of the local and remote FE s in the SS7 network. ‡ These can be included at the start of each dialogue or configured once (at initialisation) and referenced by a local logical code. ‡ Enables INAP to support more than one local FE.Functional Entity Addressing ‡ When a dialogue is opened. ‡ Each local FE may be handled by a different .

‡ If required.Application Context Handling ‡ An Application Context (AC) is required for each dialogue between two IN FE s. ‡ The INAP module can be configured to handle the AC negotiation automatically if the supported AC s are configured. raw AC data may be exchanged between the INAP module and the user . ‡ AC negotiation is required at dialogue initiation to determine if the receiving FE is able to support the requested AC.

Module Capability ‡ Maximum number of FE s = 32 ‡ Maximum number of AC s = 32 ‡ Maximum number of simultaneous dialogues = 2048 ‡ Maximum number of simultaneous invocations = 2048 ‡ Supports all ETSI CS-1 Core INAP ACs : Core-INAP-CS1-SSP-to-SCP-AC Core-INAP-CS1-ASSIST-HANDOFF-TO-SSP-TO-SCP .

maint_id Module id for management and maintenance event indications trace_id Module id for traced messages (debug only) base_usr_ogdlgid 1st dialogue id that will be used by the user for outgoing dialogues base_usr_icdlgid 1st dialogue id that will be used by INAP for incoming dialogues . INAP_MSG_CONFIG user_id default application module id if no FE s configured TCAP_id module id used by TCAP (normally 0x14) mngt_id.INAP Configuration ‡ Single message.

31).713. ANSI T1. Logical identifier unique to each configured FE FE options Local or Remote Local FE module ID Module ID identifying the user application process handling the local FE FE SCCP address length number of octets of data in the lFE SCCP address FE SCCP Address FE address formatted according to Q..FE Configuration ‡ Single message per FR.113 . INAP_MSG_CNF_FE fe_reference (0.

INAP_MSG_CNF_AC application context reference logical identifier referencing the supplied AC. Application Context AC data ‡ Septel-SIU INAP_AC <ac_ref> <ac> . ac_len number of octets of data in application context.AC Configuration ‡ Single Message per AC.

link sets) Configure SCCP Configure SCCP Remote Signalling Points Configure SCCP Remote sub-systems Configure SCCP Local sub-systems Configure INAP Configure INAP FE s (optional) Configure INAP AC s (optional) .Complete configuration sequence ‡ ‡ ‡ ‡ ‡ ‡ ‡ ‡ ‡ Configure Physical parameters (PCCS6) Configure MTP3 parameters (links.

Example configuration sub-system number = 0x0c module_id = 0x1d FE identifier = 5 Point code = 1 sub-system number = 0x0a FE identifier = 1 Local Point code = 2 sub-system number = 0x0d module_id = 0x2d FE identifier = 5 Remote sub-system number = 0x0b FE identifier = 2 .

Example INAP configuration (1) * Issue configuration message to the SCCP module: * --maint_id * --mod_id ----SMB flags * ----options --------pc --SMB id * --sio --mgmt_id --SCCP inst * --ver --mtp_id ----max_sif M-t7740-i0000-fef-d33-r8000-p0083000233229e9e000000010110000000000000000000 * * Configure Local sub-systems * --mult_ind * --mod_id * --type --ssn * --ver --------spc M-t7741-i0000-fef-d33-r8000-000031401000000000c000000000000000000000000000000000000 M-t7741-i0000-fef-d33-r8000-p00031401000000000d000000000000000000000000000000000000 * Configure Remote SP's M-t7741-i0000-fef-d33-r8000-p000100000000000200000000000000000000000000000000000000 * Configure Remote sub-systems M-t7741-i0000-fef-d33-r8000-p00020000000000020a0000000000000000000000000000000000000 M-t7741-i0000-fef-d33-r8000-p00020000000000020b0000000000000000000000000000000000000 * .

Example INAP configuration (2) * Issue configuration message to the TCAP module: * --mgt_id max_data---* --nsap_id ----nicd --nseq * --usr_id ----nogd ----bog --ndref * --mod_id ----flags ----ncpt --ninst * --ver --maint_id ----ninv ----bic --inst M-t7780-i0000-fef-d14-r8000-p001435339e9e00000400040008000010000080000410080200ff0 * * Issue configuration message to the INAP module: * * ----base_tc_icdlg_id * --reserved----base_tc_ogdlg_id * --trace_id options-------* --Tcap_id ----base_usr_icdlg_id * --user_id ----base_usr_ogdlg_id ----num_invokes * --maint_id ----nic_dlg * --mgmt_id ----nog_dlg M-t77f4-i0000-fef-d35-r8000-p77149e9e9e0000008000000080000400040008000000000000000 * .

----------------------AC M-t77f6-i0000-fef-d35-r8000-p00000000000000000ba109060704000101010000 M-t77f6-i0001-fef-d35-r8000-p00000000000000000ba109060704000101010100 M-t77f6-i0002-fef-d35-r8000-p00000000000000000ba109060704000101010200 M-t77f6-i0003-fef-d35-r8000-p00000000000000000ba109060704000101010300 M-t77f6-i0004-fef-d35-r8000-p00000000000000000ba109060704000101010400 M-t77f6-i0005-fef-d35-r8000-p00000000000000000ba109060704000101010500 M-t77f6-i0006-fef-d35-r8000-p00000000000000000ba109060704000101010600 * * * .Example INAP configuration (3) * Config Remote Functional Entites * --------addr * --addr len * --local FE module id * ----FE 1 ----options M-t77f7-i0001-fef-d35-r8000-p000000044302000a M-t77f7-i0002-fef-d35-r8000-p000000044302000b * * Config Local Functional Entites M-t77f7-i0005-fef-d35-r8000-p00011d044301000c M-t77f7-i0006-fef-d35-r8000-p00012d044301000d * * * Config Application Contexts * --AClen * reserved---------------.

ssn = 0x0c and 0x0d : * --SSA M-tc744-i000c-fef-d33-r8000-p010100000000 * M-tc744-i000d-fef-d33-r8000-p010100000000 * * Sub-system status is maintained by SCCP. hence all sub-system management requests are made to SCCP and are received from SCCP (module_id 0x33) .Example INAP configuration (4) * * Send UIS (to SCCP).

Message based API Message type INAP-SERVICE-REQ INAP-SERVICE-IND Value 0xc7f0 0x87f1 Usage Invoke an operation at a remote FE or respond to a invocation received from a remote FE Receive results or errors from operations invoked at a remote FE Issue dialogue command Receive dialogue event INAP_DIALOGUE_REQ 0xc7f2 INAP_DIALOGUE-IND 0x87f3 .

MEANING INAP_MSG_DLG_REQ (0xc7f2) dialogue_ID Sending module_id INAP_MODULE_ID 0 0 0 0 Number of bytes of user data INAP Programmers Manual details other message specifications . Set to zero indicating end of message.1 SIZE 1 len . Parameters in Name-Length-Data format.2 1 NAME Dialogue primitive type octet.INAP_MSG_DLG_REQ MESSAGE HEADER FIELD NAME type id src dst rsp_req hclass status err_info len PARAMETER AREA OFFSET 0 1 len .

Any pending components sent to the INAP module will discarded. The INAP module assigns resources for the dialogue and awaits any INAP operations the user wishes to open the dialogue with. The dialogue is then terminated. Any outstanding components are discarded.Dialogue primitive types INAP User to INAP Primitive INAP-OPEN-REQ Value 0x1 Usage Used to open a dialogue. Used to indicate that the user wishes to abort this dialogue. Pre Arranged End: Used to indicate that the dialogue may be terminated locally when any active invocations have completed. Basic End: Used to indicate that any operations supplied should now be transmitted to the remote FE. The dialogue remains open. INAP-CLOSE-REQ 0x2 INAP-DELIMIT-REQ 0x3 Used to indicate that any components supplied should now be transmitted to the remote FE. Used to accept or reject a dialogue request from a remote FE. The INAP module will issue a Close Indication when the dialogue is terminated. INAP-U-ABORT-REQ 0x4 INAP-OPEN-RSP 0x81 .

- T-I t i ic t t t t i l s rt c s f t rk rr r. T ts s r. tst i c ts isc r . I I . s c t i t ic t t t s t ct r . T t r st.- - t i ic t t t t r t t s r¶s i l t i t ic t t i l ts tt . -I s t i ic t t r c i i l r i s s cc T-I c s rt c t t ts s r. T s rs l it t r c i t I I IT -I f r cc ti t i l it t I ri iti . s r i . s t i ic t t t ll t r c i iss i l is t r i t .Dialogue primitive types INAP to INAP User Pri iti I -I l s t i ic t i l r st fr r t . l s I - TI -I . s s I - -I I - I IT t ll t c s tt t . r t tst isc r I .T s r s s tl r c i s r ic i ic ti ss s ri c ts.

Dialogue parameters The INAP Programmers Manual defines the parameters and which are required with each primitive type M O A B C Mandatory Optional Exclusive OR Exclusive OR Conditional C L O S E ± R E Q D E L I M I T E R R E Q U A B O R T R E Q Parameter Destination address Originating address Destination reference Originating reference Result Refuse reason Release method User reason Application context name Application context index O P E N R E Q O P E N R S P A B A B M O M M O C O O O O O .

This occurs if the decode function is unable to decode the received component. Used by the user application to provide the successful result of an operation invocation. INAP-REJECT-REQ 0x4 .Service component primitives INAP User to INAP Primitive INAP-INVOKE-REQ INAP-RESULT-REQ INAP-ERROR-REQ Value 0x1 0x2 0x3 Usage Used by the user application to request an operation invocation. Used by an API decode function to indicate a "provider" problem. Used by the user application to provide the unsuccessful result of an operation invocation.

Used by the INAP module to convey the unsuccessful result of an operation previously invoked by the user.Service component primitives INAP to INAP User Primitive INAP-INVOKE-IND INAP-RESULT-IND Value 0x1 0x2 Usage Used by the INAP module to convey an operation invocation to the user application. INAP-ERROR-IND 0x3 . Used by the INAP module to convey the successful result of an operation previously invoked by the user.

Service component parameters Component Type Parameter I N V O K E R E Q R E S U L T R E Q E R R O R R E Q R E J E C T R E Q Invoke ID Linked ID Component Op code Parent Ind Class Timeout Problem code M O M M O M M M M M M M M .

1218 only) */ (4) /* (ITU Q.1218 only) */ (9) /* (ITU Q.1218 only) */ (10) /* (ITU Q.1218 only) */ (7) /* (ITU Q.1218 only) */ (12) /* (ITU Q.1218 only) */ (5) /* (ITU Q.1218 only) */ (6) /* (ITU Q.1218 only) */ #define INOP_OriginationAttemptAuthorized #define INOP_CollectedInformation #define INOP_AnalysedInformation #define INOP_RouteSelectFailure #define INOP_OCalledPartyBusy #define INOP_ONoAnswer #define INOP_OAnswer #define INOP_ODisconnect #define INOP_TermAttemptAuthorized #define INOP_TBusy #define INOP_TNoAnswer #define INOP_TAnswer #define INOP_TDisconnect (0) See in_inc.1218 only) */ /* * Advanced BCP DP ASE (ITU Q.1218 only) */ (2) /* (ITU Q.1218 only) */ #define INOP_TMidCall (15) /* (ITU Q.1218 only) */ .Pre-defined operation codes /* * SCF activation ASE */ #define INOP_InitialDP /* * Basic BCP DP ASE (ITU Q.1218 only) */ #define INOP_OMidCall (14) /* (ITU Q.1218 only) */ (8) /* (ITU Q.h (1) /* (ITU Q.1218 only) */ (3) /* (ITU Q.1218 only) */ (11) /* (ITU Q.1218 only) */ (13) /* (ITU Q.

Functional API Message buffer handling functions IN_alloc_message Allocate a message to send to INAP IN_free_message De-allocate message Parameters are detailed IN_send_message Send message to INAP the INAP Programmer¶s in Manual Component Handling IN_init_component Used to initialise component encoding/decoding. Allows the user to specify the protocol (encoding format). Must be called before encoding or decoding a component. .

Component encoding 1. Component Building Functions 3. Initialise Component CPT 2. Service Request Encoding Functions MSG .

Component building functions Build Operation in Component Buffer API Functions IN_set_operation Write the operation code IN_set_error Write the error code All the above functions operate on the component buffer. which must be IN_set_result into a message Write the result subsequently formatted IN_set_component_param Write the requested parameter .

Service request encoding Service Request Encoding IN_code_operation_invoke Encode the component in an Invoke component IN_code_result IN_code_error IN_code_reject Encode the component in a Result component Encode the component in an Error component Encode the component in an Reject component .

Component decoding 1. Read Component Buffer Functions MSG . Decode Service Indication Functions 3. Initialise Component CPT 2.

De-code service indication IN_get_component_type Obtain received component type IN_decode_operation Decode the operation parameter IN_decode_result Decode a result IN_decode_error Decode an error component .

Read component buffer IN_get_component_type received component Return the type of the IN_get_component_first_error encountered during Determine the first error encoding Get received operation code Retrieve parameter from IN_get_operation IN_get_component_param received component .

Dialogue handling API functions Send dialogue request API functions IN_set_dialogue_param Set a dialogue request parameter IN_dialogue_open Builds a dialogue open IN_dialogue_close Builds a dialogue close IN_dialogue_delimit Builds a dialogue delimit IN_dialogue_u_abort Builds a dialogue u_abort IN_dialogue_open_rsp Builds an open response dialogue primitive Read dialogue request API functions IN_get_dialogue_typeDetermine dialogue type in received message .


enter the parameters and send to INAP. h). No message is issued to the SS7 network at this point. IN_set_dialogue_param(INDP_applic_context_index.h). dptr. len. h).inap_id. IN_dialogue_open(dlg_id. IN_set_dialogue_param(INDP_dest_address. dptr. IN_send_message(user_id. dptr.Opening a dialogue Obtain a message structure.h). len. h = IN_alloc_message(). IN_set_dialogue_param(INDP_orig_address. . h). len.

len. IN_set_component_param( param2. inap_id. cpt). h). timeout.Sending an operation This may only be done on an opened dialogue. h = IN_alloc_message(). cpt). h). IN_code_operation_invoke( dlg_id. IN_set_operation(op_name. len. . cpt). cpt). dptr. cpt). len. initialises a component structure and sent to the INAP module. The user obtains a message. IN_init_component(prot_spec. dptr. dptr. IN_set_component_param( INPN_InvokeID. IN_set_component_param( param1. IN_send_message(user_id. cpt.

IN_dialogue_delimit(dlg_id.h). . h = IN_alloc_message(). IN_send_message(user_id.Sending a delimit This is built and sent in a similar method as the Open.h).inap_id.

IN_get_dialogue_param(INDP_refuse_rsn.dptr.h).max_len. switch (dlg_type_ptr) { case INDT_OPEN_RSP: IN_get_dialogue_param(INDP_result.Receiving an Open Response This is achieved by reading a message from the applications message queue using GCT_receive. h = GCT_receive().max_len. } break.h). case INAP_MSG_DLG_IND : IN_get_dialogue_type(h. break.lenptr. /* Process the parameters here */ break.lenptr..h). } relm(h).dptr.lenptr. . switch (h->type) { case INAP_MSG_SRV_IND : .. dlg_type_ptr).max_len.dptr. IN_get_dialogue_param(INDP_applic_context.

cpt). buffer_size.. h = GCT_receive(). dptr. IN_get_component_param(param1. lenptr. with a message type indicating a service indication. buffer_size. IN_get_component_param(param2. cpt). lenptr. h). } break.. . . } relm(h). /* Process Invoke parameter here */ break. IN_decode_operation(cpt. cpt). switch (cpt_type) { case INCPT_INVOKE : IN_init_component(prot_spec.Decoding an operation This is achieved in the same way as recovering the dialogue open response. switch (h->type) { case INAP_MSG_SRV_IND : IN_get_component_type(h. &cpt_type). dptr.

inap_id. dptr. IN_send_message(user_id. IN_set_dialogue_param(INDP_release_method. m). len.m). m = IN_alloc_message(): IN_dialogue_close(dlg_id.m).Closing a dialogue The Close request is sent to end the dialogue with the remote system (this may be pre-arranged or basic). .

.Other examples ‡ The INAP Programmers Manual Provides more API examples and message sequence charts.

Debugging ‡ Message tracing ‡ Software events ‡ Maintenance events * Activate Output Event .Trace Mask * --------non_prim_mask * --------ip_evt_mask * --------op_evt_mask M-t57fb-i0000-fef-d35-r8000-p0000000f0000000f0000007f * * Active Error Event Mask M-t57fc-i0000-fef-d35-r8000-pff00000000000007ff * * Active Maintainence Event Mask M-t57fd-i0000-fef-d35-r8000-p000000000000000001 * .

INTU example program
DLG-IND (OPEN) SRV-IND (Invoke: Initial DP) DLG-IND (Delimit) DLG-REQ (OPEN-RESPONSE) SRV-REQ (Invoke:Connect) DLG-REQ (DELIMIT) DLG-REQ (CLOSE) (pre-arranged end) DLG-IND (CLOSE) TC-INVOKE TC-CONTINUE TC-END (pre-arranged)


INTU console
H:\SYSTEM7\RUN>intu -b0x8000 INTU: Example INAP application (C) 1998-1999 DataKinetics Ltd ============================================================= SS7-INAP-API Version 1.1 INTU module ID - 0x3d INAP module ID - 0x35 Number of dialogues - 0x0800 (2048) Base dialogue ID - 0x8000 Options set - 0x0300 INTU: INTU: INTU: INTU: INTU: INTU: INTU: INTU: INTU: INTU: INTU: INTU: State change for dialogue 0x8000 Dialogues: Active [1], Completed State change for dialogue 0x8000 State change for dialogue 0x8000 State change for dialogue 0x8000 Dialogues: Active [0], Completed State change for dialogue 0x8001 Dialogues: Active [1], Completed State change for dialogue 0x8001 State change for dialogue 0x8001 State change for dialogue 0x8001 Dialogues: Active [0], Completed from [0], from from from [1], from [1], from from from [2], IDLE to OPEN Successful [0], Failed [0] OPEN to PENDING_DELIMIT PENDING_DELIMIT to CLOSING CLOSING to IDLE Successful [1], Failed [0] IDLE to OPEN Successful [1], Failed [0] OPEN to PENDING_DELIMIT PENDING_DELIMIT to CLOSING CLOSING to IDLE Successful [2], Failed [0]

INTU - notes
‡ The received service key is checked to determine if it matches a pre-set value ‡ If the key matches, the service logic performs a number translation (from one known number to another) on receipt of the DELIMIT. ‡ If the called party address is not recognised, a ReleaseCall will be sent.

1201 Service plane Q.1201 CS-1 GFP Q.1221 CS-2 GFP Q.1205 General Aspects Q.1214 CS-1 PP Q.1221 CS-2 Service plane Q.1204 INCM Structure Q.1228 User Guide Q.1205 General Aspects Q.1224 CS-2 PP Q.1219 CS-2 Structure Introduction Q.1200 Principles Q.1290 CS-1 Structure Introduction Q.1208 Vocabulary of terms Q.1210 Q.1229 .1220 Q.1213 CS-1 DFP Q.1218 User Guide Q.ITU-T IN specifications Global Distributed Functional Functional Plane Plane Q.1225 General Aspects Q.1223 CS-2 DFP Q.1202 Physical Plane Q.1203 Q.

ETSI IN specifications ETS 300-374-1 ETSI Core INAP Part 1 ETS 300-374-2 ETSI Core INAP Part 2 ETS 300-374-3 ETSI Core INAP Part 3 .

Kaplan. Nitin J. Prentice Hall. Gabuzda. Their Application to Services Igor Faynberg. ‡ The Intelligent network Standards. ISBN013-793019-4.1219 ‡ The Intelligent Network Uyless Black.Further reading ‡ ITU-T Q. Lawrence R. Marc P. Shah ISBN 0-07-021422-0 McGraw-Hill ‡ DataKinetics INAP Programmer s Manual .

Sign up to vote on this title
UsefulNot useful