Welcome SMS location update CDR

The Welcome SMS SIBB generates a Location Update CDR each time a location update trigger received. The CDR contains a variable part at the end of the CDR which is configurable.

A unique identifier is generated for each Location Update CDR.
Field Name Description

1

Subscriber ID

The MSISDN of the subscriber. This is in Tango internal format.

2

Service ID

The CDR Service ID. This is 66 for the Welcome SMS service.

3

Transaction Type

Denotes the transaction type. This is 0 for Location Update Triggers.

4

Tenant ID

Alphanumeric string that displays the ID of the network operator for which the CDR was produced.

5

MSISDN

The subscriber’s MSISDN in international format.

6

Location Update Reference ID

The UUID for the Location Update Trigger.

7

CDR Generation Date

The date the CDR was generated. Format: DD/MM/YYYY.

8

CDR Generation Time

The time the CDR was generated. Format: hh:mm:ss.

9

Container Name

The name of the container.

10

Result Code

The result code.

possible values
  • 0 = Welcome SMS offer available

  • 1 = Subscriber in DND DB

  • 2 = Debounce (subscriber already sent a WSMS for the VPLMN within debounce period).

  • 3 = No matching offer configured on RTE

  • 4 = External subscriber lookup failed

  • 5 = Notification failure

  • 7 = PLMN not found

  • 8 = List Manager Lookup failure

11

Result Description

Description of the error code.

12

IMSI

The subscriber’s IMSI.

13

ServiceKey

The value of the service key received in the request.

An example would be 10a9.

14

VPLMN

The Visited Public Land Mobile Network. This is the PLMN on which the mobile subscriber has roamed when leaving his or her HPLMN.

An example would be 51709.

15

Network Name

The network name as per location mapping lookup.

16

Country Name

The resolved country name as per location mapping lookup.

17

Zone Name

The resolved zone name as per location mapping lookup.

18

List Names

A delimited list of ListNames on which the subscriber is present.

An example might be VIP or TOP_SPENDER.

19

Offer Lookup Status

The offer lookup status.

values
  • 0 = Offer found

  • 1 = No offer

20

Number of Offer Actions

The number of notifications to be sent to the subscriber as part of the offer.

The number of actions are contained in the offer.

21

Number of Delayed Offer Actions

The number of notifications to be sent to the subscriber at a later time.

22

Campaign Name

The name of the campaign that matched this subscriber.

This is blank if there is no campaign.

23

Offer Name

The name of the offer that matched this subscriber.

This is blank if there is no offer.



Variable part

The Location Update CDR contains a variable part which is configurable.

If you require the variable part, you need to configure the fields that you wish to append to the end of the CDR via the common.properties file typically found at /tango/config/sibb/main/sibbs/service/common.properties.

How do I add the variable part to the CDR?

  1. Navigate to /tango/config/sibb/main/sibbs/service/common.properties.

  2. Set the sibb.cdr.dynamic.format.enabled property to true.

  3. Add the desired fields as a comma-separate list to the sibb.cdr.dynamic.format property.

These fields are keys that are sent in the JSON payload sent to the Subscriber Offer Manager (SOM).
You can see the available JSON key-value pairs in the SIBB logs.
DEBUG com.tango.sibb.common.stages.SomTriggerOffer - [967178860] SOM send request message [{"serviceKey":"123","tenant":"sprint","Lists":"null","planNumber":0,"planList":"|","classificationList":" |","vplmn":"26806","country":"Portugal","region":"WSMS_EU","planType":"data","subscriberClass":"Standard","lang":"en","subscriberType":"postpaid","msisdn":"967178860","timestamp":"20/11/2019 14:36:51","channel":"USSD","trigger":"welcomeSMS","tenantId":"sprint"}]

Variable part example

Let’s say you configured sibb.cdr.dynamic.format=subscriberType,lang.

Field Name Description

24

subscriberType

The type of subscriber.

This is typically postpaid or prepaid.

25

language

The language of the subscriber.

These are ISO 639 codes such as en for English and es for EspaƱol/Spanish.