[asterisk-bugs] [JIRA] (ASTERISK-26677) Short SMS messages are garbled

Asterisk Team (JIRA) noreply at issues.asterisk.org
Sun Dec 25 07:07:11 CST 2016


    [ https://issues.asterisk.org/jira/browse/ASTERISK-26677?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=234362#comment-234362 ] 

Asterisk Team commented on ASTERISK-26677:
------------------------------------------

Thanks for creating a report! The issue has entered the triage process. That means the issue will wait in this status until a Bug Marshal has an opportunity to review the issue. Once the issue has been reviewed you will receive comments regarding the next steps towards resolution.

A good first step is for you to review the [Asterisk Issue Guidelines|https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines] if you haven't already. The guidelines detail what is expected from an Asterisk issue report.

Then, if you are submitting a patch, please review the [Patch Contribution Process|https://wiki.asterisk.org/wiki/display/AST/Patch+Contribution+Process].

> Short SMS messages are garbled
> ------------------------------
>
>                 Key: ASTERISK-26677
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26677
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>    Affects Versions: 11.25.1
>            Reporter: Lubos Dolezel
>            Severity: Minor
>
> I'm playing with receiving SMS messages sent by Gigaset C530 IP phones. I've set the SMS Center number to *88 and this is the configuration I'm using:
> {code}
> exten => *880,1,Verbose(Receiving SMS)
> exten => *880,n,Answer()
> exten => *880,n,Wait(2)
> exten => *880,n,SMS(sms_gigaset,as)
> exten => *880,n,Hangup
> {code}
> Long messages are delivered just fine, but short messages are messed up with 100% reproducibility. Examples:
> ud=@@ # This was "OK" 
> ud=Ah¥@ # This was "Ahoj"
> I don't know what else to provide. I've attached a debugger and tried to figure it out. At this point in the call stack (when sending a message with text "Ok"):
> {code}
> #2  0x00007fe1c3014d78 in sms_handleincoming (h=0x7fe1b4f28fa0) at app_sms.c:1134
> 1134                            p += unpacksms(h->dcs, h->imsg + p, h->udh, &h->udhl, h->ud, &h->udl, h->udhi);
> {code}
> there are these interesting values set:
> {code}
> (gdb) p p
> $19 = 13 '\r'
> (gdb) p/x h->imsg
> $20 = {0x91, 0xe, 0x21, 0x8, 0x9, 0x81, 0x37, 0x67, 0x56, 0x64, 0xf9, 0x0, 0x0, 0x2, 0x0, 0x0, 0x5b, 0x0 <repeats 233 times>}
> {code}



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list