|
AvailabilityDesign-Time: Read, Write / Run-Time: Read, Write DeclarationThe Options property is used to enable/disable and specify some features of the ThbTapiLine component. This property has the following sub-properties: AutoDropDiscCalls ThbTapiLine.Options.AutoDropDiscCallsType: Integer This property enables/disables the automatic dropping of disconnected calls.When a call transits to the disconnected state, it will be droped after a time delay specified in this property. Set AutoDropDiscCalls to a time delay in milliseconds or to a value of -1 if you want to disable this feature. See AlsoThbTapiCall.Drop ThbTapiLine.Options.AutoFreeIdleCallsType: Integer This property enabled/disables the automatic deallocation of idle calls. When a call transits to the idle state, it will be deallocated after a time delay specified in this property. Set AutoDropDiscCalls to a time delay in milliseconds or to a value of -1 if you want to disable this feature. See AlsoThbTapiCall.Deallocate ThbTapiLine.Options.ReplyTimeoutType: Integer Many function within TAPI work in an asynchronous manner. An asynhron function returns immediatly but the operation is not completed at this time. The function returns an operation identifier, the RequestID, which is used to get the result of the operaton at a later time. TAPI signals the completion by sending a related reply message to the application. If not reply message is received from TAPI within a time period of ReplyTimeout, the ThbTapiLine.OnTAPITimeout will fire. The value for this property is in milliseconds and the default value is 60000. See AlsoThbTapiLine.OnTapiReply,
ThbTapiLine.OnTapiTimeout ThbTapiLine.Options.SyncModeType: Boolean If this property is set to True (the default value), ThbTapiLine handles the TAPI reply messages of asynchroun TAPI functions in a manner that the called function returns just after the related reply message was received from TAPI. Set SyncMode to False, if you want to work in the normal TAPI mode. Asynchron TAPI functions will return immideatly and you have to use the property and the ThbTapiLine.OnTapiReply and ThbTapiLine.OnTapiTimeout events. See AlsoThbTapiLine.LastRequestID, ThbTapiLine.OnTapiReply, ThbTapiLine.OnTapiTimeout, Chapter: The Synchronous / Asynchronous Model |