> 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-sip-stack.md).

# Creating a SIP Stack

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

Session Initiation Protocol, more commonly known as [SIP](https://telcobridges.com/learning/sip-trunking/what-is-sip/), is a signaling protocol for packet-based networks and is commonly used, along with H.323 to provide signaling for Voice over IP (VoIP) communications. You must configure SIP signaling for your system. The first step in doing so is to create a SIP stack:

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

![SipNav C 0](https://docs.telcobridges.com/w/images/a/a9/SipNav_C_0.png)

2- Click **Create New Sip**

![Sip C 1](https://docs.telcobridges.com/w/images/7/78/Sip_C_1.png)

3- Create the new SIP stack:

* Verify that the box labeled **Enabled** is checked
* Enter a **name** for the stack
* Click **Create**

![Sip B 2](https://docs.telcobridges.com/w/images/2/25/Sip_B_2.png)

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

![Sip B 3](https://docs.telcobridges.com/w/images/a/ad/Sip_B_3.png)

**Path**

```
/configurations/@[configuration_name]/sip_stacks/@[sipStack_Name]
```

**Parameters (text)**

```
/configurations/@[configuration_name]/sip_stacks/@[sipStack_Name]
enabled                        = true
hardware_unit                  = "@[hardware_name]"
name                           = "@[sipStack_Name]"

/configurations/@[configuration_name]/sip_stacks/@[sipStack_Name]/dns_parameters
cache_expire_time          = "12 hours"
enabled                    = false
query_retry_count          = 3
query_timer                = "20 seconds"
server_address             = ""
server_dns_port            = 53
use_cache                  = true
use_enum                   = false

/configurations/@[configuration_name]/sip_stacks/@[sipStack_Name]/dns_parameters/local_dns_transport_server
ip_interface = "@[hardware_name].@[voip_Name]"
port         = 1024
port_type    = "UDP"

/configurations/@[configuration_name]/sip_stacks/@[sipStack_Name]/header_parameters_and_timers
add_rport                   = true
allow_recurse               = false
always_send_100             = true
default_invite_expires      = "2 minutes"
default_register_expires    = "30 seconds"
default_session_timer_value = "30 minutes"
domain_name                 = "@[hardware_name]"
insert_accept               = true
insert_allow                = true
insert_date                 = true
insert_expires              = true
insert_supported            = true
insert_timestamp            = true
max_forward                 = 70
min_se_value                = "90 seconds"
organization                = ""
provisional_response_type   = "Supported"
subject                     = ""
t1_timer                    = "500 milliseconds"
t2_timer                    = "4 seconds"
t4_timer                    = "5 seconds"
use_compact_hdr             = false
use_fqdn_contact            = false
use_session_timer           = false

/configurations/@[configuration_name]/sip_stacks/@[sipStack_Name]/quirks_and_advanced_parameters
add_angle_brackets_around_sip_uri        = true
advanced_transport_servers_configuration = false
clear_subscriptions_on_call_complete     = false
etsi_ts102_0272_2006_compliant           = false
generate_space_after_colon               = false
refuse_initial_invite_with_to_tag        = false
support_latin_characters                 = false
support_method_update                    = true
support_pound_and_backslash_in_user_info = true
support_quotes_in_quoted_string          = false
support_spiral_call                      = false
```

**Parameters (json)**

```
{
  "dns_parameters" : {
    "cache_expire_time" : "12 hours",
    "enabled" : false,
    "local_dns_transport_server" : {
      "ip_interface" : "@[hardware_name].@[voip_Name]",
      "port" : 1024,
      "port_type" : "UDP"
    },
    "query_retry_count" : 3,
    "query_timer" : "20 seconds",
    "server_address" : "",
    "server_dns_port" : 53,
    "use_cache" : true,
    "use_enum" : false
  },
  "enabled" : true,
  "hardware_unit" : "@[hardware_name]",
  "header_parameters_and_timers" : {
    "add_rport" : true,
    "allow_recurse" : false,
    "always_send_100" : true,
    "default_invite_expires" : "2 minutes",
    "default_register_expires" : "30 seconds",
    "default_session_timer_value" : "30 minutes",
    "domain_name" : "@[hardware_name]",
    "insert_accept" : true,
    "insert_allow" : true,
    "insert_date" : true,
    "insert_expires" : true,
    "insert_supported" : true,
    "insert_timestamp" : true,
    "max_forward" : 70,
    "min_se_value" : "90 seconds",
    "organization" : "",
    "provisional_response_type" : "Supported",
    "subject" : "",
    "t1_timer" : "500 milliseconds",
    "t2_timer" : "4 seconds",
    "t4_timer" : "5 seconds",
    "use_compact_hdr" : false,
    "use_fqdn_contact" : false,
    "use_session_timer" : false
  },
  "name" : "@[sipStack_Name]",
  "quirks_and_advanced_parameters" : {
    "add_angle_brackets_around_sip_uri" : true,
    "advanced_transport_servers_configuration" : false,
    "clear_subscriptions_on_call_complete" : false,
    "etsi_ts102_0272_2006_compliant" : false,
    "generate_space_after_colon" : false,
    "refuse_initial_invite_with_to_tag" : false,
    "support_latin_characters" : false,
    "support_method_update" : true,
    "support_pound_and_backslash_in_user_info" : true,
    "support_quotes_in_quoted_string" : false,
    "support_spiral_call" : false
  },
 }
```

### List of Parameters

* [Enabled](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/enabled/README.md)
* [Name](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/name/README.md)
* [Unit](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/unit/README.md)

**Advanced**

* [Advanced Transport Servers configuration](https://github.com/telcobridges-main/tmedia-wiki/tree/main/reference/parameters/advanced-transport-servers-configuration/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-sip-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.
