DCS changed to F5 using UCP when no UDH

DCS changed to F5 using UCP when no UDH SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through June 02, 2006 » DCS changed to F5 using UCP when no UDH « Previous || Next »
Author Message
Giles Jermy
New member
Username: Gjermy

Post Number: 1
Registered: 04-2006
Posted on Wednesday, April 05, 2006 - 09:41 am:   

1) We have NowSMS connected to
a) A GSM modem
b) A UCP connection.

2) When we send an SMS through the modem it works; when we send through UCP it doesn’t.

3) The problem only seems to exist when UDH is NOT set.

4) The problem appears to be that when UDH is NOT set, the DCS parameter is changed from 00 to F5.

e.g.
The URL we are sending to NowSMS Web Interface is

http://localhost:8800/Send%20Binary%20Message%20Other.htm?PhoneNumber=0796xxxx&U NUSED=on&UDH=&DATA=683A1DAE7BBD62B29B0BE682B962AF3A7CFC42D7E5647679FEFA91C3F470E F1683C16030186C4ECBC56E37&PID=00&DCS=00&Submit=Submit&Binary=1

(PhoneNumber obviously garbled).

This works for a GSM modem but when we send through UCP the DCS seems to be transformed to F5, thus the encoding specified is incorrect and the message appears garbled.

When we send a message with UDH= something not empty, the DCS remains as 00.

The base version of NowSMS is "5.51 M"

Is this a known problem?
Is there a workaround or patch?

Thanks,

Giles.
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5786
Registered: 10-2002
Posted on Thursday, April 06, 2006 - 12:37 pm:   

Hi Giles,

I'm curious where you are seeing this DCS changed to F5. Is it indicated in the NowSMS logs (e.g., SMSOUT-yyyymmdd.LOG)?

I'm guessing that the SMSC is changing it because it doesn't expect to receive a binary message with DCS=0, and the SMSC is applying its own default DCS value for binary messages.

When UDH is present and DCS=0, NowSMS is actually converting the 7-bit GSM binary back to text (in a default configuration). So I'm guessing that applying this same conversion when DCS=0 and UDH is not present would resolve your issue.

An updated SMSUCP.DLL that makes this change can be downloaded from http://www.nowsms.com/download/giles.zip.

-bn
Giles Jermy
New member
Username: Gjermy

Post Number: 2
Registered: 04-2006
Posted on Thursday, April 06, 2006 - 01:12 pm:   

We will try the patch and report back.

Many thanks, Giles.
Antonijo Lorenzoni
New member
Username: Alorenzoni

Post Number: 1
Registered: 04-2006
Posted on Thursday, April 06, 2006 - 04:39 pm:   

We have tryed the patch with the following result.
* We can correctly send messages using the send_binary_other feature
* When we send messages using the "send_txt_message", the received message is corrupted
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5818
Registered: 10-2002
Posted on Thursday, April 20, 2006 - 03:33 pm:   

Apologies for the delay.

I've updated the http://www.nowsms.com/download/giles.zip link with another update. This version should detect whether or not the content is binary before applying that conversion.

-bn
Bryce Norwood - NowSMS Support
Board Administrator
Username: Bryce

Post Number: 5852
Registered: 10-2002
Posted on Thursday, April 27, 2006 - 05:50 pm:   

The above patch has been incorporated into the official patch set for NowSMS 2006.

See http://support.nowsms.com/discus/messages/53/15129.html

Login Login / Register Logout Logout Search Last 30 Days Topics Topics