CAMEL Application Part
The CAMEL Application Part (CAP) is a signaling protocol specified by the 3rd Generation Partnership Project (3GPP) in Technical Specification TS 29.078, designed to support the Customized Applications for Mobile network Enhanced Logic (CAMEL) feature in Global System for Mobile Communications (GSM) and Universal Mobile Telecommunications System (UMTS) networks.[1] CAP enables intelligent network (IN) services by facilitating communication between service control entities and network switching functions, allowing for customized handling of circuit-switched calls, Short Message Service (SMS) operations, and General Packet Radio Service (GPRS) sessions.[1] It operates as a Remote Operations Service Element (ROSE) application protocol over the Signaling System No. 7 (SS7) Transaction Capabilities Application Part (TCAP), providing operations for call setup, monitoring, charging, and release phases.[1] Introduced as part of GSM Phase 2+ standards, CAMEL and its associated CAP protocol evolved to address the need for operator-specific services in mobile environments, particularly for roaming subscribers where the home network retains control over call routing, billing, and supplementary features like call forwarding or prepaid services.[2] The protocol builds on the Intelligent Network Application Part (INAP) from ETSI Core INAP CS-2 and ITU-T recommendations (e.g., Q.1228), adapting fixed-network IN concepts for mobile-specific requirements such as mobility management and location updates.[1] Key functional entities include the GSM Service Control Function (gsmSCF) for service logic execution, the GSM Service Switching Function (gsmSSF) for interfacing with mobile switches, the GSM Specialized Resource Function (gsmSRF) for user interactions like announcements, and specialized variants for SMS (smsSSF) and GPRS (gprsSSF).[1] CAP supports four phases of CAMEL development, with Phase 4, introduced in 3GPP Release 6 (2005), encompassing all prior capabilities while adding enhancements for advanced features like Quality of Service (QoS) negotiation, user-closed subscriber group (CSG) information, and mobile-terminated SMS control (with the specification maintained up to 3GPP Release 18 as of 2024).[1] Phase 1 provided basic call control for roaming, Phase 2 expanded to mid-call supervision and charging, Phase 3 incorporated SMS and GPRS support, and Phase 4 integrated these with 3G evolutions for improved interoperability.[3] Operations in CAP, such as initialDP for triggering service logic or connect for routing calls, are encoded using Abstract Syntax Notation One (ASN.1) and Basic Encoding Rules, ensuring compatibility with the Mobile Application Part (MAP) for mobility-related signaling.[1] In practice, CAP allows network operators to deploy value-added services without modifying core switching equipment, promoting a service-independent architecture that separates call control from service logic.[3] It interfaces with MAP for tasks like subscriber data retrieval and event reporting, enabling unified billing and reachability across visited networks.[1] Although primarily associated with 2G/3G systems, elements of CAP influenced later standards in Long-Term Evolution (LTE) and IP Multimedia Subsystem (IMS) for legacy service continuity.[2]Introduction
Definition and Purpose
The CAMEL Application Part (CAP) is a Remote Operations Service Element (ROSE) application protocol layered on the Transaction Capabilities Application Part (TCAP) within the Signalling System No. 7 (SS7) stack.[1] It serves as the signaling protocol specifically designed to facilitate communication between network elements for customized mobile services.[1] The primary purpose of CAP is to support Customized Applications for Mobile network Enhanced Logic (CAMEL) by enabling service control points, such as the gsmSCF, to influence call and session handling in real-time across mobile networks.[1] Key objectives include the provision of operator-specific services, such as prepaid billing, fraud detection, and roaming support for subscribers operating outside their home Public Land Mobile Network (PLMN).[1] These capabilities allow network operators to deliver value-added services dynamically without requiring modifications to core switching elements. Unlike general Intelligent Network Application Part (INAP) protocols, CAP is tailored for GSM and UMTS environments, emphasizing mobility-specific triggers and interactions to address the unique demands of mobile telephony.[1] This adaptation builds upon the Intelligent Network (IN) architecture as the foundational framework for service intelligence in telecommunications.Relation to CAMEL and Intelligent Networks
The CAMEL Application Part (CAP) is integral to the Customized Applications for Mobile network Enhanced Logic (CAMEL) framework, an ETSI/3GPP standard that extends Intelligent Network (IN) concepts to GSM and later UMTS networks, enabling operator-specific service control and logic execution for mobile subscribers, including roaming scenarios.[4] CAMEL adapts IN principles to handle mobility-specific challenges, such as subscriber movement across networks, by providing mechanisms for trigger detection points (TDPs) and event detection points (EDPs) that initiate service interactions.[4] CAP serves as the application-layer protocol within the CAMEL service environment, facilitating communication between key elements like the GSM Service Switching Function (gsmSSF), GSM Service Control Function (gsmSCF), and GSM Specialized Resource Function (gsmSRF), thereby enabling the detection of network events at EDPs and the subsequent execution of service logic.[1] This protocol supports interactions across circuit-switched calls, SMS, and GPRS sessions, ensuring seamless service delivery in mobile contexts.[1] CAP's design builds directly on the ETSI Core Intelligent Network Application Part (INAP) Capability Set 2 (CS-2), adapting fixed-network IN principles—such as Service Switching Points (SSPs) and Service Control Points (SCPs)—for mobile environments, where SSPs map to gsmSSF implementations in entities like the Mobile Switching Center (MSC) and Gateway MSC (GMSC), and SCPs correspond to the gsmSCF.[1][4] Understanding CAP requires familiarity with IN service-independent building blocks (SIBs), which are modified for mobility; for instance, the Service Creation Environment (SCE) allows for the development and deployment of mobile-adapted service scripts.[4] CAP relies on underlying transport mechanisms like the Remote Operations Service Element (ROSE) and Transaction Capabilities Application Part (TCAP) for reliable signaling.[1]Historical Development
Origins and Standardization
The CAMEL Application Part (CAP) emerged in the mid-1990s as part of the European Telecommunications Standards Institute's (ETSI) GSM Phase 2+ enhancements, aimed at overcoming limitations in basic mobile services by introducing intelligent network features for operator-specific services, particularly to support roaming scenarios.[5] CAP's initial standardization was defined in ETSI TS 101 046 for Phase 1, with the first release (version 5.1.0) occurring in August 1997, approved by ETSI's Special Mobile Group (SMG) in February 1997.[5] This specification was later migrated to 3GPP TS 29.078 to facilitate ongoing development and integration with UMTS and subsequent mobile technologies.[6] Early development drew influence from the ITU-T Q.12xx series of Intelligent Network (IN) recommendations, with CAP adapting the INAP protocol as a baseline for mobile environments. Key standardization bodies encompassed ETSI for foundational GSM specifications and 3GPP for broader evolution, ensuring compatibility across generations of cellular networks. Milestones include the inaugural CAP specification in 1996–1997, followed by iterative updates synchronized with CAMEL phases, extending through 3GPP Release 12 in 2014.[1]Evolution Across Phases
The CAMEL Application Part (CAP) evolved in alignment with the four phases of the Customized Applications for Mobile network Enhanced Logic (CAMEL) framework, progressively expanding its capabilities to support increasingly complex mobile services while maintaining backward compatibility across phases. This phased development ensured that networks could incrementally upgrade without disrupting existing services, allowing operators to introduce new features as technology advanced. The evolution was driven by the growing demand for enhanced roaming services, such as real-time billing and personalized offerings across borders, as well as the integration of data services and convergence with IP-based networks to accommodate emerging multimedia applications.[3] Phase 1 of CAP (GSM Release 96), with first commercial deployments around 2000, focused on basic triggering mechanisms for mobile-originated and mobile-terminated voice calls, enabling initial intelligent network control in GSM environments. Subsequent phases built upon this foundation: Phase 2 (GSM Release 97), introduced around 2000, added mid-call supervision, online charging, and notifications. Phase 3 (GSM Release 98), aligned with 3G rollout in 2002, incorporated SMS control and support for GPRS sessions to handle packet-switched data. Phase 4 (3GPP Release 5, introduced in 2002), integrated these with IMS for multimedia and advanced call handling, with further enhancements through later releases. These increments were standardized under 3GPP TS 29.078, which details the CAP protocol across phases.[1][3] The phased evolution of CAP significantly impacted mobile telecommunications by facilitating the global deployment of value-added services, such as prepaid roaming and operator-specific customizations, thereby improving service flexibility and revenue opportunities for operators worldwide. By 2010, this progression had supported widespread adoption in numerous countries, underpinning the transition from circuit-switched to packet-based networks.[3]System Architecture
Network Elements
The CAMEL Application Part (CAP) operates within a distributed architecture comprising several functional entities that enable intelligent network services in GSM and UMTS environments. These entities interact primarily through CAP messages transported over the SS7 signaling stack to support customized applications for mobile networks enhanced logic (CAMEL). The core network elements include the GSM Service Switching Function (gsmSSF), GSM Service Control Function (gsmSCF), GSM Specialized Resource Function (gsmSRF), SMS Service Switching Function (smsSSF), and GPRS Service Switching Function (gprsSSF), each fulfilling distinct roles in call processing, service logic execution, user interaction, SMS handling, and GPRS session management.[4] The gsmSSF is embedded within the Mobile-services Switching Centre (MSC) or Gateway MSC (GMSC) and serves as the interface between basic call processing and CAMEL services. It detects service triggers at predefined detection points in the Basic Call State Model (BCSM), suspends call handling, and reports events to the gsmSCF via CAP operations such as InitialDP to request instructions. Upon receiving responses like Connect or Continue, the gsmSSF executes the directed actions to control call routing and processing, ensuring seamless integration of operator-specific services without disrupting standard GSM operations.[4][7] The gsmSCF hosts the core service logic programs (SLPs) that define CAMEL-based services, such as call screening or rerouting. It receives event reports from the gsmSSF, analyzes subscriber data, and issues CAP commands to influence network behavior, including monitoring or controlling calls in real-time. The gsmSCF interfaces not only with the gsmSSF for primary call control but also with other elements like the Home Location Register (HLR) for subscriber profile retrieval, enabling personalized service delivery even when users roam outside their home public land mobile network (HPLMN).[4][7] The gsmSRF provides auxiliary resources for user interactions during CAMEL sessions, typically connected temporarily to the MSC. It handles tasks such as playing announcements, collecting digits, or generating tones, invoked by the gsmSCF through the gsmSSF using CAP procedures like EstablishTemporaryConnection and PlayAnnouncement. This entity enhances service flexibility by offloading specialized functions from the core switching elements, supporting applications like voice prompts in prepaid services.[4][7] The smsSSF, embedded in the SMS-GMSC or SMS-IWMSC, handles mobile-originated and mobile-terminated SMS processing by detecting triggers and reporting to the gsmSCF via CAP operations like initialDPSMS for service control. Similarly, the gprsSSF, located in the SGSN, manages GPRS sessions and PDP contexts, triggering CAP dialogues with the gsmSCF using operations such as initialDPGPRS to enable customized packet data services.[1] CAP facilitates bidirectional dialogues among these elements, with the gsmSSF, smsSSF, or gprsSSF typically initiating contact by reporting triggers to the gsmSCF, which in turn coordinates with the gsmSRF for interactions. This dialog-based protocol ensures reliable, transaction-oriented exchanges, allowing the gsmSCF to orchestrate complex service scenarios across distributed nodes.[4]Interfaces and Signaling Stack
The CAMEL Application Part (CAP) primarily operates over the Transaction Capabilities Application Part (TCAP) to manage transactions and dialogues between network entities, with the Signaling Connection Control Part (SCCP) providing routing and connectionless services such as addressing via Sub-System Number (SSN) or Global Title (GT).[1] TCAP handles dialogue establishment using primitives like TC-BEGIN, continuation with TC-CONTINUE, and termination via TC-END, while supporting component handling for invoke, return result, and error operations up to 2560 octets of user data.[1] CAP integrates the Remote Operations Service Element (ROSE) through TCAP to define and execute remote operations as a user protocol.[1] Within the SS7 signaling stack, CAP resides at the OSI Application Layer (Layer 7), relying on the Message Transfer Part (MTP) Levels 1-3 for physical, data link, and network transport in traditional circuit-switched environments, enabling reliable signaling across TDM links.[1] SCCP at Layer 4 offers segmentation, reassembly, and congestion control atop MTP, facilitating inter-network routing for CAP messages.[1] In later phases, CAP adapts to SIGTRAN protocols, which transport SS7 signaling over IP using adaptations like M3UA for SCCP and SUA for application parts, supporting convergence with Next Generation Networks (NGN) while maintaining compatibility with legacy SS7 infrastructure.[1] Key interfaces include the primary gsmSSF-gsmSCF dialogue for circuit-switched call control, where detection points (DPs) in the gsmSSF—such as collectedInfo or oAnswer—trigger CAP invocations to the gsmSCF for service logic execution.[1] The gsmSCF-gsmSRF interface manages specialized resources like announcements, often via direct or relay paths (e.g., over ISUP), with the gsmSCF initiating connections and the gsmSRF reporting events back through TCAP dialogues.[1] Similar DP-based triggering applies to smsSSF-gsmSCF for SMS services and gprsSSF-gsmSCF for GPRS sessions, ensuring coordinated signaling across these pathways.[1]Protocol Mechanics
Message Structure and Encoding
The CAMEL Application Part (CAP) employs Abstract Syntax Notation One (ASN.1) as defined in ITU-T X.680 and X.681 to specify its message structures, enabling a formal description of data types and hierarchies.[1] Encoding of these ASN.1 definitions occurs using Basic Encoding Rules (BER) per ITU-T X.690 for general interoperability or Packed Encoding Rules (PER) for more compact transmission, optimizing bandwidth in mobile networks.[1] This dual encoding approach supports the protocol's integration as a Remote Operations Service Element (ROSE) application within the Transaction Capabilities Application Part (TCAP), where TCAP manages transaction boundaries such as TC-BEGIN and TC-END.[1] CAP messages conform to ROSE components, including Invoke for initiating operations, Return Result for successful responses, Return Error for fault indications, and Reject for protocol errors.[1] Each component typically comprises an operation code (localValue), parameters as arguments, and linked identifiers for correlating invokes and results within a transaction.[1] The protocol supports segmentation and reassembly via the Signaling Connection Control Part (SCCP) for messages up to 2560 octets across a maximum of 16 segments, ensuring reliable delivery over SS7 networks.[1] Parameters in CAP messages are structured types defined in ASN.1 modules such as CAP-gsmSSF-gsmSCF-ops-args, utilizing sequences, choices, and optional extensions for flexibility across network elements.[1] Common types include integers for keys like serviceKey, octet strings for identifiers such as LegID (e.g., Leg1 as '01'H), and address strings like CalledPartyNumber encoded in Binary Coded Decimal (BCD) format with extensions for international numbering plans.[1] Optional parameters, such as locationInformation or IMSI, allow phase-specific data inclusion without altering core structures.[1] A representative example is the InitialDP operation, structured as an Invoke component with localValue 0 and argument InitialDPArg, a SEQUENCE containing serviceKey (INTEGER), calledPartyNumber (ISDN-AddressString), and optional fields like callingPartyNumber and locationInformation.[1] This format triggers service logic at detection points, with the full ASN.1 definition ensuring unambiguous parsing across gsmSSF and gsmSCF elements.[1]Core Operations and Procedures
The CAMEL Application Part (CAP) defines a set of core operations that enable the gsmSCF to control call and service logic executed by the gsmSSF, gprsSSF, or smsSSF, facilitating intelligent network services in mobile environments.[1] Key operations include InitialDP, which is invoked by the SSF upon detecting a triggering detection point (TDP-R) to initiate the control relationship with the SCF, providing essential parameters such as serviceKey, calledPartyNumber, and location information.[1] RequestReportBCSMEvent allows the SCF to arm event detection points (EDP-R) for monitoring specific call states, specifying events like CollectedInfo or O_Busy along with a monitorMode such as interrupted, notifyAndContinue, or transparent to dictate handling behavior.[1] Connect operation routes the call to the destination by instructing the SSF to forward the connection, typically to LegID=2 for the called party, using parameters like destinationRoutingAddress.[1] ReleaseCall terminates the call process, releasing resources and disarming any armed EDPs, often triggered by cause indicators from the network.[1] CAP procedures govern the interaction flow, beginning with dialog initiation through the TCAP TC-BEGIN primitive when the SSF sends InitialDP (or InitialDPSMS for SMS scenarios), establishing a transaction context between the SSF and SCF.[1] Subsequent interactions follow event-based state transitions in the SSF's finite state machine (FSM), where armed detection points trigger reports via EventReportBCSM, prompting the SCF to issue instructions that advance the call state, such as from Monitoring to Waiting_for_Instructions after an event like tAnswer.[1] Arming of detection points occurs dynamically via RequestReportBCSMEvent, configuring the SSF to detect and report events like SMS_Delivery_Requested in the SMS BCSM, ensuring the SCF receives notifications to maintain service control without suspending the entire process unless specified.[1] At the heart of these procedures are the Basic Call State Models (BCSM), which model call progression as state machines to identify points for service intervention. The Originating BCSM (O-BCSM) handles mobile-originated calls on LegID=1, featuring detection points such as CollectedInfo for digit analysis and O_No_Answer for timeout handling.[1] The Terminating BCSM (T-BCSM) manages incoming calls on LegID=2, with points like T_Busy to detect busy signals and tAnswer for connection establishment.[1] For SMS interactions, the SMS BCSM includes points like SMS_Collected_Info for message preparation and transitions to Idle upon completion or failure.[1] These models ensure procedural logic aligns with network events, enabling the SCF to influence call flow at precise junctures. Error and rejection handling in CAP maintains transaction integrity through defined mechanisms, including CAP-specific errors returned via TCAP components. MissingParameter error arises when an operation lacks a required parameter, such as serviceKey in InitialDP, prompting the SCF to abort the dialog.[1] UnexpectedComponentSequence error detects invalid operation sequences, like issuing Connect after an incompatible prior instruction, violating FSM rules and leading to TC-U-ABORT with local error code 14.[1] These handling procedures ensure robust management, with the SSF or SCF transitioning to Idle state upon unresolved errors to prevent resource leaks.[1]Service Applications
Basic Call Handling
The CAMEL Application Part (CAP) enables basic call handling in mobile networks by allowing the gsmSSF, which interfaces with the MSC or GMSC to detect service triggers in the Basic Call State Model (BCSM), to interact with the gsmSCF for intelligent service control.[1] The gsmSCF, in turn, executes service logic to provide routing, monitoring, and termination instructions, ensuring seamless integration with core network functions.[1] Call setup control begins when the gsmSSF detects a Trigger Detection Point-Request (TDP-R) in the originating BCSM and sends an InitialDP operation (opcode 0) to the gsmSCF, querying for routing instructions such as number translation in freephone services.[1] This operation includes parameters like ServiceKey to identify the service, CalledPartyNumber for the destination, and LegID to specify the calling leg (Leg 1).[1] Upon receiving instructions from the gsmSCF, such as via a Connect operation, the gsmSSF proceeds with call establishment, mapping ISUP Initial Address Message (IAM) parameters to CAP for accurate routing.[1] For monitoring and charging, the gsmSCF arms event detection points (EDPs) using the RequestReportBCSMEvent operation (opcode 23), which specifies events like O_Answer or T_Disconnect in the BCSM for duration-based billing.[1] When an event occurs, the gsmSSF reports it via EventReportBCSM (opcode 24), providing details for the gsmSCF to calculate charges and decide on further actions.[1] The gsmSCF then issues a Continue operation (opcode 31) to resume normal call processing without additional data, ensuring minimal interruption while enabling real-time intervention.[1] Disconnect procedures are initiated by the gsmSCF sending a ReleaseCall operation (opcode 22) to the gsmSSF for immediate call termination, releasing all resources and disarming any armed EDPs.[1] This operation includes a Cause parameter (default 31 for normal unspecified) and triggers the gsmSSF to send ISUP Release (REL) messages, integrating with MAP protocols for mobility management to handle subscriber location updates post-termination.[1] The gsmSSF finite state machine transitions to Idle after processing any pending reports.[1] Triggers for intervention are armed at specific detection points, such as AnalyzedInfo, which occurs after post-dialing analysis in the BCSM to enable digit collection or routing adjustments.[1] At this point, the gsmSSF suspends processing and awaits gsmSCF instructions via operations like RequestReportBCSMEvent, supporting overlap signaling for subsequent digits in real-time service scenarios.[1]Advanced Supplementary Services
The CAMEL Application Part (CAP) enables advanced supplementary services in mobile networks by providing operations that extend beyond basic telephony, allowing customized logic execution in the gsmSCF for enhanced user interactions and service control. These services leverage the Basic Call State Model (BCSM) for event triggers to initiate intelligent processing.[1] In SMS control, CAP supports mobile-originated SMS routing through dedicated operations such as InitialDPSMS and ContinueSMS, which manage service logic for SMS submission and interface with MAP operations like MO-ForwardSM for actual message forwarding from the mobile station, including failure reporting via parameters such as systemFailure or sM-DeliveryFailure. The ConnectSMS operation further enhances this by routing messages using identifiers like callingPartysNumber or smscAddress, enabling customized delivery paths and integration with service logic for applications such as content filtering or premium messaging. Additionally, InitialDPSMS triggers service execution for both mobile-originated and mobile-terminated SMS, allowing the gsmSCF to process and route messages dynamically.[1] USSD handling in CAP utilizes the ConnectToResource operation (opcode 19) to connect the gsmSSF to resources like the gsmSRF via an IPRoutingAddress or resourceAddress, facilitating interactive menus and user dialogues. This supports callbacks in roaming scenarios by maintaining session continuity across network elements, enabling real-time responses for services such as menu-driven queries or network configuration.[1] For fraud management and virtual private networks (VPNs), CAP supports Closed User Group (CUG) access control through parameters like cug-Interlock and cug-OutgoingAccess in ServiceInteractionIndicatorsTwo for operations such as InitialDP and Connect, to restrict calls within defined groups or bypass restrictions as needed. Complementing this, the ApplyCharging operation (opcode 35) applies session-based limits by monitoring usage through AChBillingChargingCharacteristics and reporting via ApplyChargingReport, which helps prevent fraud by tracking duration or costs in real time. FurnishChargingInformationSMS further aids by generating offline charging records for SMS activities within these controlled environments.[1] Resource interactions are facilitated by operations such as PlayAnnouncement (opcode 47) and CollectInformation (opcode 27), which enable IVR-like services through the gsmSRF. PlayAnnouncement delivers audio announcements or tones using InbandInfo or Tone parameters, while CollectInformation gathers user inputs like DTMF digits via CollectedDigits, supporting applications such as balance inquiries or menu navigation without disrupting core network flows. These mechanisms allow for personalized, interactive enhancements to mobile services.[1]Versions and Enhancements
Phase 1 Capabilities
The CAMEL Application Part (CAP) Phase 1 introduced foundational capabilities for enabling customized mobile services in GSM networks, primarily focusing on basic call control to support roaming prepaid voice services. It provided mechanisms for the gsmSSF (GSM Service Switching Function) to detect trigger points during call setup and invoke the gsmSCF (GSM Service Control Function) for service logic execution, using operations such as InitialDP to report call events and request instructions, and Connect to route calls to specified destinations based on operator-determined routing. These features allowed for simple originating and terminating call handling, where the gsmSCF could authorize and control calls without full network reconfiguration.[8] A key aspect of Phase 1 was its support for basic charging mechanisms, exemplified by the ApplyCharging operation, which instructed the gsmSSF to apply a specified charging amount and report completion or, if the limit was exceeded, trigger a release of the call via ReleaseCall. This enabled real-time prepaid balance checks and call termination to prevent overuse, forming the core of early prepaid roaming solutions. Other supporting operations included Continue to resume normal call processing after SCF intervention, RequestReportBCSMEvent for monitoring call state changes, and EventReportBCSM for notifying the SCF of detected events, all aligned with the protocol's emphasis on circuit-switched voice services. CAP Phase 1 drew from the INAP CS-1 baseline for its operation definitions and ASN.1 encoding.[8] Phase 1 capabilities were strictly limited to circuit-switched domains, excluding support for SMS, data services, or handover management, and relied on TCAP for transaction handling without advanced dialogue controls. The specification, detailed in ETSI TS 101 046 version 5.0.1 released in April 1997, targeted initial deployment in GSM Phase 2+ networks to facilitate operator-specific service enhancements. This phase enabled the first commercial global prepaid voice services, with implementations launching in August 2000 by operators including France Telecom Mobiles, Mobistar, and Dutchtone, marking a significant step in international roaming for prepaid users.[8][3]Phase 2 Extensions
The CAMEL Application Part (CAP) Phase 2, specified in Release 1999, introduced significant enhancements to support advanced service control in circuit-switched networks, building on Phase 1 by adding capabilities for non-call-related services and improved resource management.[9] Key among these were SMS control operations, enabling the gsmSCF to route and manage mobile-originated SMS messages through procedures like initialDPSMS (or InitialSMSEvent) for triggering SCF involvement, ConnectSMS for routing to specific destinations or modifying setup information (such as the calling party's number), and ContinueSMS for resuming processing without additional gsmSCF input.[9] Additional SMS-related operations included EventReportSMS for event notifications, RequestReportSMSEvent for setup, ReleaseSMS for termination, ResetTimerSMS for timer management, and FurnishChargingInformationSMS for billing integration, allowing seamless control over SMS sessions from initiation via InitialSMSEvent to completion.[9] Handover management was enhanced with the ContinueWithArgument operation, which permits the gsmSCF to resume call processing during handovers by providing supplementary arguments like alerting patterns and calling party's category, mapped to ISUP Initial Address Message (IAM) parameters for improved routing flexibility.[9] USSD integration was facilitated through gsmSRF interactions, incorporating operations such as PromptAndCollectUserInformation for gathering user input (e.g., digits) and PlayAnnouncement for delivering announcements or tones, enabling USSD-based services with options for disconnection post-interaction.[9] These gsmSRF enhancements also included ConnectToResource for linking calls to specialized resources and SpecializedResourceReport for notifying completion of interactions, supporting both analog and ISDN users in service delivery.[9] Charging mechanisms saw substantial improvements, allowing A-party and B-party billing with support for multiple ApplyCharging invocations to apply time-based limits sequentially, complemented by ApplyChargingReport for usage notifications and SendChargingInformation for recording details in call records.[9] FurnishChargingInformation further enabled the gsmSCF to supply free-format data to specific parties (leg1 or leg2) for offline charging.[9] Phase 2 maintained backward compatibility with Phase 1 through Application Context negotiation and defined TCAP rules, ensuring existing interfaces remained operational while introducing new contexts for enhanced features.[9] These extensions, as detailed in 3GPP TS 29.078 (Release 1999), enabled more complex services by integrating SMS and USSD with call handling around 2000.[10][3]Phase 3 and 4 Developments
Phase 3 of the CAMEL Application Part (CAP), specified in 3GPP Release 1999 and initially published around 2000, introduced support for General Packet Radio Service (GPRS) through operations such as InitialDPGPRS, which enables service control point (SCP) invocation for packet data sessions. This phase extended the Basic Call State Model (BCSM) to a packet-switched variant, allowing detection points for GPRS attach and Packet Data Protocol (PDP) context establishment, thereby facilitating charging based on data volume and duration via operations like ApplyChargingGPRS and FurnishChargingInformationGPRS. USSD callbacks were added to support interactive services, such as pre-paid roaming notifications between mobile stations and CAMEL service environments. Northbound interfaces for intelligent network (IN) service control were enhanced using the Remote Operations Service Element (ROSE) protocol over SS7, with operations like ActivityTestGPRS and RequestReportGPRSEvent for monitoring GPRS events. Key additions in Phase 3 included the packet-switched BCSM to manage GPRS sessions and PDP contexts, supporting multiple Transaction Capabilities Application Part (TCAP) dialogues within a single GPRS reference number for improved flexibility in service switching function (SSF) interactions. Enhanced error handling procedures addressed issues like missing parameters and system failures specific to GPRS operations, while adaptation to Signaling Transport (SIGTRAN) enabled transport of CAP messages over IP for better interoperability in evolving networks. These features built on prior circuit-switched capabilities to handle data services without disrupting voice operations. Phase 4, introduced in 3GPP Release 5 (2002), with enhancements from 2004 onward in Releases 6 and 7, integrated CAP with the IP Multimedia Subsystem (IMS) by defining CAP over Session Initiation Protocol (SIP), allowing the IP Multimedia SSF (IM-SSF) to interface with SIP-based call sessions using URLs for party addressing. This enabled multimedia services through parameters like mediaTypeInfoList, which specify audio, video, and other media types in SIP INVITE messages for enhanced call control. Location-based enhancements were incorporated via LocationInformation and SubscriberState parameters, supporting geolocation triggers in IMS sessions for services like emergency routing. Phase 4 also laid groundwork for ongoing evolution under Phase X, with operations like InitialDP and EventReportBCSM extended for IP multimedia BCSM states (O-IM-BCSM and T-IM-BCSM). By Release 12 in 2014, CAP Phases 3 and 4 had shifted to maintenance mode, with specifications focusing on clarifications and backward compatibility rather than new features. Their use has declined with the rise of Voice over LTE (VoLTE), which favors IMS-native services, but they remain vital for legacy 2G and 3G networks supporting prepaid and roaming functionalities.[11]| CAMEL Phase | 3GPP Release | Key Introduction Year |
|---|---|---|
| Phase 1 | Pre-R96 (GSM Phase 2+) | 1997 |
| Phase 2 | R97/R98 | 1998-1999 |
| Phase 3 | R99 | 2000 |
| Phase 4 | R5+ | 2002 |