#include <VXItel.h>
VXItel provides the telephony functions for the VXI. The transfer type is split into the bridge and blind transfers. These platform functions are very platform and generally location dependant.
There is one telephony interface per thread/line.
Public Attributes | |
VXIint32(* | GetVersion )(void) |
Get the VXI interface version implemented. | |
const VXIchar *(* | GetImplementationName )(void) |
Get the name of the implementation. | |
VXItelResult(* | BeginSession )(struct VXItelInterface *pThis, VXIMap *args) |
Reset for a new session. | |
VXItelResult(* | EndSession )(struct VXItelInterface *pThis, VXIMap *args) |
Performs cleanup at the end of a call session. | |
VXItelResult(* | GetStatus )(struct VXItelInterface *pThis, VXItelStatus *status) |
Queries the status of the line. | |
VXItelResult(* | Disconnect )(struct VXItelInterface *pThis, const VXIMap *namelist) |
Immediately disconnects the caller on this line. | |
VXItelResult(* | TransferBlind )(struct VXItelInterface *pThis, const VXIMap *properties, const VXIchar *transferDestination, VXIMap **resp) |
Performs a blind transfer. | |
VXItelResult(* | TransferBridge )(struct VXItelInterface *pThis, const VXIMap *properties, const VXIchar *transferDestination, VXIMap **resp) |
Performs a bridge transfer. | |
VXItelResult(* | TransferConsultation )(struct VXItelInterface *pThis, const VXIMap *properties, const VXIchar *transferDestination, VXIMap **resp) |
Performs a consultation transfer. |
|
Reset for a new session. This must be called for each new session, allowing for call specific handling to occur. For some implementations, this can be a no-op. For others runtime binding of resources or other call start specific handling may be done on this call.
|
|
Immediately disconnects the caller on this line. Disconnect the line. This sends the hardware into the out-of-service state where it will no longer generate events.
|
|
Performs cleanup at the end of a call session. This must be called at the termination of a call, allowing for call specific termination to occur. For some implementations, this can be a no-op. For others runtime resources may be released or other adaptation may be completed.
|
|
Get the name of the implementation.
|
|
Queries the status of the line. Returns information about the line during an execution. Use to determine if the line is up or down.
|
|
Get the VXI interface version implemented.
|
|
Performs a blind transfer. Perform a blind transfer into the network. The implementation will be platform dependant. This call blocks for only as long as it takes to initate the transfer. It does not wait for a connection result.
|
|
Performs a bridge transfer. Perform a bridge transfer into the network. The implementation will be platform dependant. This call should block while the connection is active. The platform is responsible for stopping any audio that is still playing. This would be done either when the callee answers, or, if the platform allows the caller to hear the network audio, when the transfer is started. NOTE: This is called only if VXIrecInterface::HotwordTransfer returns VXItel_RESULT_UNSUPPORTED.
|
|
Performs a consultation transfer. Perform a consultation transfer into the network. The implementation will be platform dependant. This call should block until the connection is completed (the callee answers, or otherwise ends in no answer, busy, etc...). The platform is responsible for stopping any audio that is still playing. This would be done either when the callee answers, or, if the platform allows the caller to hear the network audio, when the transfer is started. NOTE: This is called only if VXIrecInterface::HotwordTransfer returns VXItel_RESULT_UNSUPPORTED.
|