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

Not able to Send Binary Encoded SMS, To=tel:998 SMSC=tel:777 #551

Open
GoogleCodeExporter opened this issue Jul 10, 2015 · 1 comment
Open

Comments

@GoogleCodeExporter
Copy link

Hi Team,

IMSDroid always defaults to using Plain Text instead of Binary Encoded SMS'es 
over WIFI?

What steps will reproduce the problem?
1. Connect to an IMS Network via WiFi (I'm using www.projectclearwater.org )
1. Enable "Enable Binary SMS (RP-DATA)"
2. Set SMSC = tel:777
3. Create new SMS Message to = tel:998

What is the expected output? What do you see instead?
I expected to capture tcp packets in wireshark containing a Binary-Encoded SMS 
with the headers "Content-Transfer-Encoding", "binary" and "Content-Type", 
ContentType.SMS_3GPP. Instead the code thinks the URI is wrong and defaults to 
using "Content-Type", "text/plain".

Below is a link to the code I'm talking about;
https://code.google.com/p/imsdroid/source/browse/trunk/imsdroid/src/org/doubango
/imsdroid/Screens/ScreenSMSCompose.java?r=369#143

I have also checked-out the util code and the URI (tel:998, tel:777), should 
pass the tests ?

What version of the product are you using? On what operating system?
IMSDroid: 2.548.870
Android: Cynogenmod: 11.0-installerXNPQ32P Rooted, Android: 4.4.4
Samsun S3

Please provide any additional information below.
As stated before the Phone is connected to the IMS P-CSCF via WIFI. I am able 
to send normal plain-text messages to other UA's and make calls to them.

I can't see any packets trying to get to the SMSC I configured using SIP.

Also note that I'm forcing all communication over TCP. I'm attaching a PCAP 
file that can be opened with https://www.wireshark.org/.

Rgs,
John

Original issue reported on code.google.com by [email protected] on 10 Mar 2015 at 7:12

Attachments:

@GoogleCodeExporter
Copy link
Author

Hi All,

Forgot to add the IP's of the modules;
Phone: 192.168.229.224
P-CSCF: 192.168.229.80

Thanks

Original comment by [email protected] on 10 Mar 2015 at 7:19

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