Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
CAMEL Introduction
CAMEL Introduction
Contents
1 CAMEL Introduction 3
1.1 What is CAMEL? 4
1.2 CAMEL Services 6
1.3 CAMEL subscription information 10
CAMEL
2
CAMEL Introduction
CAMEL
3
CAMEL Introduction
1 CAMEL Introduction
CAMEL
4
CAMEL Introduction
The IN services became very popular and is used extensively by both the operator
and subscriber. The very first usage was for the so called ‘freephone’ or ‘shared-cost’
numbers. Introducing these services in the PSTN networks, it meant that some other
party could be charged instead of the calling party. These IN components can
however also be added to the mobile networks (GSM, UMTS, or GPRS) to enhance
the services available in these networks. One example of such a service, perhaps the
mostly used on as well, is the prepaid service. Some problems however did surface,
as happens with every new service. The main problem was that these IN subscribers
could not roam into other networks and still use their IN services. The reason was
quite simple. There was no set standard of assigning the services to the subscribers,
nor were there any standard protocols that should be used for transmission of service
information between the switching network and the IN.
To overcome this problem, an international standard was set up, called CAMEL. It
stands for Customized Applications in Mobile Networks Enhanced Logic. It
specifically deals with the mobile problem of roaming subscriber and applies to
mobile networks only. The emphasis in this course will thus be on mobile networks.
As the CAMEL services required were increased, new standards were developed for
these new services which lead to CAMEL being introduced in phases: CAMEL phase
one, two, three and four.
It should be said that CAMEL phase 4 includes all the latest available services as
well as all services of CAMEL phases 1, 2 and 3.
The specifications for CAMEL can be found in the 3GPP technical specification
23.078 (3GPP TS23.078) and 29.078 (3GPP TS29.078) documents.
TIP
It is important to know which versions of these specifications are used in the specific
project, since there might be vast differences in the different versions of the
specifications. The different CAMEL phases 1 to 4 for instance, are specified in
different versions of these documents. Nevertheless, the latest version includes all
operations for CAMEL phases 1 to 4.
CAMEL
5
CAMEL Introduction
What is CAMEL ?
Customized Application in
Mobile Networks, Enhanced Logic
CAMEL
6
CAMEL Introduction
CAMEL
7
CAMEL Introduction
Free phone
Routing
Basic IN
to 030 XX
Berlin
Dials
+ =
Services
2525
Routing
to 089 XX
Premium
Dials
München 2525 Rate Call
Universal Access
Number
Please dial
7676 1 for Genesis
7676 2 for Queens
7676 1
Televoting
7676 2
Service
Freephone Numbers
Freephone numbers can be used in association with universal access numbers. It
represents a service where the calling subscriber might not be charged for the call
that he is making. This service would typically be used by larger companies for
customer support.
CAMEL
8
CAMEL Introduction
Prepaid subscribers
No introduction to the prepaid service is required. This service allows a subscriber to
use the network on a pay as you go basis. This can be implemented for the GSM,
GPRS or UMTS networks. Usually the subscriber is not charged for the service itself,
but is charged for every call made, and in certain networks, if a call is received too.
CAMEL
9
CAMEL Introduction
special tariff
Buissnes
Friends &
Family
Subscribed
IN Services
office
Personal Account
Number Service before call
private
One number
after first
call
mailbox
mobile Prepaid
Call after next
call
CAMEL
10
CAMEL Introduction
CSI's parameters
These CSI’s contain many different parameters, but the four most important
parameters are:
a) Trigger Detection Point (TDP): This tells the switching network precisely
when the IN dialog shall be started
b) gsmSCF Address: This address is the E.164 number used to connect to the
IN patform. This number is used in the GTT database for conversion to a SPC
and Network indicator. It identifies the CAMEL equipment responsible for this
IN dialog.
c) Service Key: This parameter identifies the program to be executed by the IN
service logic. In other words, it identifies the IN service that is to be used.
d) Default Call Handling: This parameter tells the switch what shall be done of
the IN network cannot be contacted. I.e. shall the cal be released or shall the
call continue.
CAMEL
11
CAMEL Introduction
max. no. of
CSI CAP ph. 1 CAP ph. 2 CAP ph. 3 CAP ph. 4
CSIs per MSUB
O-CSI X X X X 1
T-CSI X X X X 1
VT-CSI X X 1
GPRS-CSI X X 1
SS-CSI X X X 1
SMS-CSI X X 1
MTSMS-CSI X 1
D-CSI X X 1
M-CSI X X 1
U-/UG-CSI X X X 1
N-CSI X X ---
TIF-CSI flag in O-CSI X X 1
CAMEL
12
CAMEL Introduction
CAMEL
13
CAMEL Introduction
HLR
MAP V3 5 4
Home PLMN
CAP
Visited PLMN/
Home PLMN
VLR
VLR gsmSSF
gsmSSF
3
MOC outgoing leg
6
VMSC
CAMEL
14
CAMEL Introduction
T-CSI
The T-CSI is not transmitted to the VLR during location update. It remains in the
HLR.
When the subscriber received a call, the HLR is interrogated. During the
interrogation, the MAP V3 message includes a parameter called ‘Suppress_TCSI’. If
this parameter value is equal to 0, it means that this message is the first step of a two
step interrogation. In this case, the HLR will return the T-CSI (if it is available i.e.
subscriber has a T-CSI assigned and it is allowed to be sent to the MSC) instead of a
MSRN. The T-CSI is then evaluated in the interrogating MSC (also called a Gateway
MSC or GMSC). Once again, the CSE address can be derived from the T-CSI and
this GMSC is responsible for the IN dialog. The IN dialog can only be started for a
call attempt. At this point it is not known if the subscriber is busy or will not answer.
Call processing is suspended until an answer is received from the CSE.
Once call processing is resumed, the GMSC will send a second
‘Send_Routing_Information’ message to the HLR. This time, the ‘Suppress TCSI’
parameter will have the value of 1. This tells the HLR that this is the second step of
the interrogation, and that a real MSRN must be requested from the VMSC. The
VMSC return a MSRN to the HLR and normal call processing takes place.
If the called subscriber does not have a T-CSI assigned, the HLR will immediately
request a MSRN from the VMSC. Normal call processing takes place in this case.
CAMEL
15
CAMEL Introduction
2 4
HLR 6
gsmSSF
3
7 gsmSSF
7 6
GMSC
8
VLR MTC
VLR 1 incoming leg
VMSC
Interrogating
Visited PLMN PLMN
CAMEL
16
CAMEL Introduction
VT-CSI
The VT-CSI differs from the T-CSI in that it is sent from the HLR to VLR during
location update.
When the subscriber who is assigned a VT-CSI receives a call, normal call
processing takes place. The HLR is interrogated normally; the MSRN is requested by
the HLR and returned to the GMSC. This MSRN is used to set up a connection to the
VMSC.
Once the MSRN is received in the VMSC, one of three things can happen to start an
IN dialog:
I) the subscriber may be busy,
II) the subscriber might not answer, or
III) a terminating attempt is made.
Only if one of these detection points is reached the VLR will send the VT-CSI to the
VMSC. Unlike the T-CSI which can only start an IN dialog for a call attempt, the VT-
CSI can also start an IN dialog if the subscriber is found busy or not answering. Like
before, the VMSC will evaluate the criteria from the VT-CSI and start an IN dialog.
Call processing is suspended until an answer from the CSE is received.
If a subscriber is roaming in the GMSC and is assigned both the T- and VT-CSI, that
GMSC will start two IN dialogs. First for the T-CSI and afterwards when the MSRN is
reached, a dialog for the VT-CSI is started.
CAMEL
17
CAMEL Introduction
gsmSCF
gsmSCF CSE
9
IN-dialog
VMSC
2 VT-CSI
B- 7
ISUP:IAM (MSRN)
TDP12
MSISDN
8 busy
TDP13
GMSC
TDP14
.
pd
c.-u SI)
Lo T-C n
1 (V ans o
wer
MAP:SRI_ACK 6 MAP:PRN_ACK 5
3 MAP:SRI 4 MAP:PRN
HLR
CAMEL
18
CAMEL Introduction
CAMEL
19
CAMEL Introduction
HPLMN foreign
VPLMN
l og
- dia IN
IN - dia
4
CSE l og
10
1 Update_Location Upda
te_Lo
catio
n 6
Ins_Sub_Data(D-CSI: Ins_S 080012345678
u
VLR
080012345678) 2
HLR 0800 b_Data(D 8
1234
5678 -CSI:
08
) 7
00
VLR
1
23
45
3
67
8
Location
5
update
HLR
AP
:In
se
Notification[SSV=MPTY]
MAP:SServ_Invocation_
r t_
Su
Visited
b
sc
rib
PLMN/
er
_
Da
ta
Home
[S
S-
C
PLMN
SI
]
VMSC
CAMEL
20
CAMEL Introduction
Once again, no IN dialog is started, instead the information is sent from the VLR to
the CSE in the form of a MAP message: ‘Note_MM_Event’. This message contains
information such as the event which took place, which CAMEL phase is supported in
the VLR, the service key, the IMSI and MSISDN of the subscriber and the location
information as it is stored in the VLR.
TIP
Since CAMEL phase 4, mobility management of GPRS subscribers is available. A
different CSI is used however. This MG-CSI is sent from the HLR to the SGSN during
location update and is used in the same way as the M-CSI.
CAMEL
21
CAMEL Introduction
CSE
You just entered
AC=MMEVNTR
MAP:Note_MM_Event
SUNNYnet. Our
roaming tariffs
(loc-upd)
are...
VPLMN
HLR
Location update Update_Location
Insert_Sub_Data
(M-CSI)
VLR
CAMEL
22
CAMEL Introduction
SMSMO-CSI
Administrated and assigned to the subscriber in the HLR, the SMSMO-CSI is
available from CAMEL phase 3 an up. It is transmitted to the VLR during location
update in is evaluated if the subscriber send a SMS. Consequently, an IN dialog is
started using the parameters available from this CSI. If he IN dialog is successful, the
SMS is forwarded to the SMS center. The acknowledge message from the SMS
center can be used to inform the IN of a successful or unsuccessful delivery.
SMSMT-CSI
Administrated and assigned to the subscriber in the HLR, the SMSMT-CSI is
available from CAMEL phase 4. It is transmitted to the VLR during location update in
is evaluated if the subscriber receives a SMS. According to the standardized solution,
the IN dialog is performed and then only is the mobile station paged.
Certain vendors however deviate from this by paging the mobile stations before
starting an IN dialog.
This CSI can typically be used in services where sport scores are sent to the
subscriber after a weekend of important sporting event. To prevent charging of not
received SMS’s, the SMSMT-CSI can determine if the SMS was delivered to the MS
successfully or not. Acknowledgement from the MS may be used to inform the CSE
of the delivery status if such a SMS.
CAMEL
23
CAMEL Introduction
PPSC:
tariff information
CSE and prepaid account
(destinationSubNo,SMSCadr...)
(destinationRoutingAddr...)
3 4
OP:CON_SMS
OP:IDP_SMS
CAP Ph 3
SMSC
SMS MAP:Forward_SM 5
originating
2
SMS-Servicecenter MSISDN+ HLR
called Party address
(e.g. VPN short number or
normal MSISDN) MAP:Insert_Sub_Data
SMS-CSI
1
MSC/VLR
PPSC: 10
For
tariff information war
dS
CSE and prepaid account M_
ack
(destinationSubNo,SM
7 6 SMSC
(destinationRoutin
OP:CON_SMS
OP:IDP_SMS
SCadr...)
gAddr...)
k
ac
SM_
d
MAP:SRI and MAP:SRI_ack
ar
rw
SMS Fo
Terminating 9 2
8 Forward SM and 3
MAP:Forward_SM
Forward SM_ack
CAMEL
24
CAMEL Introduction
In GSM specification 02.90, ot is determined that all USSD codes 100-149 shall be
transmitted to the HLR of the subscriber and all codes 150 to 199 shall be evaluated
in the VMSC. If the subscriber send a USSD code corresponding to the first list (100
to 149) the VMSC forwards this string to the HLR of that subscriber. In the HLR it is
determined if the code belongs to a certain IN service by evaluating the USSD string
code to those in the U/UG-CSI’s. If this service is an IN service, the HLR will use the
information in the corresponding U- or UG-CSI to relay the service information to the
CSE by means of a MAP message.
CAMEL
25
CAMEL Introduction
MAP_P
R OCESS
_USSD
_REQ
( ..., USS
MAP_P D Strin
R OCESS g IA#5,.
_ USSD_ ...)
( ..., US REQ R
SD Str e sponse
ing IA#
5,....)
CSE
CAMEL
26
CAMEL Introduction
1.3.9 CPRS-CSI
The IN services for GPRS is mainly limited to prepaid charging of the subscribers.
For GPRS it is important to differentiate between to terms:
GPRS session
PDP context establishment.
A GPRS session is based on time and specifies the time that the subscriber is
booked into the GPRS network, regardless whether he is sending or receiving any
data.
A PDP context establishment defines the situation where the subscriber
establishes a data connection.
In either case, the GPRS-CSI is sent to the SGSN as soon as the subscriber makes
a location update in the GPRS network. An IN dialog can be started for any of the
following reasons:
a) The subscriber is attached to the GPRS network or changes position while
attached without an active connection. Note that the CSE may be informed if
the subscriber detaches from the GPRS network.
b) The subscriber starts a PDP context. As soon as the request is received from
the mobile station, an IN dialog is started.
c) After the PDP context is established. When the GGSN replies after a PDP
context establishment request, the SGSN may start an IN dialog.
d) If the subscriber changes position during an active PDP context an IN dialog
may also be started.
TIP
GPRS IN services have only been available from CAMEL phase 3.
CAMEL
27
CAMEL Introduction
ion
IN dialog
ocat
an cel L ack
C tion_ old
el Loca
C anc SGSN End of 1st
gprsSSF
gprsSSF (OP:ACR
IN dialog
gprs)
SGSN Context
In Upd
se
CSE
CSE
rt_ ate_ CAP3 prs)
HLR DPg gsmSCF
(G sub Loc g (OP:I gsmSCF
PR sc at ialo
S- ribe ion/
d N d
2n I prs)
:ACg
C S r_ (OP
I) dat
a gprsSSF
gprsSSF
TDP 14
Routing Area Update
Request
new
Routing Area Update SGSN
Accept
Query
Up
DNS
dat
eP
DP
Co
nte
xt
GGSN
DNS
old
SGSN Ca
nc
gsmSCF e lL
CSE oc
at
Identification
io
Response
Request/
IN n/
di ac
al kn
o g .
new
gprsSSF SGSN
HLR
Query
DNS
DNS
CAMEL
28
CAMEL Introduction
CAMEL