You are on page 1of 38

Three areas of charging

Bill to subscriber
Billing

Accounting Accounting

BC

BC MSC

BSC BC
Transfer of Charging data

PSTN

BC MSC HLR Charging Path of the call

HLR

1

© Nokia Siemens Networks

CN3401FEN40GLA3

Relationship between DX 200 charging functions and the Billing Centre

2

© Nokia Siemens Networks

CN3401FEN40GLA3

Basis for charging

• Installation fee

• Renting the service

• Use of the network

3

© Nokia Siemens Networks

CN3401FEN40GLA3

FR or EFR) Calling/Called subscriber's mobile equipment type (single/dual mode) Roaming leg 4 © Nokia Siemens Networks CN3401FEN40GLA3 .Factors affecting the price of a call Type of basic service Duration of the call Time of the call Destination of the call Origin of the call Use of networks Type of supplementary services Use of radio resources (HR.

7. 4. 14. 10. 3. 12. 15. 9. 2. 6.Types of charging records 1. 8. 5. 11. 5 Mobile Terminated Call (MTC) Mobile Originated Call (MOC) Call to a Roaming Subscriber (ROAM) Forwarded Call (FORW) Supplementary Service (SUPS) (use and activation) Location Update (LOCA) HLR Interrogation for call establishment (HLRI) Mobile-Originated Short Messages (SM-MO) Mobile-Terminated Short Messages (SM-MT) PSTN Originated Call (POC) PSTN Terminated Call (PTC) PBX Originated Call (PBXO) PBX Terminated Call (PBXT) Intelligent Network Data Location Service (LCS) CN3401FEN40GLA3 © Nokia Siemens Networks . 13.

page 1 GAP::ST=A.IMG SERVICE: 00 STATE: ACTIVE USED FOR: NORMAL BLOCK VERSION: MJ010200 VERSION NUMBER: 002 FORMAT TYPE: 1 MESSAGE NUMBER: dd98 FORMAT TYPE NAME: MOC RECORD LENGTH: 210 HEADER: FIELD NAME record_length record_type record_number record_status check_sum call_reference exchange_id DATA: FIELD NAME intermediate_record_number intermediate_charging_ind number_of_ss_records calling_imsi calling_imei calling_number calling_category calling_ms_classmark called_imsi called_imei dialled_digits_ton called_number called_category called_ms_classmark dialled_digits calling_subs_first_lac calling_subs_first_ci 2008-03-15 0 15:38:28 DATA TYPE W( 1) BCD( 1) BCD( 4) C( 1) W( 1) C( 5) C( 10) POSITION 0 2 3 7 8 10 15 DATA TYPE BCD( 1) C( 1) BCD( 1) C( 8) C( 8) C( 10) C( 1) C( 1) C( 8) C( 8) C( 1) C( 12) C( 1) C( 1) C( 12) W( 1) W( 1) POSITION 25 26 27 28 36 44 54 55 56 64 72 73 85 86 87 99 101 6 © Nokia Siemens Networks CN3401FEN40GLA3 . DX 200 MSC01 DISPLAY OPERATION FOR SERVICE IN TABLE FORMAT FILENAME: Y00AN1MX.UF=NORMAL.FT=1.Charging record format for MOC.:.

