Hi,all.
I am a user of kannel.I met a question.I use SMPP3.4 as a SMSC.My configure
file as follow :
group = smsc
smsc = smpp
host = 127.0.0.1
port = 10016
transceiver-mode = l
alt-charset = "UTF-8"
smsc-username = "pavel"
smsc-password = "wpsd"
system-type = "Logica"
address-range = ""
I set the alt-charset,but it doesn't work.The pdu kannel sent as follow :
2007-03-23 16:22:08 [28069] [14] DEBUG: boxc_receiver: got sms from wapbox
2007-03-23 16:22:08 [28069] [14] DEBUG: send_msg: sending msg to box:
<127.0.0.1>
2007-03-23 16:22:08 [28069] [5] DEBUG:
SMPP[SMPP:127.0.0.1:10016/10016:pavel:Logica]: Sending PDU:
2007-03-23 16:22:08 [28069] [5] DEBUG: SMPP PDU 0x81aedb0 dump:
2007-03-23 16:22:08 [28069] [5] DEBUG: type_name: submit_sm
2007-03-23 16:22:08 [28069] [5] DEBUG: command_id: 4 = 0x00000004
2007-03-23 16:22:08 [28069] [5] DEBUG: command_status: 0 = 0x00000000
2007-03-23 16:22:08 [28069] [5] DEBUG: sequence_number: 8 = 0x00000008
2007-03-23 16:22:08 [28069] [5] DEBUG: service_type: NULL
2007-03-23 16:22:08 [28069] [5] DEBUG: source_addr_ton: 2 = 0x00000002
2007-03-23 16:22:08 [28069] [5] DEBUG: source_addr_npi: 1 = 0x00000001
2007-03-23 16:22:08 [28069] [5] DEBUG: source_addr: "1234"
2007-03-23 16:22:08 [28069] [5] DEBUG: dest_addr_ton: 1 = 0x00000001
2007-03-23 16:22:08 [28069] [5] DEBUG: dest_addr_npi: 1 = 0x00000001
2007-03-23 16:22:08 [28069] [5] DEBUG: destination_addr: "8613488795096"
2007-03-23 16:22:08 [28069] [5] DEBUG: esm_class: 67 = 0x00000043
2007-03-23 16:22:08 [28069] [5] DEBUG: protocol_id: 0 = 0x00000000
2007-03-23 16:22:08 [28069] [5] DEBUG: priority_flag: 0 = 0x00000000
2007-03-23 16:22:08 [28069] [5] DEBUG: schedule_delivery_time: NULL
2007-03-23 16:22:08 [28069] [5] DEBUG: validity_period: "070324162208032+"
2007-03-23 16:22:08 [28069] [5] DEBUG: registered_delivery: 0 = 0x00000000
2007-03-23 16:22:08 [28069] [5] DEBUG: replace_if_present_flag: 0 = 0x00000000
2007-03-23 16:22:08 [28069] [5] DEBUG: data_coding: 4 = 0x00000004
2007-03-23 16:22:08 [28069] [5] DEBUG: sm_default_msg_id: 0 = 0x00000000
2007-03-23 16:22:08 [28069] [5] DEBUG: sm_length: 111 = 0x0000006f
2007-03-23 16:22:08 [28069] [5] DEBUG: short_message:
2007-03-23 16:22:08 [28069] [5] DEBUG: Octet string at 0x81adf30:
2007-03-23 16:22:08 [28069] [5] DEBUG: len: 111
2007-03-23 16:22:08 [28069] [5] DEBUG: size: 1024
2007-03-23 16:22:08 [28069] [5] DEBUG: immutable: 0
2007-03-23 16:22:08 [28069] [5] DEBUG: data: 06 05 04 0b 84 23 f0 00 06 2b
ae af 80 a9 4a 61 .....#...+....Ja
2007-03-23 16:22:08 [28069] [5] DEBUG: data: 6b 61 72 74 61 20 43 6f 6d 6d
6f 6e 73 2d 48 74 karta Commons-Ht
2007-03-23 16:22:08 [28069] [5] DEBUG: data: 74 70 43 6c 69 65 6e 74 2f 33
2e 30 2d 72 63 33 tpClient/3.0-rc3
2007-03-23 16:22:08 [28069] [5] DEBUG: data: 00 8d ba c3 93 02 05 6a 00 45
c6 0d 03 62 61 69 .......j.E...bai
2007-03-23 16:22:08 [28069] [5] DEBUG: data: 64 75 2e 63 6f 6d 00 11 03 37
32 31 30 2f 4f 70 du.com...7210/Op
2007-03-23 16:22:08 [28069] [5] DEBUG: data: 65 6e 77 61 76 65 20 50 75 73
68 00 07 01 03 41 enwave Push....A
2007-03-23 16:22:08 [28069] [5] DEBUG: data: 6c 65 72 74 61 20 4b 61 6e 6e
65 6c 00 01 01 lerta Kannel...
2007-03-23 16:22:08 [28069] [5] DEBUG: Octet string dump ends.
2007-03-23 16:22:08 [28069] [5] DEBUG: SMPP PDU dump ends.
How can I do to change the date_coding to support the Chinese? Or how can I do
to change the date_coding to make it not as default?
Sorry for my poor english.
Thanks in advance!
___________________________________________________________
Mp3疯狂搜-新歌热歌高速下
http://music.yahoo.com.cn/?source=mail_mailbox_footer