Accept
The Accept method accepts the call. It can optionally send
the specified user-user information to the calling party.
Function Accept([UserUserInfo As String]) As Boolean
Parameters
- UserUserInfo
- a string containing user-user information to be sent to the remote party
as part of the call accept.
Return Values
- If the method succeeds, the return TRUE, otherwise return FALSE. Use ErrCode
property to get the error code if return FALSE.
Remarks
- The Accept method is used in telephony environments like
Integrated Services Digital Network (ISDN) that allow alerting associated
with incoming calls to be separate from the initial offering of the call.
When a call comes in, it is first offered. For some small amount of time,
the application may have the option to reject the call using Drop,
redirect the call to another station using Redirect,
answer the call using lineAnswer, or accept the call using Accept.
After a call has been successfully accepted by an application, alerting begins
at both the called and calling device and the call state typically transitions
to accepted.
The Accept function may also be supported by non-ISDN service
providers. The call state transition to accepted can be used by other applications
as an indication that another application has claimed responsibility for the
call and has presented the call to the user.
The application has the option to send user-user information at the time
of the accept. Even if user-user information is sent, there is no guarantee
that the network will deliver this information to the calling party. An application
should consult a line's device capabilities to determine whether call accept
is available.
See Also
- Redirect , Drop