page 2 calling_subs_last_ex_id calling_subs_last_lac calling_subs_last_ci called_subs_first_lac called_subs_first_ci called_subs_last_ex_id called_subs_last_lac called_subs_last_ci out_circuit_group out_circuit basic_service_type basic_service_code facility_usage non_transparency_indicator channel_rate_indicator set_up_start_time in_channel_allocated_time charging_start_time charging_end_time orig_mcz_duration cause_for_termination data_volume call_type orig_mcz_tariff_class orig_mcz_pulses dtmf_indicator aoc_indicator orig_mcz_chrg_type called_number_ton redirected_indicator hot_billing_record_number called_msrn_ton called_msrn C( 10) W( 1) W( 1) W( 1) W( 1) C( 10) W( 1) W( 1) BCD( 2) BCD( 2) C( 1) C( 1) C( 2) C( 1) C( 1) C( 7) C( 7) C( 7) C( 7) BCD( 3) DW( 1) W( 1) C( 1) BCD( 3) BCD( 2) C( 1) C( 1) C( 1) C( 1) C( 1) BCD( 4) C( 1) C( 12) 103 113 115 117 119 121 131 133 135 137 139 140 141 143 144 145 152 159 166 173 176 180 182 183 186 188 189 190 191 192 193 197 198 7 © Nokia Siemens Networks CN3401FEN40GLA3 .Charging record format for MOC.

Mobile subscriber-A calls PSTN subscriber-B A GMSC PSTN BSC B HLR PLMN A 8 © Nokia Siemens Networks CN3401FEN40GLA3 .

PSTN subscriber-A calls mobile subscriber-B A B PSTN GMSC BSC HLR PLMN A 9 © Nokia Siemens Networks CN3401FEN40GLA3 .

both in HPLMN A B MSC BSC BSC MSC HLR PLMN A 10 © Nokia Siemens Networks CN3401FEN40GLA3 .Mobile subscriber-A calls subscriber-B.

Mobile subscriber-B roaming in another PLMN A BSC GMSC PSTN BSC B GMSC HLR PLMN A PLMN B 11 © Nokia Siemens Networks CN3401FEN40GLA3 .

Swedish mobile subscriber-A roaming in Finnish PLMN calls PSTN subscriber-B in Finland B PSTN HLR MSC MSC A BSC 12 © Nokia Siemens Networks CN3401FEN40GLA3 .

Finnish subscriber-A in PSTN calls Swedish mobile subscriber-B roaming in Finland A PSTN HLR MSC MSC B BSC 13 © Nokia Siemens Networks CN3401FEN40GLA3 .

now roaming in PLMN-B A BSC GMSC PSTN BSC C GMSC HLR CFU B -> C PLMN A PLMN B 14 © Nokia Siemens Networks CN3401FEN40GLA3 .MS-B has unconditional call forwarding to other mobile subscriber of HPLMN.

now roaming in PLMN-B A BSC GMSC PSTN BSC C GMSC B HLR CFNR B -> C PLMN A PLMN B 15 © Nokia Siemens Networks CN3401FEN40GLA3 .MS-B has call forwarding if no answer to other mobile subscriber of HPLMN.

MS-A makes location update in PLMN-B GMSC PSTN BSC BSC A GMSC VLR HLR PLMN A PLMN B 16 © Nokia Siemens Networks CN3401FEN40GLA3 .

MS-A activates call barring supplementary service while roaming in another PLMN GMSC PSTN BSC BSC A GMSC VLR HLR PLMN A PLMN B 17 © Nokia Siemens Networks CN3401FEN40GLA3 .

SM-MO/PP from MS-A to the SMSC in PLMN-A SMSC IWMSC PSTN MSC BSC A PLMN A PLMN B 18 © Nokia Siemens Networks CN3401FEN40GLA3 .

SM-MT/PP from SMSC in PLMN-A to MS-A in PLMN-B SMSC IWMSC PSTN MSC BSC A PLMN A PLMN B 19 © Nokia Siemens Networks CN3401FEN40GLA3 .

