How To Set Up SMS Text Messaging
This implementation will send an email in the following format: <phone number>@<sms gateway server host name>.
- Create a contact with a phone number in the Phone 1 field, such as "123 456 7890".
- Outside of Oracle Transportation Management, create an XSL stylesheet to define the content of a text message.
- Create a Stylesheet Profile that references your XSL stylesheet in the Template Name field. For example, "workflow/MySMSStylesheet.xsl".
- Create a Contact Notification.
-
In the Communication Method section, associate the stylesheet profile with the SMS communication method.
- Communication Method: "SMS".
- Stylesheet: "The stylesheet profile you defined above".
- Save.
- Click Finished.
-
Edit the same contact notification to subscribe a contact to the communication method and use the new stylesheet profile. In the Contacts section, complete the following:
- Contact ID: "The contact to whom you want to send the SMS".
- Communication Method: "SMS".
- Stylesheet: "The stylesheet profile you defined above".
- Save.
- Click Finished.
-
- Set the glog.sms.DefaultSMSHandler.suffix property to an SMS gateway, such as "txt.att.net".
If the event, a contact notification such as for a shipment modification, occurs, a message will be sent to 1234567890@txt.att.net. The ATT email to SMS gateway will in turn send a text message about the shipment update to 123 456 7890.
Note: This example only work if the phone number 123 456 7890 is in the AT&T network. You would need a gateway that handles phone numbers for all the networks.
Note: Text messages have a character limit of 160.