TAPIEx ActiveX Control v3.6 |
The MonitorTones_Add method enables the detection of inband tones on this call. Each time when a specified tone is detected, OnToneDetected will be fired.
Function MonitorTones_Add( AppSpecific As Long, Duration As Long, Frequency1 As Long, Frequency2 As Long, Frequency3 As Long ) As Boolean
.MonitorTones_Add 1, 80, 697, 1209, 0 ' "1" .MonitorTones_Add 2, 80, 697, 1336, 0 ' "2" .MonitorTones_Add 3, 80, 697, 1477, 0 ' "3" .MonitorTones_Add 4, 80, 770, 1209, 0 ' "4" .MonitorTones_Add 5, 80, 770, 1336, 0 ' "5" .MonitorTones_Add 6, 80, 770, 1477, 0 ' "6" .MonitorTones_Add 7, 80, 852, 1209, 0 ' "7" .MonitorTones_Add 8, 80, 852, 1336, 0 ' "8" .MonitorTones_Add 9, 80, 852, 1477, 0 ' "9" .MonitorTones_Add 10, 80, 941, 1209, 0 ' "*" .MonitorTones_Add 0, 80, 941, 1336, 0 ' "0" .MonitorTones_Add 12, 80, 941, 1477, 0 ' "#"