![]() |
|
| VAPI API Reference Documentation 2.18.x |
|
#include <vapi.h>
Public Attributes | |
| CONNID | ConId |
| U16 | usDetectedTone |
| U16 | usPpowerLevel |
| U32 | uTimestamp |
IP Tone Detection Event Parameters
Connection ID
0x0001 Early Answer tone
0x0003 Confirmed Answer tone
0x0007 2100Hz Answer tone (ANSAM or /ANSAM)
0x000B Phase reversals present in the /ANS Answer tone
0x000F Phase reversals present in the /ANSAM answer tone
0x0010 Bell ANS (2225Hz) or V.22 USB1 (2250Hz)
0x0020 1800Hz Pre-Standard V.32 AA tone
0x0040 IP-side Programmable Tone Detector
0x0080 V.18 Annex A Tone
0x0100 Generic Tone 390Hz
0x0200 Generic Tone 980Hz
0x0400 Generic Tone 1270Hz
0x0800 Generic Tone 1300Hz
0x1000 Generic Tone 1650Hz
0x8000 Generic Tone 1270Hz
0x00FF End of tone
Comcerto software sends VoIP_IPTONEDET Parameter 3 only for PTD tones. The Power Level, range is 0 to -46 dBov in units of -0.1 dBov, giving a parameter range of 0 to 460 (decimal).
Timestamp units increment at the PCM sampling rate of 8 kHz