Sets a Cap parameter. The cap structure controls the behaivor of Call progress.
[Visual Basic] Public Shared Function SetCap( _ ByVal chdev As Integer, _ ByVal fieldp As String, _ ByVal val As Integer _ ) As Integer
[C#] public static int SetCap( intchdev, stringfieldp, intval );
Parameters
chdev
The channel device handle.
fieldp
Which parameter you are interested in setting the value of. Pass a string constant representing the field to set. I.E. “ca_nbrdna” sets the ring time out for call progress. For a complete listing of these parameters, see Table 10 (Section 4.1) in the Voice Reference manual for NT (Volume II)