Opensmppbox changes characters

2011-08-26 Thread Peter@locotel
Dear kannel user,

when I send a simple message to get characters checked I have odd
results.

Using the arrangement

application-kannel-smsc

all char are ok

when I use the following arrangement

application-kannel-opensmppbox-kannel-smsc

in the link inside the opensmppbox I get some characters converted
although is have alt-charset = UTF-8 in the smsc configuration.

See the PDU dump bellow to check that.

The characters are in hex

data: 40 24 5e 5f 7b 7d 5b 5d 5c 7c 7e -These are replaced by
data: a1 a4 dc a7 e4 f1 c4 d1 d6 f6 fc -these numbers giving wrong
chars

How do I correct that?

Thank u in advance for looking into such long listing.

Best 


Access Log


2011-08-25 17:45:37 send-SMS request added - sender:pino:ABC SA
127.0.0.1 target:306969696969 request: '!@#$%^*()-_=+{}[],.?/\|':;~'
€£¤¥§¿ ABΓΔEZHΘIKΛMNΞOΠPΣTYΦXΨΩΣ ABΓΔEZHΘIKΛMNΞOΠPΣTYΦXΨΩ AEHIOYΩ
AEHIOYΩ IYIYIY
1234567890
1234567890
1234567890
1234'
2011-08-25 17:45:37 Sent SMS [SMSC:ABCsms] [SVC:pino] [ACT:] [BINF:]
[FID:457569397] [META:] [from:ABC SA] [to:306969696969]
[flags:-1:0:-1:-1:31] [msg:181:!@#$%^*()-_=
+{}[],.?/\|':;~' . ABEZH..IK..MN..O..P..TY..X..
ABEZH..IK..MN..O..P..TY..X AEHIOY.. AEHIOY..
IYIYIY.1234567890.1234567890.1234567890.1234] [udh:0:]
2011-08-25 17:45:37 Receive DLR [SMSC:ABCsms] [SVC:pino] [ACT:] [BINF:]
[FID:457569397] [META:] [from:ABC SA] [to:306969696969]
[flags:-1:-1:-1:-1:8] [msg:4:ACK/] [udh:0:]
2011-08-25 17:45:38 Sent SMS [SMSC:cosmote] [SVC:pino] [ACT:] [BINF:]
[FID:1290142803] [META:?smpp?] [from:ABC SA] [to:306969696969]
[flags:-1:0:-1:0:19] [msg:181:!.#.%.*()-.=
+,.?/..':;.' . ABEZH..IK..MN..O..P..TY..X..
ABEZH..IK..MN..O..P..TY..X AEHIOY.. AEHIOY..
IYIYIY.1234567890.1234567890.1234567890.1234] [udh:0:]
2011-08-25 17:45:41 Receive DLR [SMSC:cosmote] [SVC:pino] [ACT:ABCSA]
[BINF:] [FID:1290142803] [META:?smpp?dlr_err=004] [from:ABC SA]
[to:306969696969] [flags:-1:-1:-1:-1:1] [msg:104:id:1290142803 sub:001
dlvrd:001 submit date:1108251648 done date:1108251448 stat:DELIVRD
err:004 text: .] [udh:0:]
2011-08-25 17:45:41 Receive DLR [SMSC:ABCsms] [SVC:pino] [ACT:pino]
[BINF:] [FID:457569397] [META:?smpp?dlr_err=004] [from:ABC SA]
[to:306969696969] [flags:-1:-1:-1:-1:1] [msg:112:id:1b45f475 sub:001
dlvrd:001 submit date:1108251745 done date:1108251745 stat:DELIVRD
err:004 text:] [udh:0:]


+
opensmppbox LOG
+

