button - online cdr generator

bottom

Generating CDR with variable correspondents

In the previous tutorials we learn how to generate CDR for multiple customers (either generated on the fly or picked-up from an existing dataset) and how to configure a pattern of usage where the number of CDR for each customer may vary as well as the duration of each CDR.

It is now time to introduce variability in the corespondents of the generated CDR. To that intent, the sixth profile extends the previous one by generating random correspondents for each new CDR instead off always calling the same one. It is possible to change the correspondent for each CDR but also to change the CDR only for each customer.

CDR Correspondents

In the demo generator we propose a CDR's correspondents are identified by two attributes: the type and the ISDN. The type is a keyword that is usually provided by the network equipments and provides an identification of the telcom operator of the correspondent. Thus usual format for a correspondent type is 5 positions where the first 3 are for the country code and last 2 for the network / operator code.

In the configuration of a usage pattern, the generator expects that the correspondents attributes (corresp1 and corresp2) have the format TYPE/ISDN TYPE or just the type TYPE. If only the type is provided, the generator will look after an internal definition of the numbering plan for the provided type. But only a limited number of type is available.

Why having 2 correspondents ?

The two pattern's correspondent attributes support exactly the same configuration properties. Actually, two correspondents are provided to be able to model some specific mobile network situation such as call forwarding, SMS calls etc where the customer interacts with two correspondents at the same time in the same call.

Forwarded calls: In that situation a customer A is calling a first correspondent B whom has a forward feature toward C and thus the ultimate correspondent, the one A is suppose to talk to is C. The CDR must then mention the ISDN numbered by A (which is B in that case) and the actual correspondent he talks to (which is C in that case).

SMS calls: We you send or receive a SMS on your mobile, the emitter or receiver of the message is not the correspondent but a service plat form (SMS center). Again, the CDR expose the MS-ISDN of the service center and the MS-ISDN of the actual emitter or receiver of the message.

Unique v.s. variable correspondents

The two pattern's correspondent attributes support exactly the same configuration property. A correspondent configuration may be :

  • A single constant value to be replicated for each CDR
  • A list of values delimited by a colon to be iterate over for each new CDR
  • The name of a source file where values will be randomly picked up