As we work to continue to extend the Tropo API, we have added a few new SMS features for your enjoyment. The new features:
- Caller ID may be set for outbound SMS to any phone number assigned to the application sending the SMS.
- If Caller ID is not set, then by default the first phone number in your application list of numbers will be used as the Caller ID.
- Tropo will now respond from the same phone number that was initially contacted by an Inbound SMS by default if there is more than one number assigned to your application.
Here is a quick snippet on how to send an outbound SMS using Tropo Scripting and setting the Caller ID:
call $numberToMessage, { :channel => 'TEXT', :network => 'SMS', :callerID => '4155551212' }
say 'Here is your friendly SMS message'
hangup
More to come, so stay tuned!