SMPP PDU 0x8c990d8 dump:
2011-08-25 17:45:37 [13452] [2] DEBUG:   type_name: submit_sm
2011-08-25 17:45:37 [13452] [2] DEBUG:   command_id: 4 = 0x0004
2011-08-25 17:45:37 [13452] [2] DEBUG:   command_status: 0 = 0x
2011-08-25 17:45:37 [13452] [2] DEBUG:   sequence_number: 64 =
0x0040
2011-08-25 17:45:37 [13452] [2] DEBUG:   service_type: NULL
2011-08-25 17:45:37 [13452] [2] DEBUG:   source_addr_ton: 5 = 0x0005
2011-08-25 17:45:37 [13452] [2] DEBUG:   source_addr_npi: 0 = 0x
2011-08-25 17:45:37 [13452] [2] DEBUG:   source_addr: ABC SA
2011-08-25 17:45:37 [13452] [2] DEBUG:   dest_addr_ton: 2 = 0x0002
2011-08-25 17:45:37 [13452] [2] DEBUG:   dest_addr_npi: 1 = 0x0001
2011-08-25 17:45:37 [13452] [2] DEBUG:   destination_addr:
306969696969
2011-08-25 17:45:37 [13452] [2] DEBUG:   esm_class: 3 = 0x0003
2011-08-25 17:45:37 [13452] [2] DEBUG:   protocol_id: 0 = 0x
2011-08-25 17:45:37 [13452] [2] DEBUG:   priority_flag: 0 = 0x
2011-08-25 17:45:37 [13452] [2] DEBUG:   schedule_delivery_time: NULL
2011-08-25 17:45:37 [13452] [2] DEBUG:   validity_period:
110827144537000+
2011-08-25 17:45:37 [13452] [2] DEBUG:   registered_delivery: 1 =
0x0001
2011-08-25 17:45:37 [13452] [2] DEBUG:   replace_if_present_flag: 0 =
0x
2011-08-25 17:45:37 [13452] [2] DEBUG:   data_coding: 0 = 0x
2011-08-25 17:45:37 [13452] [2] DEBUG:   sm_default_msg_id: 0 =
0x
2011-08-25 17:45:37 [13452] [2] DEBUG:   sm_length: 181 = 0x00b5
2011-08-25 17:45:37 [13452] [2] DEBUG:   short_message:
2011-08-25 17:45:37 [13452] [2] DEBUG:Octet string at 0x8c99d18:
2011-08-25 17:45:37 [13452] [2] DEBUG:  len:  181
2011-08-25 17:45:37 [13452] [2] DEBUG:  size: 182
2011-08-25 17:45:37 [13452] [2] DEBUG:  immutable: 0
2011-08-25 17:45:37 [13452] [2] DEBUG:  data: 21 40 23 24 25 5e 26
2a 28 29 2d 5f 3d 2b 7b 7d   !@#$%^*()-_=+{}
2011-08-25 17:45:37 [13452] [2] DEBUG:  data: 5b 5d 3c 3e 2c 2e 3f
2f 5c 7c 22 27 3a 3b 7e 27   [],.?/\|':;~'
2011-08-25 17:45:37 [13452] [2] DEBUG:  data: 20 e2 82 ac c2 a3 c2
a4 c2 a5 c2 a7 c2 bf 20 41. A
2011-08-25 17:45:37 [13452] [2] DEBUG:  data: 42 ce 93 ce 94 45 5a
48 ce 98 49 4b ce 9b 4d 4e   BEZH..IK..MN
2011-08-25 17:45:37 [13452] [2] DEBUG:  data: ce 9e 4f ce a0 50 ce
a3 54 59 ce a6 58 ce a8 ce   ..O..P..TY..X...
2011-08-25 17:45:37 [13452] [2] DEBUG:  data: a9 ce a3 20 41 42 ce
93 ce 94 45 5a 48 ce 98 49   ... ABEZH..I

Re: Opensmppbox changes characters

2011-08-26 Thread Nikos Balkanas
Opensmppbox doesn't support iso-8859-x input charset, other than 1. Only
GSM.

BR,
Nikos

