Call phone number and send DTMF using iPhone SDK
Please suggest me to fulfill below requirement using iphone SDK.
1) Programmatic phone dialing via iPhone SDK
2) Send additional DTMF after calling the number.
After googled, the found url scheme is available to make a call. Not sure about sending DTMF tones. Please help me.
thanks
a source to share
You cannot send DTMF tones via the Phone app directly using the SDK. However, you can add numbers to a phone number like so:
- Semicolon: Wait to dial the next number. The Phone app will display a button.
- Comma: wait 1 second (I think) and then dial the number automatically.
Example:
Suppose you want to dial 1-800-555-1212, automatically enter 2after 3 seconds to select an option from the voice menu, and then allow the user to press the button that dials 4 5. You must provide the following as the phone url:
@"tel:1-800-555-1212,,,2;45"
This also works in the Contacts and Phone apps. You can even enter commas and semicolons when editing a phone number by pressing a key + * #on your phone keyboard.
I don't know where this is documented. I figured this out from experiments and talked to colleagues who are telephony experts.
a source to share