Dialogic Voice Cards - How to modify the behavior of CST tone events
Symptom
While building a user defined tone to detect a tone cadence, the behavior of when CST Tone ON / OFF events arrive can be modified with the dx_bldstcad / dx_blddtcad functions and the Off Time Duration / Off Time Deviatioin parameters.
dx_blddtcad(tid, freq1, fq1dev, freq2, fq2dev, ontime, ontdev, offtime, offtdev, repcnt)
dx_bldstcad(tid, freq, fqdev, ontime, ontdev, offtime, offtdev, repcnt)
Setting Off Time Duration and Off Time Deviation to 0
By setting the Off Time Duration and Off Time Deviation to 0, this will enable failing edge detection in the Signal Detector component. Therefore, once the rising edge of the cadence tone is detected, a Tone On event is generated. Then once the failing edge of the tone is detected a Tone Off event is generated. As a result, both a Tone On and Tone Off event will be seen for EVERY cadence cycle.
Example: Setting the Off Time Duration to a zero value (repcnt = 3)
Setting Off Time Duration and Off Time Deviatioin to a non-zero value
By setting the Off Time Duration and Off Time Deviation to a non-zero value, this will disable failing edge detection in the Signal Detector component. Therefore, once the rising edge of the cadence tone is detected, a Tone On event is generated. The difference in this case, the Tone Off event won't be generated after every tone is detected, rather only when last cadenced tone cycle has completed.
Example: Setting the Off Time Duration to a non-zero value (repcnt = 3)
Product List
Dialogic JCT Media Boards