Charging block content GEP:::BLK=CUR:. DX 200 MSC01 DISPLAY OPERATION FOR SERVICE CURRENT BLOCK BLOCK INDEX: 1 A1 00 FF FF FF FF FF FF FF 00 00 00 FF FF FF FF FF FF 94 FF 00 FF FF FF FF FF FF FF 00 FF 01 00 FF FF FF FF FF FF 02 FF 01 00 FF FF FF FF FF FF 45 FF 00 00 FF FF FF FF FF FF 00 FF A1 01 FF FF FF FF FF FF 00 00 00 00 FF FF FF FF FF FF 00 00 68 56 FF FF FF FF FF FF 00 00 2008-03-15 0 BLOCK IS ONLY IN RAM MEMORY 15:41:12 31 46 FF FF FF FF FF FF DE 68 09 16 FF FF FF FF FF FF 2D 31 10 14 FF FF FF FF FF FF 04 09 00 12 FF FF FF FF FF FF 40 01 FF 00 FF FF FF FF FF FF 41 10 FF 20 FF FF FF FF FF FF 40 F2 FF 4D FF FF FF FF FF FF 9F FF FF 4A FF FF FF FF FF FF 68 FF FF 01 FF FF FF FF FF FF 31 FF 45 02 FF FF FF FF FF FF 09 FF 00 00 FF FF FF FF FF FF 10 64 20 © Nokia Siemens Networks CN3401FEN40GLA3 .

CHARGING BLOCK CDRs are collected in RAM block before storing on mass storing devices (e.DA T : block block block block n*FF 21 © Nokia Siemens Networks CN3401FEN40GLA3 .g.g.DA T • block block block block block block block block n*FF n*FF : CF9999. where xxxx is the ordinal number The ordinal number can range from 0001 to 9999 • The file size is selectable (e.DAT. 1MB) • Contains complete charging blocks CDR DISK CF0001. hard disks) The amount of data stored on disks (tape) at one time 2-64kB Contains complete charging records • Block in RAM • • • CHU Header CDR : CDR Trailer CHARGING DATA ON HARD DISKS • CDRs are written on the disk files of the CHU • The files are named CFxxxx.DA T CF0002.

Start Call STU/CHU call record TTCHAB charging block charging block OMU 4.Functionality of charging SU 5. Generate Record and put into TTCHAB 7. Backup to DAT Tape 3. Take DAT to BC MO 22 © Nokia Siemens Networks CN3401FEN40GLA3 . Write block into Charging Files 3. End Call charging record DAT 6. 2. Transfer to Billing Center Via BDCU BDCU 1.

MOC_CALL_REFERENCE. MOC_INTERMEDIATE_RECORD_NUMBER. MOC_INTERMEDIATE_CHARGING_IND. MOC_RECORD_STATUS. page 1 Record length : 194 (dec) c2 (hex) MOC_RECORD_TYPE. MOC_DD_TYPE_OF_NUMBER. ( 2) ( 3) ( 7) ( 8) ( 10) ( 15) ( 25) ( 26) ( 27) ( 28) ( 36) ( 44) ( 54) ( 55) ( 56) ( 64) ( 72) ( 73) 01 00000067 00 5f63 4131004600 4917705fffffffffffff 00 00 01 262091000000003f ffffffffffffffff 491779000003ffffffff 00 00 ffffffffffffffff ffffffffffffffff 04 5551779000005fffffffffff 23 © Nokia Siemens Networks CN3401FEN40GLA3 . MOC_MS_CLASS_MARK_A. MOC_A_CATEGORY. MOC_A_SUBSCRIBER_NUMBER. MOC_NUMBER_OF_SS_RECORDS. MOC_B_SUBSCRIBER_IMSI. MOC_A_SUBSCRIBER_IMEI. MOC_EXCHANGE_ID. MOC_B_SUBSCRIBER_NUMBER. MOC_CHECK_SUM.Post processed MOC CDR. MOC_A_SUBSCRIBER_IMSI. MOC_B_SUBSCRIBER_IMEI. MOC_RECORD_NUMBER.

