HimanshuYadav / siphon

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

Dialing the Apple, Inc default entry doesn't work due to number having letters in it. #50

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
My address book has 1 800 MY APPLE as the number for Apple, Inc.  The phone 
dials just 1800 and 
not the rest.  An api to translate the letters to numbers would solve this.

/b

Original issue reported on code.google.com by brian.w...@gmail.com on 11 Oct 2008 at 4:55

GoogleCodeExporter commented 9 years ago
You are american ;-)
In Europe we don't use these number ;-)

But I think it's not difficult to do this. Could you confirm :
1 800 My APPLE = 1 800 69 27753

Original comment by samuelv0...@gmail.com on 11 Oct 2008 at 5:32

GoogleCodeExporter commented 9 years ago
Yes dialing like that works but a simple char to dtmf digit function can 
convert the values rather easily.   The 
default vcard in addressbook for apple has 1800 MY APPLE in it.  :(

Original comment by brian.w...@gmail.com on 11 Oct 2008 at 6:39

GoogleCodeExporter commented 9 years ago
The char for DTMF are 0-9, *, # A-D
(http://en.wikipedia.org/wiki/Dual-tone_multi-frequency)
So you can't use DTMF to call 1800 My Apple.
And SIP is digital/computer protocol with message.

Original comment by samuelv0...@gmail.com on 11 Oct 2008 at 6:46

GoogleCodeExporter commented 9 years ago
Yes I know what DTMF is and also know that this is a sip phone and shouldn't be 
limited to dialing numbers.   
The simple solution is to have a function to convert any char to the DTMF digit 
internally as a convenience 
feature.  What if I have direct SIP URI's in my addressbook... those wouldn't 
dial either.  Just a thought.

/b

Original comment by brian.w...@gmail.com on 11 Oct 2008 at 7:02

GoogleCodeExporter commented 9 years ago
I also just tested the addressbook appears to let you store SIP URI's along 
with numbers... ie sip:brian@bkw.org

Original comment by brian.w...@gmail.com on 11 Oct 2008 at 7:04

GoogleCodeExporter commented 9 years ago
The numbers from address book are modified before call like that :
  - 1800-MY-APPLE give 18006927753
  - characters ' -()/.' are removed

If you call with SIP URI (sip:[username|phonenumber]@[sip_provider]) there are 
no
transformation.

Original comment by samuelv0...@gmail.com on 11 Oct 2008 at 9:39