|
![]() |
Adds a consultation call
to an existing conference call. In general, the conference call is another
call on the same line (and address) that is in the OnHoldPendConf
state. This method has no parameters and select the related conference call
automatically.
procedure TForm1.Button1Click(Sender: TObject); var Call: ThbTapiCall; begin Call := GetConnectedCall; // select the active call if (Call = nil) then Exit; try Call.AddToConference; except on EhbTapiError do MessageDlg('AddToConference failed!', mtError, [mbOK], 0); end; end;
Declarationprocedure AddToConference; RemarksUsing this method causes the TAPI function lineAddToConference function to be called. This function works in an asynchronous manner. See the chapter "The Synchronous / Asynchronous Model" and the ThbTapiLine.Options.SyncMode property to read more about the handling of asynchronous functions. ErrorsUsing this function may cause an EhbTapiError exception. Possible errors are: LINEERR_CONFERENCEFULL, LINEERR_NOTOWNER, LINEERR_INVALCONFCALLHANDLE, LINEERR_OPERATIONUNAVAIL, LINEERR_INVALCALLHANDLE, LINEERR_OPERATIONFAILED, LINEERR_INVALCALLSTATE, LINEERR_RESOURCEUNAVAIL, LINEERR_NOMEM, LINEERR_UNINITIALIZED. See AlsoThbTapiCall.ConferenceCall | SetupTransfer | SetupConference, Establish a Conference Cal |