Programmatically Dial a Phone number and pass DTMF using the iPhone SDK

The iPhone SDK does NOT give you direct access to dial numbers (imagine if a ‘bad’ program got on your phone and dialed a pay per minute number on mute so you didn’t notice).

However, if you use the tel link, then you should be able to send it “,” characters which inserts pauses.

So to dial 555-1212, then wait 4 seconds, then do 12345# on the touch tone you would use tel:5551212,,12345#

Check out
https://developer.apple.com/library/archive/featuredarticles/iPhoneURLScheme_Reference/PhoneLinks/PhoneLinks.html

Leave a Comment