CAMEL - Customized Applications for Mobile network Enhanced Logic

Customised Applications for Mobile networks Enhanced Logic, or CAMEL (ETSI TS 123 078) for short, is a set of standards designed to work on either a GSM core network or UMTS network. They allow an operator to define services over and above standard GSM services/UMTS services. The CAMEL architecture is based on the Intelligent network (IN) standards, and uses the CAP protocol.


CAMEL architecture
  • HLR : Home Location Register, the location register where the current location and all subscriber parameters of a mobile station are permanently stored.
  • SCF : The Service Control Function (SCF) is a functional entity in the intelligent network. The SCF decides the handling of a call according to information received from the SSF, e.g., time of day, date, traffic intensity, etc.
  • SSF : The Service Switching Function (SSF) is a functional entity in the intelligent network. It performs switching and charging of a call according to orders received from the SCP.
  • Mobile Services Switching Centre (MSC) : The interface between the radio system and the fixed network. The MSC performs all necessary functions in order to handle the calls to and from the mobile stations.
  • Visitor Location Register (VLR) : The location register where all relevant parameters concerning a mobile station are stored as long as the mobile station is in a location area controlled by this register.
  • Gateway MSC (GMSC) : An MSC that provides an entry point into the PLMN from another network or service. A GMSC is also an interrogating node for incoming PLMN calls.
  • SRF : Specialised Resource Function 

CAMEL control for mobile originating



CAMEL control for mobile terminating

Triggering process
  • HLR send CAMEL subscription information (CSI) to the VLR of the visited network or the   GMSC of the interrogating network
  • CSI: O-CSI and T-CSI
  • CSI contents
          *SCF address
          *Service Key
          *Default Call Handling




Triggering Process


Initiating SSF : This is an SSF used to allow full control of the Call by the SCF. All SCF-initiated Call-Related INAP operations are applicable within a Dialogue set up from an SSF of this type to an SLP running on an SCF. For the purpose of this specification, such a Dialogue will be initiated as a result of an Initial DP (IDP) INAP operation being sent successfully to the SCF. 

Analyzing the call

*Data known: MSISDN
*Get the IMSI

mgtrp:msisdn=22379160197;


ORDERED

MT MSISDN TO IMSI TRANSLATION DATA
MSISDN            IMSI             FCODE

22379160197        610027000150982
END

*Make sure the VLR was updated with CSI


mgslp:imsi=610027000150982,all;




MT MOBILE SUBSCRIBER LIST
SUBSCRIBER IDENTITY
IMSI             MSTAT    MSISDN           CAT
610027000150982  REG      22379160197        10
     .                   .                 .
     .                   .                 .
     .                   .                 .
ORIGINATING CAMEL SUBSCRIPTION DATA
CAMEL CAPABILITY HANDLING 2
DP        GSMSCFADDR         SKEY        DCH
OCOLINFO  1-22376000009               20  RELCALL
ORIGINATING CAMEL TRIGGER DETECTION POINT CRITERIA
DP        MT  CT  BASC          DESL      DES                  CV
OCOLINFO   0                              1-1-22376000001
                                          0-1-402
                                          0-1-405
                                          0-1-400
     .                   .                 .
     .                   .                 .
     .                   .                 .
SPCH  PAO
BOIC    DCDA  P
        FX    P
        SMS   PAO
        SPCH  P

The command MGSLP is used to print the mobile subscriber data received from HLR (Home Location Register) for the indicated mobile subscribers.

Check IMSI analysis


mgisp:imsi=610027;




NOT ACCEPTED
FORMAT ERROR

OR

mgisp:imsi=610027;

MT IMSI NUMBER SERIES ANALYSIS DATA
OPERATING TABLE
IMSIS            M                   NA  ANRES
61002            5-223760            4   OBA-50
                                         BO-53
                                         CAMEL-2
                                         MAPVER-2
                                         CBA-64
                                         CBAZ-64
                                         INOPER-1                                        
END

MGISP : This command initiates printout of all data for specified number IMSI series or printout of all IMSI number series which are different in the operating and not operating tables.

Review the MIN routes


EXROP:DETY=MIN;



ROUTE DATA
R        ROUTE PARAMETERS
9MIN1    DETY=MIN      FNC=9      MIS1=1     MIS2=1     BO=70     
         RO=0       CO=0       MIS5=510  
10MIN1   DETY=MIN      FNC=10     MIS1=1     MIS2=1     BO=72     
         RO=0       CO=0       MIS5=510  
11MIN1   DETY=MIN      FNC=11     MIS1=1     MIS2=1     BO=72     
         RO=0       CO=0       MIS5=510  
12MIN1   DETY=MIN      FNC=12     MIS1=1     MIS2=1     BO=70     
         RO=0       CO=0       MIS5=610  
END

FNC 9 : MOC MSC/VLR
FNC 10 : MOC MSC/VLR CF
FNC 11 : MOC GMSC/VLR
FNC12 : MTC

EXROP : This command prints route data for one route, several routes, all routes, or for all routes connected to a certain device type. The route data for all routes whose device type is MIN are printed.


Review B-Number BO=70


ANBSP:B=70-1;

