![]() |
PortSIP VoIP SDK Manual for Windows
16.2
PortSIP features our newest, supported, quality-assured VoIP SDK used by Several hundred companies around the world for easy VoIP application develop and quality-assured code.
|
Functions | |
| Int32 | PortSIP.SIPCallbackEvents.onRecvDtmfTone (Int32 callbackIndex, Int32 callbackObject, Int32 sessionId, Int32 tone) |
| Int32 PortSIP.SIPCallbackEvents.onRecvDtmfTone | ( | Int32 | callbackIndex, |
| Int32 | callbackObject, | ||
| Int32 | sessionId, | ||
| Int32 | tone | ||
| ) |
This event will be triggered when receiving a DTMF tone from remote side.
| sessionId | The session ID of the call. |
| tone | DTMF tone. |
| code | Description |
|---|---|
| 0 | The DTMF tone 0. |
| 1 | The DTMF tone 1. |
| 2 | The DTMF tone 2. |
| 3 | The DTMF tone 3. |
| 4 | The DTMF tone 4. |
| 5 | The DTMF tone 5. |
| 6 | The DTMF tone 6. |
| 7 | The DTMF tone 7. |
| 8 | The DTMF tone 8. |
| 9 | The DTMF tone 9. |
| 10 | The DTMF tone *. |
| 11 | The DTMF tone #. |
| 12 | The DTMF tone A. |
| 13 | The DTMF tone B. |
| 14 | The DTMF tone C. |
| 15 | The DTMF tone D. |
| 16 | The DTMF tone FLASH. |