Previous PageTable Of Contents../index.htmlIndexNext Page


Using DX_PMOFF and DX_PMON

The DX_PMOFF and DX_PMON termination conditions must be used in tandem. In other words, the DX_PMON terminating condition must directly follow the DX_PMOFF terminating condition. A combination of both DV_TPT structures using these conditions is used to form a single termination condition. When used, both must be specified together or else an error will result in the execution of the function.

In the first block, tp_termno is set to DX_PMOFF. The tp_length holds the number of patterns before termination. tp_flags holds the minimum time for silence off while tp_data holds the maximum time for silence off. In the next DV_TPT structure, tp_termno is DX_PMON, and the tp_length field holds the flag bit mask as shown above. Only the units bit is valid; all other bits must be 0. The tp_flags field holds the minimum time for silence on, while tp_data holds the maximum time for silence on. An example follows.


Previous PageTable Of ContentsTop Of PageIndexNext Page

Click here to contact Dialogic Customer Engineering

Copyright 2002, Dialogic Corporation
All rights reserved
This page generated February, 2002