Re: Send non-GSM alphabet chars

Alexander Malysh <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Hi,

just tested and it works as expected:

2013-03-01 14:28:14 [39437] [8] DEBUG: SMPP PDU 0x7fc811e03a10 dump:
2013-03-01 14:28:14 [39437] [8] DEBUG:   type_name: submit_sm
2013-03-01 14:28:14 [39437] [8] DEBUG:   command_id: 4 = 0x00000004
2013-03-01 14:28:14 [39437] [8] DEBUG:   command_status: 0 = 0x00000000
2013-03-01 14:28:14 [39437] [8] DEBUG:   sequence_number: 4 = 0x00000004
2013-03-01 14:28:14 [39437] [8] DEBUG:   service_type: NULL
2013-03-01 14:28:14 [39437] [8] DEBUG:   source_addr_ton: 2 = 0x00000002
2013-03-01 14:28:14 [39437] [8] DEBUG:   source_addr_npi: 1 = 0x00000001
2013-03-01 14:28:14 [39437] [8] DEBUG:   source_addr: "123"
2013-03-01 14:28:14 [39437] [8] DEBUG:   dest_addr_ton: 2 = 0x00000002
2013-03-01 14:28:14 [39437] [8] DEBUG:   dest_addr_npi: 1 = 0x00000001
2013-03-01 14:28:14 [39437] [8] DEBUG:   destination_addr: "456"
2013-03-01 14:28:14 [39437] [8] DEBUG:   esm_class: 3 = 0x00000003
2013-03-01 14:28:14 [39437] [8] DEBUG:   protocol_id: 0 = 0x00000000
2013-03-01 14:28:14 [39437] [8] DEBUG:   priority_flag: 0 = 0x00000000
2013-03-01 14:28:14 [39437] [8] DEBUG:   schedule_delivery_time: NULL
2013-03-01 14:28:14 [39437] [8] DEBUG:   validity_period: NULL
2013-03-01 14:28:14 [39437] [8] DEBUG:   registered_delivery: 0 = 0x00000000
2013-03-01 14:28:14 [39437] [8] DEBUG:   replace_if_present_flag: 0 = 0x00000000
2013-03-01 14:28:14 [39437] [8] DEBUG:   data_coding: 0 = 0x00000000
2013-03-01 14:28:14 [39437] [8] DEBUG:   sm_default_msg_id: 0 = 0x00000000
2013-03-01 14:28:14 [39437] [8] DEBUG:   sm_length: 3 = 0x00000003
2013-03-01 14:28:14 [39437] [8] DEBUG:   short_message: "@$_"
2013-03-01 14:28:14 [39437] [8] DEBUG: SMPP PDU dump ends.

http://localhost:13003/cgi-bin/sendsms?username=tester&password=foobar&from=123&to=456&text=%40%24_

And the config:

group = smsc
smsc = smpp
smsc-id = "XXX"
allowed-smsc-id = "XXX"
host = XXX
port = 13345
smsc-username = bla
smsc-password = blu
system-type = WMA
transceiver-mode = true
alt-charset = "ASCII"


Alex

Am 01.03.2013 um 14:18 schrieb Alexander Nikolaev <[email protected]>:

> Alexander, thank you for reply.
> 
> I do:
> 
> group = smsc
> smsc = smpp
> smsc-id = Glosav-SPB
> host = 193.201.231.44
> port = 2775
> smsc-username = xxx
> smsc-password = xxx
> source-addr-ton = 1
> source-addr-npi = 1
> dest-addr-ton = 1
> dest-addr-npi = 1
> system-type = ""
> throughput = 1000
> reconnect-delay = 5
> connection-timeout = 120
> transceiver-mode = true
> connect-allow-ip = "*"
> allowed-smsc-id = Glosav-SPB
> preferred-smsc-id = Glosav-SPB
> *alt-charset = "ASCII"*
> alt-addr-charset = "GSM"
> interface-version = 34
> #alt-dcs = true
> 
> My send URL is
> http://10.0.5.37:13003/cgi-bin/sendsms?text=%40%24%5F&username=xxx&password=xxx&coding=0&to=79254247283&charset=ASCII
> 
> Unfortunately, it doesn't  take expected result.
> I still got %00%02%11
> 
> 
> 
> 
> --
> View this message in context: http://kannel.6189.n7.nabble.com/Send-non-GSM-alphabet-chars-tp28057p28062.html
> Sent from the Kannel - Dev mailing list archive at Nabble.com.
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.