TAPI.SetCallStateURL
--------------------

Sets the URL to query when call changes state.

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

MBS( "TAPI.SetCallStateURL"; URL ) 

**MBS**( **"TAPI.SetCallStateURL";** /\* Sets the URL to query when call changes state. \*/  
**$URL**) /\* The URL to trigger. \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| URL | The URL to trigger. |  |

### Result

Returns OK or error.

### Description

Sets the URL to query when call changes state.  
$$ID$$ in the URL is replaced with call ID.  
Queries http/ftp/sftp URLs with CURL, other URLs passed to OS to open.  
### See also

- [TAPI.GetCallStateURL](TAPIGetCallStateURL.md)

### Blog Entries

- [MBS FileMaker Plugin, version 6.5pr3](https://www.mbsplugins.de/archive/2016-10-18/MBS_FileMaker_Plugin_version_6/monkeybreadsoftware_blog_filemaker)

This function is free to use.

Created 11st October 2016 , last changed 11st October 2016

  
[TAPI.SetCallStateScript](TAPISetCallStateScript.md) - [TAPI.SetNewCallEvaluate](TAPISetNewCallEvaluate.md)

[HTML Version](TAPISetCallStateURL.shtml)