On Fri, Aug 26, 2011 at 11:00 AM, Peter@locotel p...@locotel.gr wrote:

  Dear kannel user,

 when I send a simple message to get characters checked I have odd results.

 Using the arrangement

 application-kannel-smsc

 all char are ok

 when I use the following arrangement

 application-kannel-opensmppbox-kannel-smsc

 in the link inside the opensmppbox I get some characters converted
 although is have alt-charset = UTF-8 in the smsc configuration.

 See the PDU dump bellow to check that.

 The characters are in hex

 data: 40 24 5e 5f 7b 7d 5b 5d 5c 7c 7e -These are replaced by
 data: a1 a4 dc a7 e4 f1 c4 d1 d6 f6 fc -these numbers giving wrong chars

 How do I correct that?

 Thank u in advance for looking into such long listing.

 Best

 
 Access Log
 

 2011-08-25 17:45:37 send-SMS request added - sender:pino:ABC SA 127.0.0.1
 target:306969696969 request: '!@#$%^*()-_=+{}[],.?/\|':;~' €£¤¥§¿
 ABΓΔEZHΘIKΛMNΞOΠPΣTYΦXΨΩΣ ABΓΔEZHΘIKΛMNΞOΠPΣTYΦXΨΩ AEHIOYΩ AEHIOYΩ IYIYIY
 1234567890
 1234567890
 1234567890
 1234'
 2011-08-25 17:45:37 Sent SMS [SMSC:ABCsms] [SVC:pino] [ACT:] [BINF:]
 [FID:457569397] [META:] [from:ABC SA] [to:306969696969]
 [flags:-1:0:-1:-1:31] [msg:181:!@#$%^*()-_=+{}[],.?/\|':;~'
 . ABEZH..IK..MN..O..P..TY..X..
 ABEZH..IK..MN..O..P..TY..X AEHIOY.. AEHIOY..
 IYIYIY.1234567890.1234567890.1234567890.1234] [udh:0:]
 2011-08-25 17:45:37 Receive DLR [SMSC:ABCsms] [SVC:pino] [ACT:] [BINF:]
 [FID:457569397] [META:] [from:ABC SA] [to:306969696969]
 [flags:-1:-1:-1:-1:8] [msg:4:ACK/] [udh:0:]
 2011-08-25 17:45:38 Sent SMS [SMSC:cosmote] [SVC:pino] [ACT:] [BINF:]
 [FID:1290142803] [META:?smpp?] [from:ABC SA] [to:306969696969]
 [flags:-1:0:-1:0:19] [msg:181:!.#.%.*()-.=+,.?/..':;.' .
 ABEZH..IK..MN..O..P..TY..X.. ABEZH..IK..MN..O..P..TY..X
 AEHIOY.. AEHIOY.. IYIYIY.1234567890.1234567890.1234567890.1234] [udh:0:]
 2011-08-25 17:45:41 Receive DLR [SMSC:cosmote] [SVC:pino] [ACT:ABCSA]
 [BINF:] [FID:1290142803] [META:?smpp?dlr_err=004] [from:ABC SA]
 [to:306969696969] [flags:-1:-1:-1:-1:1] [msg:104:id:1290142803 sub:001
 dlvrd:001 submit date:1108251648 done date:1108251448 stat:DELIVRD err:004
 text: .] [udh:0:]
 2011-08-25 17:45:41 Receive DLR [SMSC:ABCsms] [SVC:pino] [ACT:pino] [BINF:]
 [FID:457569397] [META:?smpp?dlr_err=004] [from:ABC SA] [to:306969696969]
 [flags:-1:-1:-1:-1:1] [msg:112:id:1b45f475 sub:001 dlvrd:001 submit
 date:1108251745 done date:1108251745 stat:DELIVRD err:004 text:]
 [udh:0:]


 +
 opensmppbox LOG
 +

 SMPP PDU 0x8c990d8 dump:
 2011-08-25 17:45:37 [13452] [2] DEBUG:   type_name: submit_sm
 2011-08-25 17:45:37 [13452] [2] DEBUG:   command_id: 4 = 0x0004
 2011-08-25 17:45:37 [13452] [2] DEBUG:   command_status: 0 = 0x
 2011-08-25 17:45:37 [13452] [2] DEBUG:   sequence_number: 64 = 0x0040
 2011-08-25 17:45:37 [13452] [2] DEBUG:   service_type: NULL
 2011-08-25 17:45:37 [13452] [2] DEBUG:   source_addr_ton: 5 = 0x0005
 2011-08-25 17:45:37 [13452] [2] DEBUG:   source_addr_npi: 0 = 0x
 2011-08-25 17:45:37 [13452] [2] DEBUG:   source_addr: ABC SA
 2011-08-25 17:45:37 [13452] [2] DEBUG:   dest_addr_ton: 2 = 0x0002
 2011-08-25 17:45:37 [13452] [2] DEBUG:   dest_addr_npi: 1 = 0x0001
 2011-08-25 17:45:37 [13452] [2] DEBUG:   destination_addr: 306969696969
 2011-08-25 17:45:37 [13452] [2] DEBUG:   esm_class: 3 = 0x0003
 2011-08-25 17:45:37 [13452] [2] DEBUG:   protocol_id: 0 = 0x
 2011-08-25 17:45:37 [13452] [2] DEBUG:   priority_flag: 0 = 0x
 2011-08-25 17:45:37 [13452] [2] DEBUG:   schedule_delivery_time: NULL
 2011-08-25 17:45:37 [13452] [2] DEBUG:   validity_period:
 110827144537000+
 2011-08-25 17:45:37 [13452] [2] DEBUG:   registered_delivery: 1 =
 0x0001
 2011-08-25 17:45:37 [13452] [2] DEBUG:   replace_if_present_flag: 0 =
 0x
 2011-08-25 17:45:37 [13452] [2] DEBUG:   data_coding: 0 = 0x
 2011-08-25 17:45:37 [13452] [2] DEBUG:   sm_default_msg_id: 0 = 0x
 2011-08-25 17:45:37 [13452] [2] DEBUG:   sm_length: 181 = 0x00b5
 2011-08-25 17:45:37 [13452] [2] DEBUG:   short_message:
 2011-08-25 17:45:37 [13452] [2] DEBUG:Octet string at 0x8c99d18:
 2011-08-25 17:45:37 [13452] [2] DEBUG:  len:  181
 2011-08-25 17:45:37 [13452] [2] DEBUG:  size: 182
 2011-08-25 17:45:37 [13452] [2] DEBUG:  immutable: 0
 2011-08-25 17:45:37 [13452] [2] DEBUG:  data: 21 40 23 24 25 5e 26 2a
 28 29 2d 5f 3d 2b 7b 7d   !@#$%^*()-_=+{}
 2011-08-25 17:45:37 [13452] [2] DEBUG:  data: 5b 5d 3c 3e 2c 2e 3f 2f
 5c 7c 22 27 3a 3b 7e 27   [],.?/\|':;~'
 2011-08-25 17:45:37 [13452] [2] DEBUG:  data: 20 e2 82 ac c2 a3 c2 a4
 c2 a5 c2 a7 c2 bf 20 41. A
 2011-08-25 17:45:37 [13452] [2] DEBUG:  data: 42 ce 93 ce 94 45 5a 48
 ce 98 49 4b ce 9b 4d 4e   

