Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SMS Reception not working #201

Open
GoogleCodeExporter opened this issue Mar 13, 2015 · 2 comments
Open

SMS Reception not working #201

GoogleCodeExporter opened this issue Mar 13, 2015 · 2 comments

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Send binary SMS to Boghe.
2.
3.

What is the expected output? What do you see instead?
Should receive a message dialog pop-up

What version of the product are you using? On what operating system?
latest - SVN

Please provide any additional information below.

Proposed patch 

Index: branches/2.0/boghe/boghe-core/Services/Impl/SipService.Callback.cs
===================================================================
--- 
branches/2.0/boghe/boghe-core/Services/Impl/SipService.Callback.cs  (revision 
192)
+++ branches/2.0/boghe/boghe-core/Services/Impl/SipService.Callback.cs  (working 
copy)
@@ -265,8 +265,8 @@
                                 /* ==== 3GPP SMSIP  === */
                                byte[] buffer = (bytes.Clone() as byte[]);
                                 IntPtr ptr = Marshal.AllocHGlobal(buffer.Length);
+                                Marshal.Copy(buffer, 0, ptr, buffer.Length);
                                 SMSData smsData = SMSEncoder.decode(ptr, (uint)buffer.Length, false);
-                                Marshal.Copy(ptr, buffer, 0, buffer.Length);
                                 Marshal.FreeHGlobal(ptr);

                                 if (smsData != null){



Original issue reported on code.google.com by jason.penton@gmail.com on 15 May 2014 at 10:17

@GoogleCodeExporter
Copy link
Author

Original comment by boss...@yahoo.fr on 15 May 2014 at 1:19

  • Changed state: Accepted

@GoogleCodeExporter
Copy link
Author

Check r193

Original comment by boss...@yahoo.fr on 15 May 2014 at 10:33

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant