I can't do this. I haven't set the structure for kannel to receive messages
except from dlr's.
Any other idea?
----- Original Message -----
From: "seikath" <[email protected]>
To: <[email protected]>
Sent: Thursday, May 12, 2011 2:31 PM
Subject: Re: sqlbox greek gsm-7
1. send @ from your mobile , and check which is the char code the SMSC
used to map it.
2. use the same char code to replace the @ in the MT traffic.
On 05/12/11 13:08, Πετσούκα Τάνια wrote:
Thank you Mike,
i send greek properly using your settings.
The only problem i came up with is symbol '@'.
E.g : For greek letter Phi, Φ, i use : chr(hexdec( '0x12' )) ( or
chr(hexdec( '%12') )
For greek letter Lamda, Λ, i use : chr(hexdec( '0x14' )) ( or
chr(hexdec( '%14') )
For euro sign € i use :
chr(hexdec('0x1B')).chr(hexdec('0x65'))
.....etc
When it comes to '@' if i replace it to chr(hexdec( '0x00' ))
according to gsm mapping,
http://www.cardboardfish.com/support/bin/view/Main/GSMEncoding
the message after this character disappears.
I tried to replace it with chr(hexdec( '%40' )) , and i got 'i' in its
position to the received message.
So, do you know which is the proper way to send '@'?
----- Original Message ----- From: "Mike Nakos" <[email protected]>
To: <[email protected]>
Cc: <[email protected]>
Sent: Wednesday, May 11, 2011 8:14 PM
Subject: Re: Re: sqlbox greek gsm-7
Hello Tania.
I use the below settings on my kannel.conf file
group = smsc
smsc = smpp
smsc-id = <myprovider>
host = <ip address>
port = <smsc port>
receive-port = <smsc port>
smsc-username = <username>
smsc-password = <password>
source-addr-ton = 0
source-addr-npi = 1
dest-addr-ton = 1
#dest-addr-np = 1
bind-addr-ton = 0
bind-addr-npi = 1
system-type = "VMA"
enquire-link-interval = 30
reconnect-delay = 10
throughput = 20
validityperiod = 1340
alt-charset = "UTF-8"
I don't use alt_dcs and set charset field on sms_send table to UTF-8
also.
Of course, any Greek character like Δ must be written %10 to msgdata
field.
Personally, I encode every single character to its gsm value. Always
with % in front of it.
DB field and table encoding is utf-8 also.
Try these settings and follow the thread with title
SMS from sqlbox - Problem when sending more that 160 char with greek
letters
on May 2011.
I think this will help you.
Best Regards
Mike Nakos