Skip to main content

Sending SMS for PushRegistry

3 replies [Last post]
Anonymous

Hi,

Can anyone give me a detailed technical description on how to format an SMS
to be sent to a port on a phone to work with the PushRegistry?

I have access to SMS aggregators so I can send custom SMSs - I just need to
know what the restrictions on formating them are.

cheers
Dan
Ack

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
Dan Ackroyd

C. Enrique Ortiz wrote:
>First check if your messaging provider/aggregator
>allows you to specify a port number (the UDH field); who are you using
>for message aggregator?

Thanks, I'm probably going to be using www.winplc.com as we're using them
extensively for standard messages - I'll contact them about their api.

cheers
Dan
Ack

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".

Thomas Landspurg

It's in the JSR documentation...Mainly port numbers....

On 11/29/06, Dan Ackroyd wrote:
>
> Hi,
>
> Can anyone give me a detailed technical description on how to format an
> SMS
> to be sent to a port on a phone to work with the PushRegistry?
>
> I have access to SMS aggregators so I can send custom SMSs - I just need
> to
> know what the restrictions on formating them are.
>
> cheers
> Dan
> Ack
>
>
> ===========================================================================
> To unsubscribe, send email to listserv@java.sun.com and include in the
> body
> of the message "signoff KVM-INTEREST". For general help, send email to
> listserv@java.sun.com and include in the body of the message "help".
>

--
Thomas Landspurg
http://blog.landspurg.net

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".
[att1.html]

C. Enrique Ortiz

As Thomas said, it is about setting the appropriate port number when
sending the message... First check if your messaging provider/aggregator
allows you to specify a port number (the UDH field); who are you using
for message aggregator?

The following is from the article "The WMA 2.0" at the Sun Mobility
site. The same applies to using WMA via the PushRegistry API:

http://developers.sun.com/techtopics/mobility/midp/articles/wma2/

*About Server-to-Handset Messaging*

This article has covered how to send "mobile-originated" messages from
the handset, and how to receive "mobile-terminated" WMA messages sent
from a handset or a server. To send messages to a handset from a server
you need access to the network provider's SMSC and MMSC servers. Access
to these servers is considered privileged and typically you need to go
through third-party messaging vendors. These vendors already have
relationships with the major carriers such as AT&T (Cingular Blue),
Boost Mobile, Cingular (Orange), Nextel, T-Mobile, Sprint, and Verizon,
as well as with second-tier carriers such as Alltel, Western Wireless,
Leap, Cincinnati Bell, and Dobson. These vendors provide access to the
carrier's SMSC and MMSC through exposed APIs that use HTTP and other
protocols, allowing your server application to send messages to given
handsets, receive messages from handsets, and use premium services such
as short-codes.

Also remember that, if you need to send a message to a particular
application on a handset, you must set the appropriate port or
application ID for the message; if you don't, the message will be
delivered to the handset's default viewer. How you set port number or
application ID on an outgoing message will depend on the messaging
service you use; the vendor may provide APIs or you may have to build
the raw message in binary form. For GSM SMS, the port number resides in
the |TP-User-Data/User-Data-Header| field, while for MMS the application
ID resides in the MMS |Content-type| header.

===========================================================================
To unsubscribe, send email to listserv@java.sun.com and include in the body
of the message "signoff KVM-INTEREST". For general help, send email to
listserv@java.sun.com and include in the body of the message "help".
[att1.html]