Open GoogleCodeExporter opened 9 years ago
This issue is equal to issue 140
Original comment by smart.st...@gmail.com
on 15 Oct 2013 at 2:25
Here is a patch (against 1.1.r14) that addresses exactly this issue (not the
issue with the other characters mappings mentioned in the duplicate).
Original comment by mio...@gmail.com
on 3 May 2014 at 9:42
Attachments:
The was a bug in the previous patch, '@' was occasionally appended to the
message. This one is good.
--- char_conv.c 2014-03-17 20:33:28.295992057 +0100
+++ char_conv.c 2014-05-03 23:35:33.408746302 +0200
@@ -235,11 +235,19 @@ static ssize_t hexstr_7bit_to_char (cons
c = (c >> 1) | b;
b = ((unsigned char) hexval) >> (8 - s);
+ if (c == 0 && i + 1 < in_length) // miopa: fix bug when
receiving sms with @ in text
+ {
+ c = '@';
+ }
out[x] = c;
x++; s++;
if (s == 8)
{
+ if (b == 0 && i + 1 < in_length) // miopa: fix bug when
receiving sms with @ in text
+ {
+ b = '@';
+ }
out[x] = b;
s = 1; b = 0;
x++;
Original comment by mio...@gmail.com
on 19 May 2014 at 8:18
Attachments:
DEAR @mio i can confirm this patch is working
thank you very much for this patch
what about @ symbol in outgoing sms who is discussed at
https://code.google.com/p/asterisk-chan-dongle/issues/detail?id=181
can you make one more patch for @ symbol in outgoing sms
Original comment by shabbira...@gmail.com
on 29 Oct 2014 at 7:10
If you need both sending and receiving, use the patch here
https://code.google.com/p/asterisk-chan-dongle/issues/detail?id=140. Everything
works well but occasionally @ is appended to the received SMS (as described in
the issue).
Original comment by mio...@gmail.com
on 29 Oct 2014 at 7:52
Thanx mio. Patch working fine...
Original comment by joeman.6...@gmail.com
on 22 Nov 2014 at 6:08
Original issue reported on code.google.com by
amila....@gmail.com
on 3 Oct 2013 at 2:43