imsdroid icon indicating copy to clipboard operation
imsdroid copied to clipboard

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

Open GoogleCodeExporter opened this issue 10 years ago • 1 comments

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:

  • [SIP TCP Packets Plain Text.pcapng](https://storage.googleapis.com/google-code-attachments/imsdroid/issue-551/comment-0/SIP TCP Packets Plain Text.pcapng)

GoogleCodeExporter avatar Aug 19 '15 21:08 GoogleCodeExporter

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

GoogleCodeExporter avatar Aug 19 '15 21:08 GoogleCodeExporter