MOC_HALF_RATE_INDICATOR. MOC_ORIG_CHARG_DURATION.22. MOC_OUT_CHARGING_PULSES. MOC_CALL_TYPE. MOC_CHAR_SERV_TYPE. MOC_SUCCESS_INDICATOR.0609:30. MOC_NON_TRANSPARENCY_IND. MOC_CHANNEL_ALLOCATED_TIME. 4917705fffffffffffff MOC_A_SUBS_LAST_LOC_LAI.41. MOC_A_SUBS_LAST_LOC_CELL_ID. MOC_B_SUBS_FIRST_LOC_CELL_ID. MOC_A_SUBS_FIRST_LOC_CELL_ID.21. MOC_ORIG_TARIFF_CLASS. MOC_PNI. MOC_OUT_CIRCUIT_GROUP_NR. MOC_DIALLED_DIGITS. MOC_AOC_IND. 11-2007 MOC_CHARGING_START_TIME. MOC_A_SUBS_LAST_LOC_EX_ID. MOC_SEC_SERV_CODE. MOC_SEC_SERV_TYPE. page 2 MOC_B_CATEGORY.06-11-2007 09:30. MOC_B_SUBS_LAST_LOC_LAI. MOC_SET_UP_START_TIME.06-11-2007 000009 00000000 (180) 0000 (182) 03 000000 (186) ffff 00 01 (190) ffffff (193) 00 (115) (119) (135) (137) (141) (142) (144) (145) (159) (166) (173) (176) (183) (188) (189) 24 © Nokia Siemens Networks . MOC_DATA_VOLUME. MOC_A_SUBS_FIRST_LOC_LAI. MOC_MS_CLASS_MARK_B. MOC_CHAR_SERV_CODE. MOC_REDIRECTED. MOC_OUT_CIRCUIT_NR.06-11-2007 (152) 09:30. MOC_CHARGING_END_TIME. MOC_B_SUBS_LAST_LOC_CELL_ID. MOC_DTMF_SENDER_IND.Post processed MOC CDR. MOC_B_SUBS_LAST_LOC_EX_ID. MOC_B_SUBS_FIRST_LOC_LAI.32. CN3401FEN40GLA3 ( 85) ( 86) ( 87) (101) 35 ff 05551779000005ffffffffff ( 99) 03e8 006f (103) (113) 03e8 006f (117) ffff ffff (121) ffffffffffffffffffff (131) ffff (133) ffff 2000 0003 (139) 00 (140) 11 ff ff (143) 00 00 09:30.

DAT ACCDIR Control files for VDS-2 AG0001--25 Control files for VDS-3 AS0001--25 HBLOFI TRACIG TRACSU TRACIR TRAZON TRATOT VDS-1 VDS-2 VDS-3 VDS-4 VDS-5 VDS-6 Counters files (Accounting purpose) CF0001.DAT CF0002.DAT … CF9999.Relationship between logical files and the VDS and CHU disks Logical file TTLOFI VDS VDS-0 Normal CDRs Hot billing CDRs Disk structure of STU/CHU disk \ Control files for VDS-0 GSMBIL Control files for VDS-1 BF0001.DAT … BF0999.DAT Control files for VDS-4 AC0001--25 Control files for VDS-5 AZ0001--25 Control files for VDS-6 AT0001--25 CHU W1 CHU W0 25 © Nokia Siemens Networks CN3401FEN40GLA3 .DAT BF0002.

File is closed and waiting to be transferred. File has been transferred to the remote side. Only one file is open at a time. It can be used again when needed. 26 © Nokia Siemens Networks CN3401FEN40GLA3 . File is being compressed. File is unusable because the physical hard disk is full.Data file status Open Full Transferred Waiting Compressing Un-usable File is in use and the data is being written into this file. File is waiting to be compressed.

