> For the complete documentation index, see [llms.txt](https://prosbcdocs.telcobridges.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://prosbcdocs.telcobridges.com/tmedia-documentation/configuration/creating-a-tcap-stack.md).

# Creating a TCAP Stack

> **Applies to:** Tmedia 3.0, 3.2, 3.3

After the SCCP layer of the SS7 system is created, you must create the [TCAP](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/protocols/tcap/README.md) layer.

The TCAP layer uses transport services provided by SCCP to implement transaction capabilities application services. TCAP defines the end-to-end protocol between TCAP users, and these users may be located in a SS7 network or in another network supporting TCAP protocol.

To create a TCAP stack:

1- Click **TCAP** from the navigation panel

![Create TCAP Stack 0](https://docs.telcobridges.com/w/images/f/ff/Create_TCAP_Stack_0.png)

2- Configure the new TCAP stack:

* Enter a **name** for the TCAP stack
* Select a **primary adapter**
* Select a **secondary adapter**
* Click **Create**

![Create TCAP Stack 1](https://docs.telcobridges.com/w/images/f/ff/Create_TCAP_Stack_1.png)

3- Verify that the **"TcapStack was successfully created"** message appears

![Create TCAP Stack 2](https://docs.telcobridges.com/w/images/a/a7/Create_TCAP_Stack_2.png)

**Path**

```
/configurations/@[configuration_name]/tcap_stacks/@[tcap_stack]
```

**Parameters (text)**

```
/configurations/@[configuration_name]/tcap_stacks/@[tcap_stack]
enabled         = true
name            = "@[tcap_stack]"
primary_unit    = "NONE"
return_on_error = true
secondary_unit  = "NONE"
```

**Parameters (json)**

```
{
  "enabled" : true,
  "name" : "@[tcap_stack]",
  "primary_unit" : "NONE",
  "return_on_error" : true,
  "secondary_unit" : "NONE"
}
```

### List of Parameters

* [Name](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/name/README.md)
* [Primary Adapter](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/primary-hardware-adapter/README.md)
* [Secondary Adapter](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/secondary-hardware-adapter/README.md)

**Advanced Parameters**

* [Return on error](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/return-on-error/README.md)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://prosbcdocs.telcobridges.com/tmedia-documentation/configuration/creating-a-tcap-stack.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
