Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6f0f870f authored by Chung-yih Wang's avatar Chung-yih Wang
Browse files

Fix the dialing from contact for internet address.

the bug is http://b/issue?id=2982290

+Log outbound proxy address if exists for debugging.
parent 6aec2250
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -123,6 +123,7 @@ class SipSessionGroup implements SipListener {
        properties.setProperty("javax.sip.STACK_NAME", getStackName());
        String outboundProxy = myself.getProxyAddress();
        if (!TextUtils.isEmpty(outboundProxy)) {
            Log.v(TAG, "outboundProxy is " + outboundProxy);
            properties.setProperty("javax.sip.OUTBOUND_PROXY", outboundProxy
                    + ":" + myself.getPort() + "/" + myself.getProtocol());
        }
+1 −1
Original line number Diff line number Diff line
@@ -130,7 +130,7 @@ public class PhoneNumberUtils
        Uri uri = intent.getData();
        String scheme = uri.getScheme();

        if (scheme.equals("tel")) {
        if (scheme.equals("tel") || scheme.equals("sip")) {
            return uri.getSchemeSpecificPart();
        }