Allows you to determine the type of call (incoming or outgoing).
Syntax
<Result> = tapiOrigin([<Call identifier>])
<Result>: Integer constant
Origin of the call. | |
tapiOriginConference | Call in conference mode (several people). |
tapiOriginExternal | Call coming from the outside. The use of this variable depends on the type of device used, on the driver, ... |
tapiOriginInbound | Incoming call: communication coming from the outside. The use of this variable depends on the type of device used, on the driver, ... |
tapiOriginInternal | Call internal to PABX |
tapiOriginOutbound | Outgoing call: communication toward the outside. |
tapiOriginUnavailable | The origin of the call is not defined. The use of this variable depends on the type of device used, on the driver, ... |
tapiOriginUnknown | The origin of the call is not defined. The use of this variable depends on the type of device used, on the driver, ... |
<Call identifier>: Optional integer
Identifier of the call to be handled. This identifier is defined in the WLanguage procedure called by tapiListen.
Remarks
Required configuration
Telephony functions use TAPI 2.0 technology and/or TAPI 3.1 technology. These technologies can be used on all systems.