ServiceType Property

Indicates the type of service for the current message.

Syntax

ANSI (Cross Platform)
int GetServiceType();
int SetServiceType(int iServiceType); Unicode (Windows) INT GetServiceType();
INT SetServiceType(INT iServiceType);

Possible Values

SMPP_SERVICE_DEFAULT(0), 
SMPP_SERVICE_CMT(1),
SMPP_SERVICE_CPT(2),
SMPP_SERVICE_VMN(3),
SMPP_SERVICE_VMA(4),
SMPP_SERVICE_WAP(5),
SMPP_SERVICE_USSD(6),
SMPP_SERVICE_CBS(7)
@property (nonatomic,readwrite,assign,getter=serviceType,setter=setServiceType:) int serviceType;
- (int)serviceType;
- (void)setServiceType:(int)newServiceType;

Possible Values

SMPP_SERVICE_DEFAULT(0), 
SMPP_SERVICE_CMT(1),
SMPP_SERVICE_CPT(2),
SMPP_SERVICE_VMN(3),
SMPP_SERVICE_VMA(4),
SMPP_SERVICE_WAP(5),
SMPP_SERVICE_USSD(6),
SMPP_SERVICE_CBS(7)
#define PID_SMPP_SERVICETYPE 20

IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_SMPP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_SMPP_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

Default Value

0

Remarks

When sending messages, this property is used define the SMS application service to be associated with the message. The MC will use the value to determine the availability of enhanced messaging services and to control the teleservice used on the air interface.

The values are defined in the SMPP 5.0 specification as the following:

"" (NULL)the MC default
CMTCellular Messaging
CPTCellular Paging
VMNVoice Mail Notification
VMAVoice Mail Alerting
WAPWireless Application Protocol
USSDUnstructured Supplementary Services Data
CBSCell Broadcast Service

Data Type

Integer

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 C++ Edition - Version 20.0 [Build 8307]