SMPP Patch for data_coding: 3

2008-10-03 Thread Michael Zervakis
Dear all, We connect to a SMPP SMSC using kannel and we had problems reading greek characters when data coding was set to 3. I attached the modifications to gw/smsc/smsc_smpp.c that solved the problem. Regards Index: gw/smsc/smsc_smpp.c

Re: SMPP Patch for data_coding: 3

2008-10-03 Thread Andreas Fink
does that mean your SMSC requests utf8 instead of iso? On 03.10.2008, at 11:23, Michael Zervakis wrote: Dear all, We connect to a SMPP SMSC using kannel and we had problems reading greek characters when data coding was set to 3. I attached the modifications to gw/smsc/smsc_smpp.c that

Re: Re: SMPP Patch for data_coding: 3

2008-10-03 Thread Michael Zervakis
Actually we noticed that certain mobile phones use data_coding 3 when sending MO SM with greek characters (not UCS-2) instead of 0 as you can see in the following example: 2008-09-30 13:19:31 [19193] [13] DEBUG: SMPP PDU 0x8268558 dump: 2008-09-30 13:19:31 [19193] [13] DEBUG: type_name:

Re: SMPP Patch for data_coding: 3

2008-10-03 Thread Stipe Tolj
Michael Zervakis schrieb: Dear all, We connect to a SMPP SMSC using kannel and we had problems reading greek characters when data coding was set to 3. I attached the modifications to gw/smsc/smsc_smpp.c that solved the problem. -1 for the patch. DCS=0x03 is defined in SMPP v3.4 to be