FILE ORIGINAL/ NUMBER STATUS COMPRESSED 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 TRANSFERRED TRANSFERRED FULL FULL FULL FULL FULL FULL COMPRESSING WAITING WAITING OPEN TRANSFERRED TRANSFERRED TRANSFERRED OK/OK OK/OK OK/OK W0/W0 W0/W1 W1/W1 OK/OK OK/OK OK/-OK/-OK/---/---/---/---/-B B B B B - FILLING TIME 2007-01-18 2007-01-18 2007-01-18 2007-01-18 2007-01-18 2007-01-18 2007-01-17 2007-01-17 2007-01-18 2007-01-18 2007-01-18 2007-01-18 0000-00-00 0000-00-00 0000-00-00 21:36:03 21:36:07 21:36:11 21:36:14 21:36:18 21:36:22 17:50:11 18:01:22 21:36:46 21:36:49 21:36:53 21:36:54 00:00:00 00:00:00 00:00:00 TRANSFER TIME 2007-01-18 2007-01-18 2007-01-17 2007-01-17 2007-01-17 2007-01-17 0000-00-00 0000-00-00 0000-00-00 0000-00-00 0000-00-00 0000-00-00 0000-00-00 0000-00-00 0000-00-00 22:40:00 22:50:00 06:47:00 06:52:00 07:03:00 07:06:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 00:00:00 27 © Nokia Siemens Networks CN3401FEN40GLA3 .Charging file states ZIFO:CHU:GSMCHA:1&&15.

CF9999 15-12-2006 10:00:00 Transferred TTTCOF TTSCOF 28 © Nokia Siemens Networks CN3401FEN40GLA3 . CF0001 CF0002 CF0003 CF0004 ………. CF9999 Transfer Time 19-08-2007 17:25:30 19-08-2007 18:00:30 19-08-2007 18:05:00 Data file No.Structure of TTTCOF and TTSCOF Data file No. CF0001 CF0002 CF0003 CF0004 Filling Time File Status 19-08-2007 17:25:30 Transferred 19-08-2007 18:00:30 Full 19-08-2007 18:05:00 Compressing 19-08-2007 18:07:30 19-08-2007 18:10:00 15-12-2006 10:00:00 19-08-2007 18:07:30 19-08-2007 18:10:00 Waiting Open ……….

Files used in the transfer of charging data (step 1) MSC BC charging files CF001.DAT CF002.DAT charging files transfer control file (TTTCOF) CF001 CF002 CF003 12-00 12-00 12-00 transfer control file (TTTCOF) state control file (TTSCOF) CF001 CF002 CF003 F O T 12-15 12-50 state control file (TTSCOF) - 29 © Nokia Siemens Networks CN3401FEN40GLA3 .DAT CF003.DAT CF002.DAT CF003.DAT read only CF001 12-00 CF002 12-00 CF003 12-00 read only CF001 CF002 CF003 CF001.

DAT charging files charging files CF001.DAT CF003.DAT CF002.Files used in the transfer of charging data (step 2) MSC BC CF001.DAT CF002.DAT CF003.DAT read only CF001 12-00 CF002 CF003 transfer control file (TTTCOF) CF001 CF002 CF003 read only CF001 CF002 CF003 12-00 12-00 12-00 12-00 12-00 transfer control file (TTTCOF) state control file (TTSCOF) CF001 CF002 CF003 F O T 12-15 12-50 - F O T 12-15 12-50 state control file (TTSCOF) - 30 © Nokia Siemens Networks CN3401FEN40GLA3 .

DAT read only CF001 12-00 BC CF001.DAT CF003.DAT CF002.DAT charging files transfer control file (TTTCOF) CF001 CF002 CF003 12-00 12-00 read only CF001 CF002 CF003 CF002 CF003 13-00 12-00 12-00 transfer control file (TTTCOF) state control file (TTSCOF) CF001 CF002 CF003 F O T 12-15 12-50 - F O T 12-15 12-50 state control file (TTSCOF) - 31 © Nokia Siemens Networks CN3401FEN40GLA3 .DAT CF003.DAT CF002.Files used in the transfer of charging data (step 3) MSC charging files CF001.

