adaptationlayer/tsy/simatktsy_dll/src/sateventdownload.cpp
changeset 8 6295dc2169f3
parent 5 8ccc39f9d787
child 9 8486d82aef45
--- a/adaptationlayer/tsy/simatktsy_dll/src/sateventdownload.cpp	Wed Feb 17 13:58:55 2010 +0200
+++ b/adaptationlayer/tsy/simatktsy_dll/src/sateventdownload.cpp	Wed Apr 21 14:29:55 2010 +0300
@@ -758,12 +758,11 @@
                                 sbStartOffset +
                                 CALL_MODEM_SB_ORIGIN_CS_ADDRESS_OFFSET_ADDR )
                                 | KMSBMask );
-                            // Append BCD address. Skip call type and mode
-                            // ( 2 first bytes, not required in envelope )
+                            // Append BCD address. Skip TON/NPI
                             BCDAddress.Append( aIsiMessage.GetData(
                                 sbStartOffset +
-                                CALL_MODEM_SB_ORIGIN_CS_ADDRESS_OFFSET_ADDR + 2,
-                                addressLength - 2 ) );
+                                CALL_MODEM_SB_ORIGIN_CS_ADDRESS_OFFSET_ADDR + 1,
+                                addressLength - 1 ) );
                             }
                         // Extract subaddress
                         retValue = aIsiMessage.FindSubBlockOffsetById(