payload

2011-08-26 Thread Vinayak Vasu
hi kannel users,

does kannel support payload? how can i use payload?


Regards,
vinayak


Regarding kannel compilation;

2011-08-26 Thread Vijay kumar Dadhich
Hello to all of you,
i am using gateway-1.4.3,and configure it many times,but first time i
face this issue when i use these compilation commands
./configure --enable-start-stop-daemon --with-mysql --with-mysql
touch .depend
make depend
make
make check
all commands i used before it many times but fist time i use make
check so it is taking so much time around 25-30 min. so i ctrl c and
restart the server and run my old compilation
./configure --enable-start-stop-daemon --with-mysql --with-mysql
touch .depend
make depend
make
make bindir=/usr/local/etc/ install
so it is showing this message when running these two commands
make
make bindir=/usr/local/etc/ install
the message is make: warning:
  Clock skew detected. You
build may be incoplete
so please help me,my kannel setup is ok(fine)or not,please i need to help.
-- 
Vijay Kr. Dadhich



Re: Regarding kannel compilation;

2011-08-26 Thread Mpeirwe Benjamin
how about you move in phases?

1. Configure:

#./configure --enable-start-stop-daemon --with-mysql --with-mysql

2. Make:

#make

3. Make Install

#make bindir=/usr/local/etc/ install

Then we can know where exactly your problem is.

On 8/27/11, Vijay kumar Dadhich vk1dadh...@gmail.com wrote:
 Hello to all of you,
 i am using gateway-1.4.3,and configure it many times,but first time i
 face this issue when i use these compilation commands
 ./configure --enable-start-stop-daemon --with-mysql --with-mysql
 touch .depend
 make depend
 make
 make check
 all commands i used before it many times but fist time i use make
 check so it is taking so much time around 25-30 min. so i ctrl c and
 restart the server and run my old compilation
 ./configure --enable-start-stop-daemon --with-mysql --with-mysql
 touch .depend
 make depend
 make
 make bindir=/usr/local/etc/ install
 so it is showing this message when running these two commands
 make
 make bindir=/usr/local/etc/ install
 the message is make: warning:
   Clock skew detected. You
 build may be incoplete
 so please help me,my kannel setup is ok(fine)or not,please i need to help.
 --
 Vijay Kr. Dadhich




-- 
The Scientist explores what is,
the Engineer creates what has never been.
Theodore von Karman