09.07.2015 Views

VideoSMS/Client Application Programming Interface ... - MCTel

VideoSMS/Client Application Programming Interface ... - MCTel

VideoSMS/Client Application Programming Interface ... - MCTel

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

VIDEOSMS SMS Management Functions (outside Premium session)SMS_WAPPushSMS_WAPPushThis function sends a Push Wap SMS to the intended recipient.FORMAT SMS_WAPPush UInt32 *ConnectId, SMSMessage*SMSMessage, WapData *WapData,char *private_reference, char*private_dataRETURNSVMS Usage: cond_valuestype: longwordaccess: read onlymechanism: by valueARGUMENTSConnectIdVMS Usage: pointertype: pointer to longwordaccess: read onlymechanism: by referenceUnique connection id, initialized by the function SMS_ConnectGateway.*Message_to_sendVMS Usage: pointertype: pointer to SMSMessage structureaccess: read/writemechanism: by referencePointer to a SMSMessage structure type.On input, the following fields of the structure must be initialized:• messagetype: set to SMSMessageTypeSubmitted.• called_number: recipient mobile number (MSISDN), at the followingformat:5 international number, prefixed by a ’+’ and the country code: e.g.:+33612345678.5 international number, prefixed by 00 and the countru code: e.g.:0033612345678On output, the msg_reference_number field is filled with the unique SMSmessage identifier assigned by the MCTEL SMS gateway to the message.It is recommended to store this SMS message identifier. When the SMS_ReadStatus is called to check the status of a previously submitted SMS,this message identifier will be required.5–7

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!