DAT CF003.DAT read only CF001.DAT charging files transfer control file (TTTCOF) CF001 CF002 CF003 13-00 12-00 12-00 read only CF001 CF002 CF003 13-00 12-00 12-00 transfer control file (TTTCOF) state control CF001 file (TTSCOF) CF002 CF003 F O T 12-15 12-50 CF001 CF002 CF003 - F O T 12-15 12-50 state control file (TTSCOF) - 32 © Nokia Siemens Networks CN3401FEN40GLA3 .DAT CF003.Files used in the transfer of charging data (step 4) MSC BC charging files CF001.DAT CF002.DAT CF002.

Files used in the transfer of charging data (step 5) MSC BC charging files CF001.DAT charging files transfer control CF001 file (TTTCOF) CF002 CF003 13-00 12-00 12-00 read only CF001 CF002 CF003 13-00 12-00 12-00 transfer control file (TTTCOF) state control CF001 file (TTSCOF) CF002 CF003 T F 12-15 13-15 13-15 CF001 CF002 CF003 F O T 12-15 12-50 state control file (TTSCOF) 0 - 33 © Nokia Siemens Networks CN3401FEN40GLA3 .DAT CF003.DAT CF003.DAT read only CF001.DAT CF002.DAT CF002.

Related MML Commands • ZGAP • ZGTI • ZGEP • ZIFO. ZIFI Check format of each CDR type Check CDR generation related parameter Check content of Charging block Check information related to Charging file 34 © Nokia Siemens Networks CN3401FEN40GLA3 .

IMG FORMAT OF RING BUFFER: SKIPPING OF UNTRANSFERRED DATA IS NOT ALLOWED OVERWRITE OF UNTRANSFERRED DATA IS NOT ALLOWED FILE IS NOT COMPRESSED DISK FILE SIZE: DISK FILE AMOUNT: BATCH SEQUENCE NUMBER: FILLED TO OFFSET: TIME CONTROL FOR FILE CLOSING: DAILY DISK FILE CLOSING TIME: DISK FILE CLOSING INTERVAL: 64 KB 150 22 00-00 00-00 35 © Nokia Siemens Networks CN3401FEN40GLA3 .IMG TTTCOF00.Z TTSCOF00.GSMCHA:B.DAT CF0000. DX 200 MSC-CSC FILE NAMES: ORIGINAL FILES: COMPRESSED FILES: STORAGE CONTROL FILE: TRANSFER CONTROL FILE: 2008-03-15 16:34:46 CF0000.Basic charging file settings IFI:STU.

GSMCHA:S.Statistical charging file settings < IFI:STU. DX 200 MSC-CSC 2008-03-15 16:35:05 ALARM SETTINGS: ALARM MODE: ALL CHARGING FILLING RATIO ALARMS IN USE FIRST ALARM LIMIT: FIRST ALARM CANCEL: 70 % 65 % SECOND ALARM LIMIT: SECOND ALARM CANCEL: STATISTICS: CURRENT FILL UP RATIO: AMOUNT OF FULL FILES: CURRENT BATCH SEQUENCE NUMBER: CURRENT DISK FILE NUMBER: CURRENT FILE OFFSET: 90 % 85 % 0 % 0 14043 115 0 36 © Nokia Siemens Networks CN3401FEN40GLA3 .

BSU.Charging hardware in the DX 200 MSC GSW X. SU FTAM to BC M BDCU VLRU CM STU CHU OMU SS Digit Analysis Charging Files 37 © Nokia Siemens Networks CN3401FEN40GLA3 . etc.25 Signalling Units: CCSU.

End Call charging record DAT 6. Transfer to Billing Center Via BDCU BDCU 1. Start Call STU/CHU call record TTCHAB charging block charging block 3. OMU 4. Take DAT to BC DAT 38 © Nokia Siemens Networks CN3401FEN40GLA3 . Generate Record and put into TTCHAB 7.SU 5. Write block into Charging Files 2. Backup to DAT Tape 3.