Re: sending and receiving $ and @

"Wayne" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
I haven't got a problem with receiving @ on the phone, I have a problem
with receiving the @

There is an encoding problem between bearerbox and smsbox for MO
messages.

Anybody got any ideas on this ?

Any help would be appreciated.


regards
Wayne


-----Original Message-----
Message: 1
From: "Wayne" <[email protected]>
To: <[email protected]>
Subject: sending and receiving $ and @
Date: Tue, 22 Jul 2003 19:35:18 +1000

Hi all,

Both these sending and receiving problems occur on a SMPP 3.4 bind using
stable 1.2.1 I have tried setting both msg-id-type and alt-charset to
various values with no luck.

Found this in alt-charset.h, seems to be the issue I'm having but I
believe that the SMSC is neither of these type.  Any help would be
appreciated.

/* this one is for Nokia CIMD 1.3.6 SMS Center - it causes error
 * if a standard specified dollar sign is sent. */

#define CIMD_PLAIN_DOLLAR_SIGN          1


/* for Sonera EMI, for unknown reason the $ and =A1 characters
 * are swapped in ISO to MT conversion */

#define EMI_SWAPPED_CHARS            2



Here is the bearerbox & smsbox output which shows the $ and @ characters
being converted.


Outbound $

smsbox
2003-07-08 21:08:09 [3] INFO: sendsms sender:<foo:61412356789>
(203.185.241.71) to:<614987654321> msg:<test of $100>


bearerbox
2003-07-08 21:08:09 [6] DEBUG:    Octet string at 0x810a5c8:
2003-07-08 21:08:09 [6] DEBUG:      len:  12
2003-07-08 21:08:09 [6] DEBUG:      size: 13
2003-07-08 21:08:09 [6] DEBUG:      immutable: 0
2003-07-08 21:08:09 [6] DEBUG:      data: 74 65 73 74 20 6f 66 20   test
of=20
2003-07-08 21:08:09 [6] DEBUG:      data: 02 31 30 30               .100
2003-07-08 21:08:09 [6] DEBUG:    Octet string dump ends.



inbound @

bearerbox
2003-07-08 21:10:40 [7] DEBUG:   short_message: "@"


smsbox
2003-07-08 21:10:40 [4] INFO: Starting to service <=A1> from
<614987654321> to <61412356789>



regards

Wayne


--__--__--

Message: 2
Date: Tue, 22 Jul 2003 17:48:07 +0800
From: Kwok Peng Tuck <[email protected]>
To: [email protected]
Subject: Re: sending and receiving $ and @

If you set the coding=3D2 when sending are you able to get the @ on
your=20
phone?
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.