**>Date: Thu, 9 Sep 2004 12:20:59 +0500 **>From: Omer Bin Fateh <[EMAIL PROTECTED]> **>To: [EMAIL PROTECTED] **>Subject: Special Character Problem **> **>Dear All **> **> Please look into this matter. **> **> I am not receiving "$" and "@" sign on my mobile . i am receiving **>the junk value ".x" .Following command i am giving" **> **>curl 'http://127.0.0.1:13013/cgi-bin/sendsms?user=xxxxxx&password=xxxxxxx&to=xxxxxxxx&text=testing%20message%20$%20and%20@' **> **>curl 'http://127.0.0.1:13013/cgi-bin/sendsms?user=***t&password=*****&to=********&text=testing%20message%20%24%20and%20%40%20value' **> **> **>in both case i received junk value **> **>following is the access.log entries **> **>[EMAIL PROTECTED] sms]# tail -f access.log **>2004-09-04 20:06:55 Sent SMS [SMSC:] [SVC:test] [ACT:] [from:101] **>[to:73111048] [flags:0:1:0:0:0] [msg:44:MOB#:73111048 Issue Date: **>2004-04-16 Lst $"] [udh:0:] **>2004-09-04 20:11:32 Sent SMS [SMSC:] [SVC:test] [ACT:] [from:101]
[ ... lines deleted ... ] If you are NOT using the virtual SMSC option (i.e. if you are not using a GSM modem or phone for your SMSC), then this might apply to your situation... Make sure that your Mobile Network Operator's SMSC is using the GSM7 character set. The GSM7 character set has different mappings for characters not in the range of [a-zA-z0-9]. In particular, the GSM7 character set maps an '@' character to a 0x00 (zero byte). Some opertors set their SMSC to use Latin-1 or ASCII instead of the GSM7 character set. You can see if that is the case by sending a 0x00 (zero-byte) character to the SMSC. If an '@' appears on your phone then they are NOT using GSM7. Most likely they are using ASCII as their character set. If your operator is using the ASCII or Latin-1 character set then you will need to modify the character set listing in Kannel's source code to match your MNO's character representation. Or, you can try to convince your MNO to conform to standard pratices that everyone else in the world conforms to by using the GSM7 character set. See ya... d.c.