B-NUMBER ANALYSIS DATA
OPERATING AREA
B-NUMBER           MISCELL   F/N    ROUTE      CHARGE L       A
70-1                                RC=72      CC=1
END
ANRSP:RC=72;
ROUTING CASE DATA
OPERATING AREA
RC    CCH  BR       ROUTING             SP   DATA
72    YES  ISTI-0   P01=1 ES=114
           ISTI-1   P02=1 R=TRACO       MM1  COT  EST  SI    ESS  ESR
                                             0         0     0    0
                                             BNT  RN  SPR   OLI OLI2
                                                  00  0
                                             ISC   FCP  D
                                             0

ANBSP : This command prints data from the B-Number analysis table.

ANRSP : This command generates a printout of specified routing cases or all used routing cases. Data is fetched from the non-operating area in case parameter NOP has been specified in the command, otherwise from the operating area. A printout is made of the routing cases in increasing order. Only routing cases containing data in current area are printed.

Review table SHIST
DBTSP:TAB=SHIST,IST=510;
DATABASE TABLE
BLOCK   TAB             TABLE                           WRAPPED
SHTD4   SHIST                                           YES
IST        BCSMTYP DISCONI MIDCALI NUMDIG REANSI SUSPNDI SSFTYPE
       510 ORIG    -       -            0 -      -       I
           TNSID
                  510
END

DBTSP : This command prints a table or a specified part of a table by either an alphanumeric printout or a file printout.

Review SHTNS table
DBTSP:TAB=SHTNS ,TNSID=510 ;
DATABASE TABLE
BLOCK   TAB             TABLE                           WRAPPED
SHTD4   SHTNS                                           YES
TNSID      BRISRID BROSRID BSIND CDPNPAD CHOIIN CHOIOUT CLIDATA CLIDLTH
       510       4       5     0       0 YES    YES           1 -
           CLIDST CLIDTYP DRISRID DROSRID ISCC  OINTA OSBCC OSDCC
           -            1       4       5     8 YES       0     0
           ROUTTYP SCFIDLT SCFIDST SCFIDTY SHREQ
           DR      -       -             0 S
END

Review the table SSF route specification (OUTGOING)
SHRSP:OSR=ALL;
SERVICE SWITCHING NODE SSF ROUTE DATA
OPERATING AREA
OSR              RINDEX  APC
CAMELOUTGOINGR1  5       SSFTRAM
PAR   VAL    SCAP  DIST
ASI   0      0     0
BO    74     1     0
CBI   0      0     0
CHP   0      0     0
CO    0      1     0
EA    0      0     0
INS   0      0     0
ISA   0      0     0
ISB   0      0     0
MST   0      0     0
OCO   2      0     0
OTA   0      0     0
PLMN  0      0     0
PR    0      0     0
RCP   0      0     0
RDC   0      0     0
RO    0      0     0
ST    0      0     0
END

SHRSP : This command prints all data for the specified SSF route, or for all incoming or outgoing routes, in printout SERVICE SWITCHING NODE SSF ROUTE DATA. Data for all outgoing SSF routes is printed.

Review the table SSF route specification (INCOMING)
SHRSP:ISR=ALL;
SERVICE SWITCHING NODE SSF ROUTE DATA
OPERATING AREA
ISR              RINDEX  APC
CAMELINCOMINGR1  4       SSFTRAM
END
Adding CAMEL 

Data for HLR
   This configuration is initiated for the operator’s subscribers visiting a partner’s MSC/VLR
    HGRCP:CHAR=all;
    HGRCI:AREA=4-223760,CHAR=OCSIPH2;
    HGRCI:AREA=4-223760,CHAR=OCSIPH3; // To authorize Outbound Camel 3
    HGRCP:CHAR=all;

HGRCP : This command prints the characterized roaming areas in the Home Location Register (HLR).
HGRCI : This command initiates the characterization of a roaming area.
OCSIPH2 : ORIGINATING CAMEL PH2 SUBSCRIPTION INFORMATION ALLOWED
OCSIPH3 : CAMEL PH3 SUBSCRIPTION INFORMATION ALLOWED

Adding CAMEL – Camel 2

Data for MSC\VLR
mgisi:imsis=61002,m=5-223760,ANRES=OBA-50&BO-53&PLMN-0&MAPVER-2&INOPER-1&CBA-64&CBAZ-64&CAMEL-2,na=4;
MGISP:IMSIS=ALL;   

MT IMSI NUMBER SERIES ANALYSIS DATA
OPERATING TABLE
IMSIS            M                   NA  ANRES
61002            5-223760            4   OBA-50
                                         BO-53
                                         CAMEL-2
                                         MAPVER-2
                                         INOPER-1
                                         CBA-64
                                         CBAZ-64
END

MGISI : This command initiates IMSI number series analysis data for a group of mobile subscribers that is to have a common analysis result. This command should always include the mandatory ANRESs.
MGISP : This command initiates printout of all data for specified number IMSI series or printout of all IMSI number series which are different in the operating and not operating tables.

Adding CAMEL – Camel 3 

Data for MSC\VLR
mgisi:imsis=61002,m=5-223760,ANRES=OBA-50&BO-53&PLMN-0&MAPVER-2&INOPER-1&CBA-64&CBAZ-64&CAMEL-3,na=4;
MGISP:IMSIS=ALL;  
MT IMSI NUMBER SERIES ANALYSIS DATA
OPERATING TABLE
IMSIS            M                   NA  ANRES
61002            5-223760            4   OBA-50
                                         BO-53
                                         CAMEL-3
                                         MAPVER-2
                                         INOPER-1
                                         CBA-64
                                         CBAZ-64
END 

Commentaires

Articles les plus consultés