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 |
CMT | Cellular Messaging |
CPT | Cellular Paging |
VMN | Voice Mail Notification |
VMA | Voice Mail Alerting |
WAP | Wireless Application Protocol |
USSD | Unstructured Supplementary Services Data |
CBS | Cell Broadcast Service |
Data Type
Integer