{"id":8957,"date":"2026-07-03T13:08:54","date_gmt":"2026-07-03T13:08:54","guid":{"rendered":"https:\/\/wiki.xontel.com\/?post_type=manual_documentation&#038;p=8957"},"modified":"2026-07-03T15:55:05","modified_gmt":"2026-07-03T15:55:05","slug":"trunks","status":"publish","type":"manual_documentation","link":"https:\/\/wiki.xontel.com\/ar\/documentation\/pbx\/pbx-v-2-x-x\/trunks\/","title":{"rendered":"Trunks"},"content":{"rendered":"<p class=\"wp-block-paragraph\"><strong>Trunks <\/strong>are used to connect your PBX to external VoIP systems or devices, enabling outbound and inbound call traffic between networks.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The PBX supports two types of VoIP trunks:<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Register Trunk<\/strong>: A registration-based SIP trunk that requires authentication (SIP REGISTER) using a username and password. Typically used when connecting to a VoIP provider or another PBX that mandates user authentication.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Peer Trunk<\/strong>: An IP-based SIP trunk that does not require registration. Instead, it relies on IP address authentication for communication between two VoIP systems, such as between your PBX and a VoIP provider or another PBX.<\/p>\n\n\n\n<ul class=\"wp-block-list has-vivid-red-color has-text-color has-link-color wp-elements-8e07cbc71538becaa5b81fccf4ddae36\">\n<li class=\"has-vivid-red-color has-text-color has-link-color wp-elements-7eb3a9efbf6cfa56aafff685030d093e\"><em>Note: The configuration settings vary depending on the selected trunk type.<\/em><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Register trunk<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading has-text-color has-link-color wp-elements-045897932d4437c9a6a4a9686d0102a6\" style=\"color:#4e7188\"><strong>Basic Information<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The Basic Information tab is used to configure the main settings required to create a SIP trunk.<\/p>\n\n\n\n<figure class=\"wp-block-gallery has-nested-images columns-default is-cropped wp-block-gallery-1 is-layout-flex wp-block-gallery-is-layout-flex\">\n<figure class=\"wp-block-image size-large image-border\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"1000\" data-id=\"8958\" src=\"https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-1024x1000.png\" alt=\"\" class=\"wp-image-8958\" srcset=\"https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-1024x1000.png 1024w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-300x293.png 300w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-768x750.png 768w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-1536x1500.png 1536w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-12x12.png 12w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image.png 1544w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n<\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Active<\/strong>: Enable this option to activate the trunk for use in all applicable routes. This setting is enabled by default.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Provider Name<\/strong>: Defines the name used to identify the SIP trunk within the system.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Trunk Type<\/strong>: Specifies the trunk connection method, such as registration-based trunking.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Username<\/strong>: Defines the username provided by the SIP provider for trunk registration.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Password<\/strong>: Defines the password used for SIP authentication.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Authentication Name<\/strong>: Specifies the authentication username when it differs from the main username.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>From User<\/strong>: Defines the user value sent in SIP signaling when required by the provider.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Hostname<\/strong>: Specifies the SIP provider server address.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Port Number<\/strong>: Defines the SIP signaling port used to connect to the provider.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Domain<\/strong>: Defines the SIP domain associated with the trunk provider.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Caller ID<\/strong>: Defines the caller ID information used for outbound calls when supported by the provider configuration.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Record Calls<\/strong>: Enables or disables call recording for calls routed through the trunk.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>ICE Support<\/strong>: Enables ICE negotiation when required for NAT traversal or WebRTC-related media handling.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>DTMF Mode<\/strong>: Defines how DTMF tones are transmitted during calls.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Transport Protocol<\/strong>: Specifies the SIP transport method used by the trunk, such as UDP, TCP or TLS.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-text-color has-link-color wp-elements-cbbfdb114df73134d294bf4a0b8ad1ff\" style=\"color:#4e7188\"><strong><strong>Codecs<\/strong><\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The Codecs tab is used to configure the media codecs assigned to a SIP trunk.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large image-border\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"589\" src=\"https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-1-1024x589.png\" alt=\"\" class=\"wp-image-8960\" srcset=\"https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-1-1024x589.png 1024w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-1-300x173.png 300w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-1-768x442.png 768w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-1-18x10.png 18w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-1.png 1536w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Codec selection determines how voice traffic is encoded and negotiated between the PBX system and the SIP provider during call setup.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Administrators can move codecs between the available and selected lists using the transfer controls. Selected codecs can also be reordered to define the preferred negotiation priority.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-text-color has-link-color wp-elements-cc89531fad990e54c5ed284ed9b9f711\" style=\"color:#4e7188\"><strong>Dialed Number Manipulation Rules<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The Dialed Number Manipulation Rules tab is used to configure outbound dialing patterns for a SIP trunk.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large image-border\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"406\" src=\"https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-2-1024x406.png\" alt=\"\" class=\"wp-image-8961\" srcset=\"https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-2-1024x406.png 1024w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-2-300x119.png 300w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-2-768x305.png 768w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-2-1536x609.png 1536w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-2-18x7.png 18w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-2.png 1551w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The <strong>Dial Pattern<\/strong> area allows administrators to create number manipulation rules that control how outbound numbers are processed before being routed to the SIP provider.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-text-color has-link-color wp-elements-f49287e5ebeb378248dcc83736abad3c\" style=\"color:#4e7188\"><strong>Advanced Settings<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The Advanced Settings tab is used to configure additional SIP signaling, identity handling, registration behavior, and outbound proxy settings for a SIP trunk.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large image-border\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"605\" src=\"https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-3-1024x605.png\" alt=\"\" class=\"wp-image-8962\" srcset=\"https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-3-1024x605.png 1024w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-3-300x177.png 300w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-3-768x454.png 768w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-3-1536x907.png 1536w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-3-18x12.png 18w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-3.png 1542w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Send RPID<\/strong>: Enables sending Remote-Party-ID information in SIP signaling when required by the provider.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Send PAI<\/strong>: Enables sending P-Asserted-Identity information in SIP signaling when required by the provider.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Trust ID Inbound<\/strong>: Allows the PBX to trust inbound caller identity information received from the SIP provider.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Trust ID Outbound<\/strong>: Allows trusted caller identity information to be used for outbound calls through the trunk.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Inband Progress<\/strong>: Enables inband call progress audio, allowing early media such as ringback tones or provider announcements to be passed through the trunk before the call is answered.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Qualified Frequency<\/strong>: Defines how often the PBX checks the availability of the SIP trunk or provider endpoint. This helps monitor trunk reachability and maintain accurate trunk status.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Outbound Proxy<\/strong>: Defines an intermediate SIP proxy address and port used for outbound trunk communication when required by the SIP provider.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><strong>Peer trunk<\/strong><\/h2>\n\n\n\n<h3 class=\"wp-block-heading has-text-color has-link-color wp-elements-045897932d4437c9a6a4a9686d0102a6\" style=\"color:#4e7188\"><strong>Basic Information<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The Basic Information tab is used to configure the primary settings required to create a SIP trunk with a peer-based connection.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large image-border\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"745\" src=\"https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-4-1024x745.png\" alt=\"\" class=\"wp-image-8968\" srcset=\"https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-4-1024x745.png 1024w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-4-300x218.png 300w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-4-768x558.png 768w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-4-1536x1117.png 1536w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-4-18x12.png 18w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-4.png 1539w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Provider Name<\/strong>: Defines the name used to identify the SIP trunk within the system.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Trunk Type<\/strong>: Specifies the trunk connection method. When set to <strong>Peer<\/strong>, the trunk connects directly to a remote SIP endpoint without registration credentials.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Hostname<\/strong>: Specifies the SIP provider or remote peer address.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Port Number<\/strong>: Defines the SIP signaling port used for communication.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Domain<\/strong>: Defines the SIP domain associated with the trunk.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Caller ID<\/strong>: Defines the caller ID information used for outbound calls when supported by the provider or peer configuration.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Record Calls<\/strong>: Enables or disables call recording for calls routed through the trunk.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>ICE Support<\/strong>: Enables ICE negotiation when required for NAT traversal or WebRTC-related media handling.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>DTMF Mode<\/strong>: Defines how DTMF tones are transmitted during calls, commonly used for IVR navigation and keypad input.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Transport Protocol<\/strong>: Specifies the SIP transport method used by the trunk, such as UDP, TCP or TLS.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-text-color has-link-color wp-elements-e26eb4c4e674c461d11eb27b362650ab\" style=\"color:#4e7188\"><strong>Codecs<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The Codecs tab is used to configure the media codecs assigned to a SIP trunk.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large image-border\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"589\" src=\"https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-1-1024x589.png\" alt=\"\" class=\"wp-image-8960\" srcset=\"https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-1-1024x589.png 1024w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-1-300x173.png 300w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-1-768x442.png 768w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-1-18x10.png 18w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-1.png 1536w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Codec selection determines how voice traffic is encoded and negotiated between the PBX system and the SIP provider during call setup.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Administrators can move codecs between the available and selected lists using the transfer controls. Selected codecs can also be reordered to define the preferred negotiation priority.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-text-color has-link-color wp-elements-500a829dd344fcbb5567126f321265d2\" style=\"color:#4e7188\"><strong>Dialed Number Manipulation Rules<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The Dialed Number Manipulation Rules tab is used to configure outbound dialing patterns for a SIP trunk.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large image-border\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"406\" src=\"https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-2-1024x406.png\" alt=\"\" class=\"wp-image-8961\" srcset=\"https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-2-1024x406.png 1024w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-2-300x119.png 300w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-2-768x305.png 768w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-2-1536x609.png 1536w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-2-18x7.png 18w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-2.png 1551w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The <strong>Dial Pattern<\/strong> area allows administrators to create number manipulation rules that control how outbound numbers are processed before being routed to the SIP provider.<\/p>\n\n\n\n<h3 class=\"wp-block-heading has-text-color has-link-color wp-elements-f49287e5ebeb378248dcc83736abad3c\" style=\"color:#4e7188\"><strong>Advanced Settings<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">The Advanced Settings tab is used to configure additional SIP signaling, identity handling, registration behavior, and outbound proxy settings for a SIP trunk.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large image-border\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"605\" src=\"https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-3-1024x605.png\" alt=\"\" class=\"wp-image-8962\" srcset=\"https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-3-1024x605.png 1024w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-3-300x177.png 300w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-3-768x454.png 768w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-3-1536x907.png 1536w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-3-18x12.png 18w, https:\/\/wiki.xontel.com\/wp-content\/uploads\/2026\/07\/image-3.png 1542w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Send RPID<\/strong>: Enables sending Remote-Party-ID information in SIP signaling when required by the provider.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Send PAI<\/strong>: Enables sending P-Asserted-Identity information in SIP signaling when required by the provider.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Trust ID Inbound<\/strong>: Allows the PBX to trust inbound caller identity information received from the SIP provider.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Trust ID Outbound<\/strong>: Allows trusted caller identity information to be used for outbound calls through the trunk.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Inband Progress<\/strong>: Enables inband call progress audio, allowing early media such as ringback tones or provider announcements to be passed through the trunk before the call is answered.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Qualified Frequency<\/strong>: Defines how often the PBX checks the availability of the SIP trunk or provider endpoint. This helps monitor trunk reachability and maintain accurate trunk status.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Outbound Proxy<\/strong>: Defines an intermediate SIP proxy address and port used for outbound trunk communication when required by the SIP provider.<\/p>","protected":false},"author":1,"featured_media":0,"parent":8888,"menu_order":3,"template":"","manualdocumentationcategory":[16],"manual_doc_tag":[],"class_list":["post-8957","manual_documentation","type-manual_documentation","status-publish","hentry","manualdocumentationcategory-xontel-doc"],"_links":{"self":[{"href":"https:\/\/wiki.xontel.com\/ar\/wp-json\/wp\/v2\/manual_documentation\/8957","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wiki.xontel.com\/ar\/wp-json\/wp\/v2\/manual_documentation"}],"about":[{"href":"https:\/\/wiki.xontel.com\/ar\/wp-json\/wp\/v2\/types\/manual_documentation"}],"author":[{"embeddable":true,"href":"https:\/\/wiki.xontel.com\/ar\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":7,"href":"https:\/\/wiki.xontel.com\/ar\/wp-json\/wp\/v2\/manual_documentation\/8957\/revisions"}],"predecessor-version":[{"id":8988,"href":"https:\/\/wiki.xontel.com\/ar\/wp-json\/wp\/v2\/manual_documentation\/8957\/revisions\/8988"}],"up":[{"embeddable":true,"href":"https:\/\/wiki.xontel.com\/ar\/wp-json\/wp\/v2\/manual_documentation\/8888"}],"wp:attachment":[{"href":"https:\/\/wiki.xontel.com\/ar\/wp-json\/wp\/v2\/media?parent=8957"}],"wp:term":[{"taxonomy":"manualdocumentationcategory","embeddable":true,"href":"https:\/\/wiki.xontel.com\/ar\/wp-json\/wp\/v2\/manualdocumentationcategory?post=8957"},{"taxonomy":"manual_doc_tag","embeddable":true,"href":"https:\/\/wiki.xontel.com\/ar\/wp-json\/wp\/v2\/manual_doc_tag?post=8957"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}