Strip separators while sending CLCC response

Usecase:
1. Pair and connect with Plantronics Voyager Legend headset.
2. Make MO call to a contact with "(" or ")" in the name.
3. End the call.
4. Redial from headset.

Failure:
Headset sends ATD with number it got as part of CLCC response
for first call. Since number contains "(" and ")" characters,
error is returned from BT stack to the headset.

Rootcause:
During the first call, headset sends AT+CLCC. We send number returned
by Telephony as is which have "(" and ")" to headset in CLCC response.
Headset uses ATD with this number for redial. We return error from stack
when we see "(" or ")" so redial fails.

Fix:
Remove special characters like "(", ")", "-", " " from phone number
before sending it in CLCC response. Issue is see with Plantronics
Voyager Legend, Plantronics backbeat pro headsets.

Bug:33000152
Change-Id: I589b64ebd56892dec33abe430cdf6d2eacdc9b99
1 file changed