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.

Networking functionsSMS_ConnectGatewayDESCRIPTIONThis function must be used to connect to the <strong>VideoSMS</strong> gateway, byspecifying the gateway IP address and port number. It initialize alsothe internal data structures used for SMS communication (it is thereforemandatory to use this function to connect, a direct call to sockets is notsupported).A similar function allowing to connect through X.25 network could besupplied on request.RETURNSTATUSSMSNormalSMSErrorSMSNoVideosmsSMSInvalidParameterSMSNoNetworkSMSCannotConnectSMSAlreadyConnectedSMSNoAnswerSMSInvalidIPAddresssuccessful connection to MCTEL SMS Gateway.an error occured.<strong>VideoSMS</strong> is not installed on this sytem.one of the specified parameters is invalid.TCP/IP network is down or the system is notconnected to it.the MCTEL SMS Gateway could not be reached fromthe calling network. Check the firewall configuration ifapplicable.the application is already connected to the MCTELSMS Gateway and the customer profile does not allowmultiple simultaneous connections.the MCTEL SMS Gateway has not accepted the callduring the alloted timeframe.the IP address of the calling system is blacklisted oris not authorized to call MCTEL SMS Gateway.EXAMPLES4–3

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

Saved successfully!

Ooh no, something went wrong!