jbisson / corporateaddressbook

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

Fox for extension #72

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
One small problem though.  Msft and others are storing phone number plus 
extension in the format: 
' +1 (425) 7072034 X72034 '

When clicking 'Dial' the space & X are stripped, but AT&T responds 'call cannot 
be completed as dialed. Please check the number and try again. '

Can you update to do th following :
1. Check for text 'Ex', 'X', 'Ext', 'Extension'
2. Check digits after text and compare to last x digits of phone number, where 
x=number of numeric digits after text in (1.)
3.a if digits match, strip text and extension digits, as phone is direct dial 

3.b if digits don't match, replace space and text wit three commas ',,,' 
indicating a pause, after which extension is dialed.

Original issue reported on code.google.com by viveki...@gmail.com on 1 Nov 2011 at 3:37