TAPI.CallInfo
-------------

Queries details on current call.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [TAPI](component_TAPI.md) | [4.4](newinversion44.md) | ❌ No | ✅ Yes | ❌ No | ❌ No | ❌ No |

MBS( "TAPI.CallInfo"; Call; Selector ) 

**MBS**( **"TAPI.CallInfo";** /\* Queries details on current call. \*/  
**$Call**; /\* The call reference number. \*/   
**$Selector**) /\* Which value to query.e.g. "CalledIDName" \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| Call | The call reference number. | $Call |
| Selector | Which value to query. | "CalledIDName" |

### Result

Returns value or error.

### Description

Queries details on current call.  
Possible properties to query:  
- CallerIdName: The name of the caller.
- CallerIdNumber: The number of the caller.
- CalledIdName: The name of the called location.
- CalledIdNumber: The number of the called location.
- ConnectedIdName: The name of the connected location.
- ConnectedIdName: The number of the connected location.
- RedirectionIdName: The name of the location to which a call has been redirected.
- RedirectionIdNumber: The number of the location to which a call has been redirected.
- RedirectingIdName: The name of the location that redirected the call.
- RedirectingIdNumber: The number of the location that redirected the call.
- CalledPartyFriendlyName: The called party friendly name.
- Comment: A comment about the call provided by the application that originated the call.
- DisplayableAddress: A displayable version of the called or calling address.
- CallingPartyID: The identifier of the calling party.
- State: The state of the call: Idle, InProgress, Connected, Disconnected, Offering, Hold or Queued.
- CountryCode: Country or region code.
- CallID: Call identifier. Some service providers assign a unique code to each call.
- Ref: Unique number of the call info object.
- Privilege: The privilege level. Either Owner or Monitor.
- Origin: Where the call is from. Can be Conference, External, InBound, Internal, OutBound, Unavailable or Unknown.
- Reason: Why the call was coming. Can be CallCompletion, CampedOn, Direct, ForwardedBudy, ForwardedNoAnswer, ForwardedUnconditionally, Intrude, Parked, Pickup, Redirect, Reminder, RouterRequest, Transfer, Unavailable, Unknown or Unpark.
- CallerIDAddressType: What type the caller ID has.
- CalledIDAddressType: What type the called ID has.
- ConnectedIDAddressType: What type the connected ID has.
- RedirectionAddressType: What type the redirection ID has.
- RedirectedAddressType: What type the redirected ID has.

The address type properties on bottom define what the number properties above specify. Can be Phone Number, SDP, E-Mail Name, Domain Name or IP Address.  
### See also

- [TAPI.SetCallStateEvaluate](TAPISetCallStateEvaluate.md)
- [TAPI.SetCallStateScript](TAPISetCallStateScript.md)
- [TAPI.SetNewCallEvaluate](TAPISetNewCallEvaluate.md)
- [TAPI.SetNewCallScript](TAPISetNewCallScript.md)

### Example Databases

- [Win Only/TAPI/Tapi](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/Win%20Only/TAPI/Tapi.shtml#1ScriptAnchor_)

### Blog Entries

- [MBS Filemaker Plugin, version 4.5pr2](https://www.mbsplugins.de/archive/2014-12-01/MBS_Filemaker_Plugin_version_4/monkeybreadsoftware_blog_filemaker)

This function checks for a license.

Created 22nd October 2014 , last changed 9th November 2021

  
[TAPI.BlindTransfer](TAPIBlindTransfer.md) - [TAPI.Connect](TAPIConnect.md)

[HTML Version](TAPICallInfo.shtml)