Fix the phone number issue of Internet call.

Since the number could be rewritten by 3rd party apps, we have to strip
out the unwanted characters in the number string.

bug: http://b/3195000
Change-Id: I097a869b1f52223d916d62d57c85f5c1b6d06a11
diff --git a/src/com/android/phone/OutgoingCallBroadcaster.java b/src/com/android/phone/OutgoingCallBroadcaster.java
index efd0ff3..ed5e663 100644
--- a/src/com/android/phone/OutgoingCallBroadcaster.java
+++ b/src/com/android/phone/OutgoingCallBroadcaster.java
@@ -145,6 +145,11 @@
 
             Uri uri = Uri.parse(originalUri);
 
+            // Since the number could be modified/rewritten by the broadcast,
+            // we have to strip the unwanted characters here.
+            number = PhoneNumberUtils.stripSeparators(
+                    PhoneNumberUtils.convertKeypadLettersToDigits(number));
+
             if (DBG) Log.v(TAG, "CALL to " + /*number*/ "xxxxxxx" + " proceeding.");
 
             startSipCallOptionsHandler(context, intent, uri, number);