WDP Adaptation and EMS segmentation

WDP Adaptation and EMS segmentation SearchSearch

SMS & MMS Technical Forum » NowSMS Support - SMS Issues (Product Support Only) » Archive through May 07, 2008 » WDP Adaptation and EMS segmentation « Previous || Next »
Author Message
Aaron Young
New member
Username: Ayoung

Post Number: 2
Registered: 11-2006
Posted on Thursday, October 25, 2007 - 04:52 pm:   

NowSMS Support,

My company develops radio network simulators (CDMA) and we are working on a simple SMSC implementation which interfaces with NowSMS over SMPP. The issue I am running into is supporting both WAP and EMS segmentation without requiring a NowSMS configuration change.

I enable WDP Adaptation in NowSMS and handle the creation of the CDMA-specific WAP header myself, (message type, total segments, segment number, etc.), and everything works fine. For EMS, however, I was hoping to let NowSMS do the segmentation, but it only seems to do so if I disable WDP Adaptation... Why is EMS affected by this setting? Is there a way to change this behavior such that NowSMS segments EMS messages, but not WAP?

I tried enabling "Use TLV parameters for port numbers and segmentation", but then the EMS UDH doesn't seem to come out right (WAP still works). Can you explain how this setting affects EMS UDH's?

Thanks,
Aaron
Malcolm - Now Support
Moderator
Username: Malcolm

Post Number: 263
Registered: 12-2006
Posted on Thursday, October 25, 2007 - 05:09 pm:   

Hi Aaron,

EMS segmentation is very problematic in general.

If you can provide me with an example of some EMS content that you are trying to send, then we'll take a closer look at this.

-malcolm
Aaron Young
New member
Username: Ayoung

Post Number: 3
Registered: 11-2006
Posted on Thursday, October 25, 2007 - 07:22 pm:   

Hi Malcom,

The behavior seems to be fine if I use the following advanced SMPP settings:

Use WDP Adaptation... = unchecked
Use WEMT Teleservice... = checked
Encode text messages... = checked
Encode long text messages... = checked
Use TLV parameters... = unchecked

Here are a couple of segments for an EMS message containing all bold lower-case letters (in hex):

First Segment:
0A 00 03 47 02 01 0A 03 00 8E 10 08 8B C7 E4 B2 F9 8C 4E AB D7 EC B6 FB 0D 8F CB E7 F4 BA FD 8E D7 E7 C3 E2 31 B9 6C 3E A3 D3 EA 35 BB ED 7E C3 E3 F2 39 BD 6E BF E3 F5 F9 B0 78 4C 2E 9B CF E8 B4 7A CD 6E BB DF F0 B8 7C 4E AF DB EF 78 7D 3E 2C 1E 93 CB E6 33 3A AD 5E B3 DB EE 37 3C 2E 9F D3 EB F6 3B 5E 9F 0F 8B C7 E4 B2 F9 8C 4E AB D7 EC B6 FB 0D 8F CB E7 F4 BA FD 8E D7 E7 C3 E2 31 B9 6C 3E A3 D3 EA 35 1B

Second segment:
0A 00 03 47 02 02 0A 03 00 5C 10 68 BB DF F0 B8 7C 4E AF DB EF 78 7D 3E 2C 1E 93 CB E6 33 3A AD 5E B3 DB EE 37 3C 2E 9F D3 EB F6 3B 5E 9F 0F 8B C7 E4 B2 F9 8C 4E AB D7 EC B6 FB 0D 8F CB E7 F4 BA FD 8E D7 E7 C3 E2 31 B9 6C 3E A3 D3 EA 35 BB ED 7E C3 E3 F2 39 BD 6E BF E3 F5 79

As you can see, the UDH has the proper segmentation element (8-bit reference). This message is received by the phone correctly.

However, if I enable WDP Adaptation (needed for WAP segmentation) EMS messages aren't segmented either, which means I would have to handle it in the SMSC. If I also enable "Use TLV parameters" these are the segments that result:

First segment:
04 03 00 8E 10 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76 77 78 7A 79 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76 77 78 7A 79 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76 77 78 7A 79 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76 77 78 7A 79 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76 77 78 7A 79 61 62 63 64 65 66 67 68 69 6A 6B 6C

Second segment:
04 03 00 5C 10 6D 6E 6F 70 71 72 73 74 75 76 77 78 7A 79 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76 77 78 7A 79 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76 77 78 7A 79 61 62 63 64 65 66 67 68 69 6A 6B 6C 6D 6E 6F 70 71 72 73 74 75 76 77 78 7A 79

I can't tell what exactly is in the UDH here, but it looks like the formatting element without the '0x0A' identifier, and the segmentation element is not present (maybe this is the expected behavior, though). Also, the message is no longer 7-bit encoded. If I have to manipulate UDH's myself, its not the end of the world and I'll just go with only WDP Adaptation enabled and bite the bullet. However, if there was a NowSMS configuration which would enable WDP Adaptation but leave EMS handling alone, that would be ideal.


Let me know if you need any additional information from me.

Thanks,
Aaron
Aaron Young
New member
Username: Ayoung

Post Number: 4
Registered: 11-2006
Posted on Monday, November 26, 2007 - 07:40 pm:   

Any update on this?

Thanks,
Aaron

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