[Asterisk-Dev] SMS App error foreign chars
Gary Ruddock (Swift Drinks)
garyruddock at hotmail.com
Tue Jan 4 08:39:35 MST 2005
this time I sent 170 numeric characters so you can see the split easier
message =
"01234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789"
mr=87
oa=07793999999
dcs=0
scts=2005-01-04 15:32:59
ud=é@ø(
@012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012
mr=88
oa=077935999999
dcs=0
scts=2005-01-04 15:32:59
ud=é@ø( ¡@34567890123456789
I suppose this is not the same error as in the subject line, should I start
a new thread? Do I put this as a bug? Does anyone think I should have a go a
fixing it? Is anyone developing MMS? Am I for real?
----- Original Message -----
From: "Gary Ruddock (Swift Drinks)" <garyruddock at hotmail.com>
To: "Asterisk Developers Mailing List" <asterisk-dev at lists.digium.com>
Sent: Tuesday, January 04, 2005 3:15 PM
Subject: Re: [Asterisk-Dev] SMS App error foreign chars
>I also checked sending an SMS message > 160 characters. the message gets
>split into 2 but adds some weird characters.
>
> first SMS message is 160 chars
>
> mr=82
> oa=07793999999
> dcs=0
> scts=2005-01-04 15:01:45
> ud=Test Hello swiftdrinks can you send me 2 stella and a packet of crisps
> please. Here is some moe text just topad it all out to 160 characters. I
> didn't know?????
>
> 2nd message is > 160 chars and extra chars are added into the ud=
>
> mr=83
> oa=07793999999
> dcs=0
> scts=2005-01-04 15:06:06
> ud=é@ø¿ @Hello swiftdrinks can you send me 2 stella and a packet of
> crisps please. Here is some moe text just topad it all out to 160
> characters. I didn't know???
> mr=84
> oa=07793999999
> dcs=0
> scts=2005-01-04 15:06:06
> ud=é@ø¿ ¡@??here's more to see how it copes with more
>
>
>
> ----- Original Message -----
> From: Gary Ruddock (Swift Drinks)
> To: asterisk-dev at lists.digium.com
> Sent: Tuesday, January 04, 2005 12:15 PM
> Subject: [Asterisk-Dev] SMS App error foreign chars
>
>
> I Sent a text message "swift drinks smstest 1" and all is ok
>
> here is the text file created (for privacy I changed the sender number
> oa=)
>
> mr=77
> oa=07793999999
> dcs=0
> scts=2005-01-04 11:38:59
> ud=Swift drinks smstest 1
> mr=78
>
> here is the sms arriving in asterisk
>
> -- Executing Goto("Zap/1-1", "local|s|1") in new stack
> -- Accepting call from '8005875290' to '077777' on channel 0/1, span 1
> -- Goto (local,s,1)
> -- Executing Wait("Zap/1-1", "1") in new stack
> -- Executing Answer("Zap/1-1", "") in new stack
> -- Executing GotoIf("Zap/1-1", "0?14:4") in new stack
> -- Goto (local,s,4)
> -- Executing GotoIf("Zap/1-1", "1?10:5") in new stack
> -- Goto (local,s,10)
> -- Executing SMS("Zap/1-1", "sms|a") in new stack
> -- SMS TX 93 00 6D 00 00 00...
> -- SMS RX 91 27 04 0B 81 70...
> -- SMS TX 95 02 00 00 69 00...
> -- SMS RX 94 00 6C 0B 81 70...
> -- Executing System("Zap/1-1", "/usr/lib/asterisk/smsin ") in new stack
> -- Executing System("Zap/1-1", "play
> /var/lib/asterisk/sounds/sms.wav -v1 &") in new stack
> -- Executing Hangup("Zap/1-1", "") in new stack
> == Spawn extension (local, s, 13) exited non-zero on 'Zap/1-1'
> -- Hungup 'Zap/1-1'
>
> I sent another sms message "Thanks For the text Could I change it to 47
> cases of rèmy Martin a.s.a.p & @ ỳ¶±°œ". I sent it from an XDA2 using
> standard characters on the Pocket PC keyboard as a quick test.
>
> Instead of 1 file created I got 2 and they are a bit messed up;
>
> mr=78
> oa=07793999999
> dcs=8
> scts=2005-01-04 11:46:36
> ud=é@øò @@T@ ¥¿ø@7 at V£¿ì@ò@F@<¥ Å@¿@h£¡ù ¿@
> @P¥Pø@<@h£@$¿¿@o at T¥¡\r at 2@¡@Hè@ò@c@ ¥
> ¿ø@7 at N£(ù@ò@i at P¥@è@:@Ü£@$@\r at 7@@£0ø¡0 at f£(ù¿Æ@ @<¥¿ø@¿@d£HÅ @y@@£
>
> mr=79
> oa=077935999999
> dcs=8
> scts=2005-01-04 11:46:36
> ud=é@øò ¡@@s at 8£¿ø@¿@¿£@$¡Ç@ @@$@è¡ü@l$ò
>
>
> Asterisk output looks different as well. There's extra SMS TX and SMS RX
> lines.
>
> -- Executing Goto("Zap/1-1", "local|s|1") in new stack
> -- Accepting call from '8005875290' to '077777' on channel 0/1, span 1
> -- Goto (local,s,1)
> -- Executing Wait("Zap/1-1", "1") in new stack
> -- Executing Answer("Zap/1-1", "") in new stack
> -- Executing GotoIf("Zap/1-1", "0?14:4") in new stack
> -- Goto (local,s,4)
> -- Executing GotoIf("Zap/1-1", "1?10:5") in new stack
> -- Goto (local,s,10)
> -- Executing SMS("Zap/1-1", "sms|a") in new stack
> -- SMS TX 93 00 6D 00 00 00...
> -- SMS RX 91 9F 44 0B 81 70...
> -- SMS TX 96 03 00 FF 00 68...
> -- SMS RX 91 37 44 0B 81 70...
> -- SMS TX 96 03 00 FF 00 68...
> -- SMS RX 94 00 6C 0B 81 70...
> -- Executing System("Zap/1-1", "/usr/lib/asterisk/smsin ") in new stack
> -- Executing System("Zap/1-1", "play
> /var/lib/asterisk/sounds/sms.wav -v1 &") in new stack
> -- Executing Hangup("Zap/1-1", "") in new stack
> == Spawn extension (local, s, 13) exited non-zero on 'Zap/1-1'
> -- Hungup 'Zap/1-1'
>
>
>
>
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> _______________________________________________
> Asterisk-Dev mailing list
> Asterisk-Dev at lists.digium.com
> http://lists.digium.com/mailman/listinfo/asterisk-dev
> To UNSUBSCRIBE or update options visit:
> http://lists.digium.com/mailman/listinfo/asterisk-dev
>
More information about the asterisk-dev
mailing list