|
|
After the line device has been selected and activated, you are bale to make calls on it. Calls are created using the MakeCall or MakeCall (2) method of ThbTapiLine. Make call accepts a destination address (phone number) and uses the line's CallParams property for further settings like the call's media mode or the line's address to use. MakeCall (2) accepts a CallParams object with these additional information. try In some cases you will have to modify the ThbTapiLine.CallParams property i.g. to make a call with a special media mode or a special address. The example below uses the line's CallParams property for additional call settings. It creates a call with the media mode LINEMEDIAMODE_INTERACTIVEVOICE on the second address of the line. hbTapiLine1.CallParams.AddressID := 1; Another way is to use the ThbTapiCallParams object to pass parametes to the MakeCall method. procedure TForm1.MakeCall(PhoneNo: String); |