rabiulcsedu / imsdroid

Automatically exported from code.google.com/p/imsdroid
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
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 greenjal...@gmail.com on 10 Mar 2015 at 7:12

Attachments:

GoogleCodeExporter commented 9 years ago
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 greenjal...@gmail.com on 10 Mar 2015 at 7:19