I use the SIP stack in Android 2.3.4 and everything works beautifully. However, I need a system to use SSL and generated the following code:
SipProfile.Builder builder = new SipProfile.Builder("user","domain"); builder.setPassword("password"); builder.setOutboundProxy("sip:IPADDRESS:5061;transport=tls"); builder.setProtocol("TCP"); builder.setAutoRegistration(true); me = builder.build(); Intent i = new Intent(); i.setAction(Constants.INCOMING_CALL_INTENT); PendingIntent pi = PendingIntent.getBroadcast(this, 0, i, Intent.FILL_IN_DATA); manager.open(me, pi, registrationListener);
Unfortunately, the TLS bit in the setOutboundProxy () call does not seem to do anything. Can anyone suggest how to use SSL with the integrated SIP stack? I really don't want to use pjsip, because the application works the way it is, so using pjsip will require a lot of processing.
Thanks Ed
source share