Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Reply messages can be forwarded to
1. an email address
2. a mobile phone number
2. a remote URL 3. a remote web service
4. held in an inbox on the server. Client needs to poll the in-box

The ReplyTo address is set when the original batch is submitted.

...

type = URL
value must start http:

Code Block
<REPLYTO> 
	<ADDRESS type="URL" role="REPLYTO" value="http://sms.company.com/receive?/text=%%TEXT%%&amp;from=%%FROM%%"/> 
</REPLYTO>

WEBSERVICE

...

Code Block

webservice:http://localhost:88/axis/services/SMSServiceClient?to=%%TO%%"

INBOX

type = INBOX
value must start inbox:

Code Block

inbox:to=%%TO%%"

Example Document

Code Block
<!DOCTYPE DOCUMENT SYSTEM "http://localhost:8080/gateway/msg_core.dtd">
<DOCUMENT mode="NORMAL">

<SENDER password="myPassword">
	<ADDRESS type="EMAIL" role="FROM" value="my.account@company.com"/>
</SENDER>
<REPLYTO>

	<ADDRESS type="URL" role="REPLYTO" value="http://sms.company.com/receive?/text=%%TEXT%%&amp;from=%%FROM%%"/> 
</REPLYTO>

<SMS>
	<HEADER></HEADER>
	<FOOTER></FOOTER>
</SMS>

<MESSAGE>
	<ADDRESS type="SMS" role="TO" value="0410123123"/>
	<BODY type="TEXT">
		<PAYLOAD type="TEXT" encoding="ASCII">text of message to send</PAYLOAD>
	</BODY>
</MESSAGE>
</DOCUMENT>

...