| TapiLinePickup Method (String, String) |
Namespace: Traysoft.AddTapi
| Exception | Condition |
|---|---|
| TapiException | The call was not picked up because a TAPI error occurred. |
For most telephony configurations group parameter can be null (Nothing in Visual Basic) and the application has to provide only number parameter. If supported by the telephony hardware, group parameter can be specified by itself with a null (Nothing in Visual Basic) for the number parameter to perform a group pick up.
When a call has been picked up successfully, the application is notified by the CallState event about call state changes.
If TapiAddress.SupportsPickupCallWaiting is true, Pickup can be used to pick up a call for which the user has audibly detected the call-waiting signal but for which the provider is unable to perform the detection. This gives the user a mechanism to "answer" a waiting call even though the service provider was unable to detect the call-waiting signal. Both number and group parameters must be null (Nothing in Visual Basic) to pick up a call-waiting call. After Pickup has been used to pick up the second call, SwapHold(TapiCall) can be used to toggle between them.