> 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-an-m2ua-sap.md).

# Creating an M2UA SAP

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

After you create an M2UA configuration, you must create a new M2UA service access point (SAP) for your system. The SAP is an identifying label for endpoints in your network.

To create an M2UA SAP:

1- Click **M2UA** in the navigation panel

![Create M2ua 0](https://docs.telcobridges.com/w/images/8/88/Create_M2ua_0.png)

2- Click **Create New M2ua Sap** in the M2UA configuration window

![Create M2UA SAP 0](https://docs.telcobridges.com/w/images/9/91/Create_M2UA_SAP_0.png)

3- Configure the new M2UA SAP:

* Enter a **name** for the new SAP
* Enter a number for the **SCTP source port**
* Click **Create**

![Create M2UA SAP 1](https://docs.telcobridges.com/w/images/f/f5/Create_M2UA_SAP_1.png)

4- Verify that the **"M2ua Sap was successfully created"** message appears

![Create M2UA SAP 2](https://docs.telcobridges.com/w/images/9/91/Create_M2UA_SAP_2.png)

5- Associate an IP interface with the new SAP:

* Select an **IP interface** from the list of **Available** IP interfaces
* Click **"<<"** to associate the interface with the SAP

![Create M2UA SAP 3](https://docs.telcobridges.com/w/images/c/cc/Create_M2UA_SAP_3.png)

**Path**

```
/configurations/@[configuration_name]/hardware_units/@[hardware_name]/m2ua_stacks/@[m2ua_stack]/m2ua_saps/@[m2ua_sap]
```

**Parameters (text)**

```
/configurations/@[configuration_name]/hardware_units/@[hardware_name]/m2ua_stacks/@[m2ua_stack]/m2ua_saps/@[m2ua_sap]
ip_interfaces       = [ "@[hardware_name].@[voip_name]" ]
name                = "@[m2ua_sap]"
src_port            = @[port_number]

/configurations/@[configuration_name]/hardware_units/@[hardware_name]/m2ua_stacks/@[m2ua_stack]/m2ua_saps/@[m2ua_sap]/advanced_parameters
abort_nego_if_nb_stream_mismatch = false
bundle_timer                     = ""
cookie_life_time                 = "30 seconds"
flow_control_down_threshold      = 1000
flow_control_up_threshold        = 2000
freeze_timer                     = "1500 milliseconds"
handle_init_data                 = true
heartbeat_delay                  = "1500 milliseconds"
max_data_burst                   = 4
max_data_size                    = 1000
max_datagrams_ack                = 10
max_delay_ack                    = "100 milliseconds"
rto_init                         = "1500 milliseconds"
rto_max                          = "2 seconds"
rto_max_hearbeat                 = 1
rto_min                          = "100 milliseconds"
shutdown_guard_timer             = "75 seconds"

/configurations/@[configuration_name]/hardware_units/@[hardware_name]/m2ua_stacks/@[m2ua_stack]/m2ua_saps/@[m2ua_sap]/timers
asso_timer     = "3 minutes"
life_time      = 200
max_prim_retry = 5
prim_timer     = "1 second"
```

**Parameters (json)**

```
{
  "advanced_parameters" : {
    "abort_nego_if_nb_stream_mismatch" : false,
    "bundle_timer" : "",
    "cookie_life_time" : "30 seconds",
    "flow_control_down_threshold" : 1000,
    "flow_control_up_threshold" : 2000,
    "freeze_timer" : "1500 milliseconds",
    "handle_init_data" : true,
    "heartbeat_delay" : "1500 milliseconds",
    "max_data_burst" : 4,
    "max_data_size" : 1000,
    "max_datagrams_ack" : 10,
    "max_delay_ack" : "100 milliseconds",
    "rto_init" : "1500 milliseconds",
    "rto_max" : "2 seconds",
    "rto_max_hearbeat" : 1,
    "rto_min" : "100 milliseconds",
    "shutdown_guard_timer" : "75 seconds"
  },
  "ip_interfaces" : [
    "@[hardware_name].@[voip_name]"
  ],
  "name" : "@[m2ua_sap]",
  "src_port" : @[port_number],
  "timers" : {
    "asso_timer" : "3 minutes",
    "life_time" : 200,
    "max_prim_retry" : 5,
    "prim_timer" : "1 second"
  }
}
```

### List of Parameters

* [Name](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/name/README.md)
* [SCTP Source Port](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/sctp-source-port/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-an-m2ua-sap.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.
