inap and camel protocol

INAP and CAMEL Protocol Tutorial

INAP and Camel protocols belongs to the SS7 protocol family.  These are application layer protocols. INAP is an intelligent network application protocol.  INAP is a broad term, for PSTN there are INCS1 and INCS2 standards were developed for INAP. CAMEL protocol standard is developed for mobile network.  Both uses SS7 as base transport. Camel and INAP uses services of TCAP layer.  INAP and Camel tutorial will describer the concepts of Intelligent network and call flows for Camel. A mobile operator uses Camel Gateway software for providing services.

Difference between INAP and Camel:

We are mentioning INAP and Camel protocol, together in a single tutorial. Because both almost servers the same purpose. But there are differences too.  Here we will describe the top level difference. INAP was developed for fixed line network.  Camel was an enhancement for the mobile network.

Camel protocol stack:

Like any another protocol, camel also have its own protocol stack. Camel is an example of application layer protocol. There are other layers too for providing network services. The camel protocol (CAP) stack may have two types of network transport.

Camel over ss7 layers: 

Protocol stack with ss7 have layers, MTP1, MTP2, MTP3, SCCP, TCAP and CAP.

Camel over sigtran:

For a sigtran based camel protocol stack,  have layers, SCTP, M3UA , SCCP, TCAP and CAP. Here we have mentioned m3ua, sigtran may also have sua , m2pa or m2ua. Based on sigtran layer, the type and number of transport layers changes.

What is Intelligent Network (IN):

Before the IN , if a service (e.g Ring Back Tone ) needs to provide to phone users. Service has to be implemented in the each public switching centers which connects to the  phone. This requires a lot of work and time, as all switching centers needs to be updated for the new service.

INAP and Camel protocol
INAP and Camel protocol

Later to solve this, service was placed on a dedicated node in network,  called SCP as per ss7 network. In GSM this is gsmSCF. All switching centers connects to the gsmSCF. Now network is more useful than just transferring messages. This is why now it is called intelligent network. Here we will use reference of Camel protocol to explain the Intelligent network.

Network Components of intelligent network:

There are two main components for intelligent network. One is gsmSSF and other is gsmSCF. SCP is the server which holds the service logic and SSP is the switching center which is located on roaming network.  When a service has to invoke, ssp sends the trigger to the SCP.  Then SCP instructs the SSP for controlling the service. One of example of service is prepaid service. In prepaid service the online charging is done using CAMEL protocol.  The SSP is the roaming MSC and SCP is the Camel Node for charging.

Intelligent Network Addressing(Camel Subscription Information):

CSI or Camel subscription Data , belongs to the subscriber data stored in HLR. If subscriber have CSI, then only the camel protocol events can be triggered from the roaming network.  if no data , subscriber have no camel support, even network is an intelligent network.

For a Gsm mobile subscriber, the gsmSCF is Camel Gateway works as SCP. It terminates camel protocol messages over SS7 network and on other side connects to the mobile operator's changing/billing system. During the call,  roaming network sends protocol messages to Camel Gateway for online charging.

To sends the messages for online charging and call control. Roaming gsmSSF should know the address of Camel Gateway. How the gsmSSF, know the address (SCCP GT address)?

The address of gsmSCF or MSC is updated on gsmSSF,  during location update procedure of gsm map protocol, roaming MSC receives the Camel Subscription Information (CSI) from HLR in insert subscriber data. Based on charging requirements there can be multiple CSIs in subscriber profile. Following is list of important Camel Subscription Data parameters.


O-CSI means originating CSI. Information is used to send mobile originated call camel message to the SCP and vice versa.


HLR sends t-csi to the GMSC while doing MAP SRI for a mobile terminated call. GSMS uses the address to contact SCP for MT call.


Address of gsmscf for sms charging.


Address of gsmscf for data charging.

Camel Roaming Call Flow:

There are many camel call flows.  Each flow depends on a scenario.

Camel Protocol call flow
Camel Protocol call flow

E.g Mobile originated (MO) call flow triggers when a mobile subscriber dials a number . In following example we will describe the Camel call flow for a MO call.

For Mobile originated call, O-CSI is the parameter which roaming network uses for address of gsmSCF. When subscriber dials a number, roaming msc sends the InitialDP camel operation to the scf and waits for the response by starting a timer. If no response then dialogue is cleared upon the timer expiry. Generally the time duration is of two seconds.  InitiaDP have information about the subscriber, which contains roaming , MSC , VLR, IMSI , calling and called party address.


Camel Gateway:

Till now we have described the protocol call flow between gsmSCF and gsmSSF.  But a service provider, requires a product or software for providing camel protocol services.  Mobile operators uses Camel Gateway software. E.g if a MO call has to control from from a mobile operator's business logic. The software should terminates message from ss7 and sends the trigger to the business logic (e.g over HTTP). Business logic will respond with new trigger. New trigger may be to continue call or to release. Upon trigger , Camel Gateway sends new protocol messages to the network.

Many companies implement camel gateway software . Software Interfaces mobile core network over standard SS7/Sigtran and have vendor specific APIs towards the business logic. Business logic have subscriber data,  based on location, changing plan etc.

Leave a Comment

Your email address will not be published. Required fields are marked *