{"id":7447,"date":"2025-08-29T20:30:38","date_gmt":"2025-08-29T20:30:38","guid":{"rendered":"https:\/\/wiki.xontel.com\/?post_type=manual_documentation&#038;p=7447"},"modified":"2026-08-10T10:59:41","modified_gmt":"2026-08-10T10:59:41","slug":"trunks","status":"publish","type":"manual_documentation","link":"https:\/\/wiki.telsip.com\/ar\/documentation\/telsip-platform\/telsip-cloud-pbx\/pbx-v-1-x-x\/pbx\/trunks\/","title":{"rendered":"Trunks"},"content":{"rendered":"<p class=\"wp-block-paragraph\">Trunks 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<figure class=\"wp-block-image size-large image-border\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"303\" src=\"https:\/\/wiki.telsip.com\/wp-content\/uploads\/2025\/08\/trunk-1024x303.jpg\" alt=\"\" class=\"wp-image-8776\" srcset=\"https:\/\/wiki.telsip.com\/wp-content\/uploads\/2025\/08\/trunk-1024x303.jpg 1024w, https:\/\/wiki.telsip.com\/wp-content\/uploads\/2025\/08\/trunk-300x89.jpg 300w, https:\/\/wiki.telsip.com\/wp-content\/uploads\/2025\/08\/trunk-768x227.jpg 768w, https:\/\/wiki.telsip.com\/wp-content\/uploads\/2025\/08\/trunk-1536x455.jpg 1536w, https:\/\/wiki.telsip.com\/wp-content\/uploads\/2025\/08\/trunk-18x5.jpg 18w, https:\/\/wiki.telsip.com\/wp-content\/uploads\/2025\/08\/trunk.jpg 1861w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\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\">\n<li class=\"has-vivid-red-color has-text-color has-link-color wp-elements-1\"><em>Note: The configuration settings vary depending on the selected trunk type.<\/em><\/li>\n<\/ul>\n\n\n\n<p class=\"has-large-font-size wp-block-paragraph\"><strong>Register trunk<\/strong><\/p>\n\n\n\n<p class=\"has-text-color has-link-color wp-elements-2 wp-block-paragraph\" style=\"color:#4e7188;font-size:25px\"><strong>Basic Information<\/strong><\/p>\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-image size-large image-border\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"908\" src=\"https:\/\/wiki.telsip.com\/wp-content\/uploads\/2025\/08\/image-101-1024x908.png\" alt=\"\" class=\"wp-image-8501\" srcset=\"https:\/\/wiki.telsip.com\/wp-content\/uploads\/2025\/08\/image-101-1024x908.png 1024w, https:\/\/wiki.telsip.com\/wp-content\/uploads\/2025\/08\/image-101-300x266.png 300w, https:\/\/wiki.telsip.com\/wp-content\/uploads\/2025\/08\/image-101-768x681.png 768w, https:\/\/wiki.telsip.com\/wp-content\/uploads\/2025\/08\/image-101-14x12.png 14w, https:\/\/wiki.telsip.com\/wp-content\/uploads\/2025\/08\/image-101.png 1497w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\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<p class=\"has-text-color has-link-color wp-elements-3 wp-block-paragraph\" style=\"color:#4e7188;font-size:25px\"><strong>Codecs<\/strong><\/p>\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=\"524\" src=\"https:\/\/wiki.telsip.com\/wp-content\/uploads\/2025\/08\/image-102-1024x524.png\" alt=\"\" class=\"wp-image-8503\" srcset=\"https:\/\/wiki.telsip.com\/wp-content\/uploads\/2025\/08\/image-102-1024x524.png 1024w, https:\/\/wiki.telsip.com\/wp-content\/uploads\/2025\/08\/image-102-300x154.png 300w, https:\/\/wiki.telsip.com\/wp-content\/uploads\/2025\/08\/image-102-768x393.png 768w, https:\/\/wiki.telsip.com\/wp-content\/uploads\/2025\/08\/image-102-18x9.png 18w, https:\/\/wiki.telsip.com\/wp-content\/uploads\/2025\/08\/image-102.png 1510w\" 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<p class=\"has-text-color has-link-color wp-elements-4 wp-block-paragraph\" style=\"color:#4e7188;font-size:25px\"><strong>Dialed Number Manipulation Rules<\/strong><\/p>\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=\"369\" src=\"https:\/\/wiki.telsip.com\/wp-content\/uploads\/2025\/08\/image-104-1024x369.png\" alt=\"\" class=\"wp-image-8507\" srcset=\"https:\/\/wiki.telsip.com\/wp-content\/uploads\/2025\/08\/image-104-1024x369.png 1024w, https:\/\/wiki.telsip.com\/wp-content\/uploads\/2025\/08\/image-104-300x108.png 300w, https:\/\/wiki.telsip.com\/wp-content\/uploads\/2025\/08\/image-104-768x277.png 768w, https:\/\/wiki.telsip.com\/wp-content\/uploads\/2025\/08\/image-104-18x6.png 18w, https:\/\/wiki.telsip.com\/wp-content\/uploads\/2025\/08\/image-104.png 1505w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Prepend<\/strong>: Digits added before the number when a match is found.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Prefix<\/strong>: Digits removed from the dialed number when a match is found.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Pattern<\/strong>: The set of rules used to match dialed numbers.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Caller Id:<\/strong>&nbsp;Optional Caller ID number or pattern that must match for the rule to apply.<\/p>\n\n\n\n<p class=\"has-large-font-size wp-block-paragraph\"><strong>Peer trunk<\/strong><\/p>\n\n\n\n<p class=\"has-text-color has-link-color wp-elements-5 wp-block-paragraph\" style=\"color:#4e7188;font-size:25px\"><strong>Basic Information<\/strong><\/p>\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=\"697\" src=\"https:\/\/wiki.telsip.com\/wp-content\/uploads\/2025\/08\/image-67-1024x697.png\" alt=\"\" class=\"wp-image-7884\" srcset=\"https:\/\/wiki.telsip.com\/wp-content\/uploads\/2025\/08\/image-67-1024x697.png 1024w, https:\/\/wiki.telsip.com\/wp-content\/uploads\/2025\/08\/image-67-300x204.png 300w, https:\/\/wiki.telsip.com\/wp-content\/uploads\/2025\/08\/image-67-768x523.png 768w, https:\/\/wiki.telsip.com\/wp-content\/uploads\/2025\/08\/image-67-18x12.png 18w, https:\/\/wiki.telsip.com\/wp-content\/uploads\/2025\/08\/image-67.png 1510w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\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. 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<p class=\"has-text-color has-link-color wp-elements-6 wp-block-paragraph\" style=\"color:#4e7188;font-size:25px\"><strong>Codecs<\/strong><\/p>\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=\"524\" src=\"https:\/\/wiki.telsip.com\/wp-content\/uploads\/2025\/08\/image-103-1024x524.png\" alt=\"\" class=\"wp-image-8504\" srcset=\"https:\/\/wiki.telsip.com\/wp-content\/uploads\/2025\/08\/image-103-1024x524.png 1024w, https:\/\/wiki.telsip.com\/wp-content\/uploads\/2025\/08\/image-103-300x154.png 300w, https:\/\/wiki.telsip.com\/wp-content\/uploads\/2025\/08\/image-103-768x393.png 768w, https:\/\/wiki.telsip.com\/wp-content\/uploads\/2025\/08\/image-103-18x9.png 18w, https:\/\/wiki.telsip.com\/wp-content\/uploads\/2025\/08\/image-103.png 1510w\" 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<p class=\"has-text-color has-link-color wp-elements-7 wp-block-paragraph\" style=\"color:#4e7188;font-size:25px\"><strong>Dialed Number Manipulation Rules<\/strong><\/p>\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=\"369\" src=\"https:\/\/wiki.telsip.com\/wp-content\/uploads\/2025\/08\/image-105-1024x369.png\" alt=\"\" class=\"wp-image-8508\" srcset=\"https:\/\/wiki.telsip.com\/wp-content\/uploads\/2025\/08\/image-105-1024x369.png 1024w, https:\/\/wiki.telsip.com\/wp-content\/uploads\/2025\/08\/image-105-300x108.png 300w, https:\/\/wiki.telsip.com\/wp-content\/uploads\/2025\/08\/image-105-768x277.png 768w, https:\/\/wiki.telsip.com\/wp-content\/uploads\/2025\/08\/image-105-18x6.png 18w, https:\/\/wiki.telsip.com\/wp-content\/uploads\/2025\/08\/image-105.png 1505w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Prepend<\/strong>: Digits added before the number when a match is found.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Prefix<\/strong>: Digits removed from the dialed number when a match is found.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Pattern<\/strong>: The set of rules used to match dialed numbers.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Caller Id:<\/strong>&nbsp;Optional Caller ID number or pattern that must match for the rule to apply.<\/p>","protected":false},"excerpt":{"rendered":"<p>Trunks are used to connect your PBX to external VoIP systems or devices, enabling outbound and inbound call traffic between networks. The PBX supports two types of VoIP trunks: Register Trunk: 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 [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"parent":7440,"menu_order":2,"template":"","manualdocumentationcategory":[45],"manual_doc_tag":[],"class_list":["post-7447","manual_documentation","type-manual_documentation","status-publish","hentry","manualdocumentationcategory-telsip"],"_links":{"self":[{"href":"https:\/\/wiki.telsip.com\/ar\/wp-json\/wp\/v2\/manual_documentation\/7447","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wiki.telsip.com\/ar\/wp-json\/wp\/v2\/manual_documentation"}],"about":[{"href":"https:\/\/wiki.telsip.com\/ar\/wp-json\/wp\/v2\/types\/manual_documentation"}],"author":[{"embeddable":true,"href":"https:\/\/wiki.telsip.com\/ar\/wp-json\/wp\/v2\/users\/3"}],"version-history":[{"count":15,"href":"https:\/\/wiki.telsip.com\/ar\/wp-json\/wp\/v2\/manual_documentation\/7447\/revisions"}],"predecessor-version":[{"id":9298,"href":"https:\/\/wiki.telsip.com\/ar\/wp-json\/wp\/v2\/manual_documentation\/7447\/revisions\/9298"}],"up":[{"embeddable":true,"href":"https:\/\/wiki.telsip.com\/ar\/wp-json\/wp\/v2\/manual_documentation\/7440"}],"wp:attachment":[{"href":"https:\/\/wiki.telsip.com\/ar\/wp-json\/wp\/v2\/media?parent=7447"}],"wp:term":[{"taxonomy":"manualdocumentationcategory","embeddable":true,"href":"https:\/\/wiki.telsip.com\/ar\/wp-json\/wp\/v2\/manualdocumentationcategory?post=7447"},{"taxonomy":"manual_doc_tag","embeddable":true,"href":"https:\/\/wiki.telsip.com\/ar\/wp-json\/wp\/v2\/manual_doc_tag?post=7447"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}