Re: messages with udh
"Bruno David Rodrigues" <[email protected]>
| Newsgroups | gmane.comp.mobile.kannel.devel |
|---|---|
| Message-ID | <007c01c1cb4d$e46e78d0$0a00a8c0@davi> |
----- Original Message ----- From: "Avner Sternheim" <[email protected]> To: <[email protected]> Sent: Thursday, March 14, 2002 9:19 AM Subject: RE: messages with udh > The SMSC operator wrote me that they are using the udh instead of the DCS. There's no "using udh instead of the DCS". This don't make sense. One is the User Data Header, other is Data Coding Scheme. You can't have Data coding scheme in User Data Header, nor Udh in DCS, neither text message in A-Number neither PID in text field.... Every field has a meaning and expected values. Except..... UCP at least from 3.5 says: (EMI_UCP_Specification_40.pdf: page 38) "DCs Deprecated" "MCLs Message Class. Shall be supplied when MT=4 and Xser "GSM DCS information" is not supplied." Page 39 "If the MCLs field is also specified, the GSM DCS information field in the XSER field overrules the MCLs field." Do you have some older version of UCP that still requires DCS in deprecated DCs and MCLs fields ? (snip text comparing potatoes with harddisks) You probably want the old behaviour.... Try this patch and see if it works: Index: gw/smsc_emi2.c =================================================================== RCS file: /home/cvs/gateway/gw/smsc_emi2.c,v retrieving revision 1.46 diff -r1.46 smsc_emi2.c 401c401,402 < if ((dcs = fields_to_dcs(msg, msg->sms.alt_dcs))) { --- > dcs = fields_to_dcs(msg, msg->sms.alt_dcs); > if (dcs != 0 && dcs != 4) {