Send SMS to a specific port on destination device

Send SMS to a specific port on destination device SearchSearch
Author Message
Neeraj Kalyan
Posted on Thursday, February 19, 2009 - 07:09 am:   

Dear All,
I am trying to post the SMS to a specific port (port:5000) on the destination mobile. I am successful to send SMS to GSM Mobile. but on CDMA it is going as normal SMS, not on port 5000.

I am using udh=06050413880000 in querystring

Any one who can help me on this

thanks in advance.

-Neeraj
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 485
Registered: 08-2008
Posted on Thursday, February 19, 2009 - 02:47 pm:   

Hi Neeraj,

That is pretty much to be expected.

UDH is not used in CDMA environments.

Port addressing is encoded according to WAP WDP over SMS (as used for WAP Push).

In GSM environments, WAP WDP uses UDH.

In CDMA environments, WAP WDP uses a different CDMA specific encoding. The problem is that it is a binary message encoding, and it is VERY difficult to find SMS providers that can provide binary SMS support for CDMA environments.

The preferred solution is to use SMPP, using TLV parameters for port number addressing (this is a configuration option under "Advanced Settings" when defining an SMPP connection). In this scenario, the SMSC translates the port addressing headers to the appropriate format for CDMA or GSM as needed.

Unfortunately, most SMS providers are expecting to deal with simple text messages only, and don't understand this. You need to find an SMS provider that can support port addressing for both GSM and CDMA recipients. And you would use TLV parameters for port addressing over SMPP.

NowSMS does have an option for building the CDMA headers directly when connecting via HTTP, but this is an option only for lab/testing environments, as it is not practical. For the curious, there are more details here: http://www.nowsms.com/support/bulletins/tb-nowsms-010.htm

So, in short, there are no easy answers. Finding an SMS provider that can deliver binary messages out to CDMA handsets is a challenge. But when you find one, using SMPP and TLV parameters for port addressing is the preferred solution.

--
Des
NowSMS Support
Lorne Glazer
New member
Username: Lorne

Post Number: 1
Registered: 02-2009
Posted on Thursday, February 19, 2009 - 07:57 pm:   

What about the destport & sourceport parameters. Do they work in the CDMA environment with NowSMS?

lorne
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 496
Registered: 08-2008
Posted on Saturday, February 21, 2009 - 02:26 am:   

Hi Lorne,

Yes, those parameters do work. However, they are subject to the same considerations as above.

You need to have an SMS service provider that can deliver binary SMS messages (or at least port addressed messages) to CDMA handsets.

Usually, this will be an SMPP connection, and you will need to enable the "Use TLV Parameters for port numbers and segmentation" option for the SMPP connection in NowSMS. That setting tells NowSMS not to use the GSM specific format, but to use the protocol agnostic format defined for SMPP.

Unfortunately, not all SMS providers support this ... most can support only simple text message delivery to CDMA handsets.

--
Des
NowSMS Support
Neeraj Kalyan
New member
Username: Nk1967in

Post Number: 2
Registered: 06-2006
Posted on Saturday, February 21, 2009 - 05:20 am:   

Dear Des,
thanks for the information
but is there any other way so I can post only text message to CDMA as well as GSM device at specific port?
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 503
Registered: 08-2008
Posted on Sunday, February 22, 2009 - 11:23 pm:   

Hi Neeraj,

Even though the content of your message is text, because it includes port addressing, it is considered binary to the network if it contains the port number headers.

So you need an SMS service provider connection that can support binary SMS messages (or at least port addressed messages) to CDMA handsets. A GSM modem definitely won't work.

All that said, I did stumble across the following old posting from one of my colleagues. He didn't think the suggestion was going to work, but there was never any follow-up information posted:

http://support.nowsms.com/discus/messages/1/13533.html

--
Des
NowSMS Support
rambhavankouri
New member
Username: Rambhavan

Post Number: 1
Registered: 02-2009
Posted on Monday, February 23, 2009 - 03:45 pm:   

HI MEN
hossein lotfi
New member
Username: Hosseinmeteo

Post Number: 1
Registered: 02-2009
Posted on Wednesday, February 25, 2009 - 07:20 pm:   

salam
NFAI
New member
Username: Nfai

Post Number: 1
Registered: 02-2009
Posted on Thursday, February 26, 2009 - 07:16 am:   

I do not want to give any of my mobile no. while registering or downloading the software. I just want to send sms through my email ID to mobiles. Is it possible.
NFAI
New member
Username: Nfai

Post Number: 2
Registered: 02-2009
Posted on Thursday, February 26, 2009 - 09:39 am:   

I do not want to give any of my mobile no. while registering or downloading the software. I just want to send sms through my email ID to mobiles. Is it possible.
Des - NowSMS Support
Board Administrator
Username: Desosms

Post Number: 514
Registered: 08-2008
Posted on Thursday, February 26, 2009 - 01:22 pm:   

We do not ask for your mobile number.

I think you are confused about what NowSMS is. NowSMS is an SMS and MMS "middleware" solution. It is not a way to send free SMS.

For more information on NowSMS, please see http://www.nowsms.com/whatisnowsms.htm.

--
Des
NowSMS Support