hut2012 / imsdroid

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

Do you have a plan to support TLS/https? #124

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.Because our XCAP server require TLS/OpenSSL.(https://xxx),I find that 
doubango is not built with OpenSSL.So XCAP message cannot be sent.
2.Do you have a plan to support TLS/https in IMSDroid and doubango?
3.If you don't have this plan to support TLS/https,could you tell me how to 
finish this function if I do it. 

What is the expected output? What do you see instead?

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

Please provide any additional information below.

Original issue reported on code.google.com by yuwenbin...@gmail.com on 13 Dec 2010 at 7:05

GoogleCodeExporter commented 9 years ago
Yes. It's on the roadmap. The stack already support TLS and you only need to 
build OpenSSL. You can get the mk file from Android source.

Original comment by boss...@yahoo.fr on 14 Dec 2010 at 3:06

GoogleCodeExporter commented 9 years ago
Yes

Original comment by boss...@yahoo.fr on 24 Dec 2010 at 12:35

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago

Original comment by boss...@yahoo.fr on 21 Jun 2012 at 6:21

GoogleCodeExporter commented 9 years ago
I am trying to login with TLS do I need to set any extra for it in latest code.

Right now I am using sip2sip.info accound Port=5061 and TLS but I am unable to 
login in app.

Here is logcat I am unable to login using the TLS with port 5061 I also set 
SRTP mode mandatory.

08-07 10:17:14.959: D/org.doubango.ngn.services.impl.NgnSipService(423): 
register()
08-07 10:17:14.959: D/org.doubango.ngn.services.impl.NgnSipService(423): 
realm='sip:sip2sip.info', impu='sip:myacc@sip2sip.info', impi='myacc'
08-07 10:17:14.969: D/org.doubango.ngn.services.impl.NgnSipService(423): STUN=no
08-07 10:17:14.969: D/org.doubango.ngn.services.impl.NgnSipService(423): 
pcscf-host='proxy.sipthor.net', pcscf-port='5061', transport='TLS', 
ipversion='ipv4'
08-07 10:17:14.969: D/org.doubango.ngn.services.impl.NgnNetworkService(423): 
10.0.2.15
08-07 10:17:14.969: D/org.doubango.ngn.services.impl.NgnNetworkService(423): 
127.0.0.1
08-07 10:17:14.979: D/org.doubango.ngn.services.impl.NgnSipService(423): Local 
IP='10.0.2.15'
08-07 10:17:14.979: D/org.doubango.ngn.services.impl.NgnSipService(423): TLS - 
pvk='null' pbk='null' ca='null' verify=false
08-07 10:17:14.979: D/org.doubango.ngn.services.impl.NgnNetworkService(423): 
acquireNetworkLock()
08-07 10:17:14.979: D/org.doubango.ngn.services.impl.NgnNetworkService(423): 
netType=0 and netSubType=3
08-07 10:17:16.014: D/org.doubango.ngn.services.impl.NgnSipService(423): Stack 
started
08-07 10:17:16.018: D/org.doubango.ngn.services.impl.NgnSipService(423): 
OnDialogEvent (Dialog connecting,3)
08-07 10:17:18.095: D/org.doubango.ngn.services.impl.NgnSipService(423): 
OnDialogEvent (Dialog connecting,1)
08-07 10:17:18.118: D/org.doubango.ngn.services.impl.NgnSipService(423): 
OnDialogEvent ((un)REGISTER request successfully sent.,1)
08-07 10:17:18.118: D/org.doubango.imsdroid.Engine(423): showAppNotif
08-07 10:17:50.152: D/org.doubango.ngn.services.impl.NgnSipService(423): 
OnDialogEvent (Transport error.,1)
08-07 10:17:50.152: D/org.doubango.ngn.services.impl.NgnSipService(423): 
OnDialogEvent (Dialog terminated,1)
08-07 10:17:50.169: D/org.doubango.imsdroid.Engine(423): showAppNotif
08-07 10:17:52.249: D/org.doubango.ngn.services.impl.NgnSipService(423): Stack 
stopped

How can achieve code working with TLS.

Please explain me the step.

Thanks.

Original comment by tech.moh...@gmail.com on 7 Aug 2013 at 4:49