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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Premium SMS Session Management FunctionsSMS_ReplySMSSessionClosedVMS Usage: longwordtype: longwordaccess: read onlymechanism: by referenceFlag set to 1 if the current transactional session must be closed, that is if nofurther exchange is expected for this session.DESCRIPTIONThis function sends back a SMS-MT response message answering apreviously received SMS-MO request from the remote user.The content of the SMS to be transmitted may be passed to the functionor stored in a sequential text or binary file whose filename is passed to thefunction.There is no need to specify the recipient mobile number as the user mobilenumber is known.On some networks, the mobile operator SMS-Center manages a primitivesession context, including a transactional session (one for each payingexchange) and a service session (alloted to a given mobile user). Onthose networks, the sms_action variable is used to manage the SMS-Centersession:• the CONFIRM action closes the transactional session and triggers theuser charging if applicable.• the CLOSE action closes the service session.• the END action closes both sessions (transactional and service).• the VIDEOSMS internal session and its context (several relatedexchanges) may also be closed by setting the sms_sessionclosed flag.RETURNSTATUSSMSNormalSMSErrorSMSLinkLostSMSNoSessionSMS transmission request received by the MCTELGateway. This status does not mean that the SMShas been successfully transmitted and received bythe recipient but that it has been received by the SMSGateway and queued for transmission.The msg_reference_number variable returns the SMSentry number in the SMS Gateway. This number isunique amongst all the SMS managed by the SMSGateway and should be used to request the SMSstatus.an unspecified error occurred.the link to the MCTEL SMS Gateway has been lost.there is no currently open session, there is no way toanswer as no remote user is known, the SMS_Sendmust be used to send a SMS by specifying the mobileuser MSISDN.7–12

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

Saved successfully!

Ooh no, something went wrong!