{"id":7035,"date":"2023-01-12T16:00:28","date_gmt":"2023-01-12T13:00:28","guid":{"rendered":"http:\/\/trueconf.com\/blog\/?p=7035"},"modified":"2025-10-27T16:30:14","modified_gmt":"2025-10-27T13:30:14","slug":"set-telephony-example-trueconf-server-asterisk-integration","status":"publish","type":"post","link":"https:\/\/trueconf.com/blog\/knowledge-base\/set-telephony-example-trueconf-server-asterisk-integration","title":{"rendered":"How to set up telephony: TrueConf Server and Asterisk integration"},"content":{"rendered":"<p class=\"primary-medium-text ui-mb-sm-1\">You can integrate your corporate SIP PBX into <a href=\"https:\/\/trueconf.com\/products\/tcsf\/trueconf-server-free.html\" target=\"_blank\" rel=\"noopener\">TrueConf Server<\/a> via the built-in multi-protocol gateway. This guide will show you how to connect TrueConf Server with an Asterisk PBX (FreePBX 15 GUI).<\/p>\n<h2 id=\"step1\" class=\"h4--main h4--thick black-text ui-mb-xs-3 ui-mt-md-1\">Step 1: Create a SIP Trunk on the Asterisk Side<\/h2>\n<ul class=\"ui-list ui-list--medium\" style=\"margin-bottom: 18px;\">\n<li class=\"ui-list__item ui-list__item--num\">In the PBX control panel, go to <strong>Connectivity \u2192 Trunks<\/strong>.<a href=\"https:\/\/trueconf.com\/blog\/wp-content\/uploads\/2019\/08\/en_1.png\" data-rel=\"lightbox-gallery-Ko4rBILU\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"aligncenter wp-image-23116\" style=\"border: 1px solid #D1CCCC;\" src=\"https:\/\/trueconf.com\/blog\/wp-content\/uploads\/2019\/08\/en_1.png\" alt=\"\" width=\"600\" height=\"301\" loading=\"lazy\" title=\"\" srcset=\"https:\/\/trueconf.com/blog\/wp-content\/uploads\/2019\/08\/en_1.png 893w, https:\/\/trueconf.com/blog\/wp-content\/uploads\/2019\/08\/en_1-690x346.png 690w, https:\/\/trueconf.com/blog\/wp-content\/uploads\/2019\/08\/en_1-768x385.png 768w, https:\/\/trueconf.com/blog\/wp-content\/uploads\/2019\/08\/en_1-403x202.png 403w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/li>\n<li class=\"ui-list__item ui-list__item--num\">In the opened window, choose <strong>Add SIP (chan_pjsip) Trunk<\/strong> in the <strong>Add Trunk<\/strong> drop-down list:<br \/>\n<a href=\"https:\/\/trueconf.com\/blog\/wp-content\/uploads\/2019\/08\/en_2.png\" data-rel=\"lightbox-gallery-Ko4rBILU\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"aligncenter wp-image-23117\" style=\"border: 1px solid #D1CCCC;\" src=\"https:\/\/trueconf.com\/blog\/wp-content\/uploads\/2019\/08\/en_2.png\" alt=\"\" width=\"600\" height=\"332\" loading=\"lazy\" title=\"\" srcset=\"https:\/\/trueconf.com/blog\/wp-content\/uploads\/2019\/08\/en_2.png 971w, https:\/\/trueconf.com/blog\/wp-content\/uploads\/2019\/08\/en_2-690x382.png 690w, https:\/\/trueconf.com/blog\/wp-content\/uploads\/2019\/08\/en_2-768x425.png 768w, https:\/\/trueconf.com/blog\/wp-content\/uploads\/2019\/08\/en_2-365x202.png 365w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/li>\n<li class=\"ui-list__item ui-list__item--num\">On the <strong>General<\/strong> tab, fill out the <strong>Trunk Name<\/strong> field (this information will be used as a username and login).<br \/>\n<a href=\"https:\/\/trueconf.com\/blog\/wp-content\/uploads\/2019\/08\/en_3.png\" data-rel=\"lightbox-gallery-Ko4rBILU\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"aligncenter wp-image-23118\" style=\"border: 1px solid #D1CCCC;\" src=\"https:\/\/trueconf.com\/blog\/wp-content\/uploads\/2019\/08\/en_3.png\" alt=\"\" width=\"600\" height=\"259\" loading=\"lazy\" title=\"\" srcset=\"https:\/\/trueconf.com/blog\/wp-content\/uploads\/2019\/08\/en_3.png 952w, https:\/\/trueconf.com/blog\/wp-content\/uploads\/2019\/08\/en_3-690x298.png 690w, https:\/\/trueconf.com/blog\/wp-content\/uploads\/2019\/08\/en_3-768x332.png 768w, https:\/\/trueconf.com/blog\/wp-content\/uploads\/2019\/08\/en_3-453x196.png 453w\" sizes=\"auto, (max-width: 600px) 100vw, 600px\" \/><\/a><\/li>\n<li class=\"ui-list__item ui-list__item--num\">Go to the <strong>pjsip Settings<\/strong> tab and select <strong>Both<\/strong> in the <strong>Authentication<\/strong> section.<\/li>\n<li class=\"ui-list__item ui-list__item--num\">Select <strong>Receive<\/strong> in the <strong>Registration<\/strong> section.<\/li>\n<li class=\"ui-list__item ui-list__item--num\">Enter the password that will be used for authorization in the <strong>Secret<\/strong> field.<\/li>\n<li class=\"ui-list__item ui-list__item--num\">Click on the <strong>Submit<\/strong> button in the lower right corner.<\/li>\n<li class=\"ui-list__item ui-list__item--num\">To save changes, click on the red button <strong>Apply Config<\/strong>.<br \/>\n<a href=\"https:\/\/trueconf.com\/blog\/wp-content\/uploads\/2019\/08\/en_4.png\" data-rel=\"lightbox-gallery-Ko4rBILU\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"aligncenter wp-image-23119\" src=\"https:\/\/trueconf.com\/blog\/wp-content\/uploads\/2019\/08\/en_4.png\" alt=\"\" width=\"1700\" height=\"730\" loading=\"lazy\" title=\"\" srcset=\"https:\/\/trueconf.com/blog\/wp-content\/uploads\/2019\/08\/en_4.png 1920w, https:\/\/trueconf.com/blog\/wp-content\/uploads\/2019\/08\/en_4-690x296.png 690w, https:\/\/trueconf.com/blog\/wp-content\/uploads\/2019\/08\/en_4-1024x439.png 1024w, https:\/\/trueconf.com/blog\/wp-content\/uploads\/2019\/08\/en_4-768x330.png 768w, https:\/\/trueconf.com/blog\/wp-content\/uploads\/2019\/08\/en_4-1536x659.png 1536w, https:\/\/trueconf.com/blog\/wp-content\/uploads\/2019\/08\/en_4-453x194.png 453w\" sizes=\"auto, (max-width: 1700px) 100vw, 1700px\" \/><\/a><\/li>\n<\/ul>\n<h2 id=\"step2\" class=\"h4--main h4--thick black-text ui-mb-xs-3 ui-mt-md-1\">Step 2: Set up TrueConf Server<\/h2>\n<ul class=\"ui-list ui-list--medium\" style=\"margin-bottom: 18px;\">\n<li class=\"ui-list__item ui-list__item--num\">Go to the<a href=\"https:\/\/docs.trueconf.com\/server\/en\/admin\/web-config\/\" target=\"_blank\" rel=\"noopener\"> TrueConf Server control panel<\/a>.<\/li>\n<li class=\"ui-list__item ui-list__item--num\">In the<strong><a href=\"https:\/\/docs.trueconf.com\/server\/en\/admin\/web-config\/#sip-gateway\" target=\"_blank\" rel=\"noopener\"> Gateways\u2192 SIP <\/a><\/strong> section, click <strong>Add Configuration<\/strong>.<\/li>\n<li class=\"ui-list__item ui-list__item--num\">Choose manual configuration of SIP connection and click <strong>Create<\/strong>.<\/li>\n<\/ul>\n<ul class=\"ui-list ui-list--medium\" style=\"margin-bottom: 18px;\">\n<li class=\"ui-list__item ui-list__item--num\">To add a PBX connection rule fill in the form by entering:<\/li>\n<\/ul>\n<ul class=\"ui-list ui-list--medium\" style=\"margin-bottom: 18px;\">\n<li class=\"ui-list__item ui-list__item--disc\">Asterisk PBX address (e.g. asterisk.company.com) and its port in the <strong>Host <\/strong>and <strong>Port <\/strong>fields<\/li>\n<li class=\"ui-list__item ui-list__item--disc\"><strong>Trunk Name<\/strong> and <strong>Secret<\/strong> (password) from Step 1 in the <strong>Login<\/strong> and <strong>Password<\/strong> fields<\/li>\n<li class=\"ui-list__item ui-list__item--disc\">Select the <strong>permanent<\/strong> option in the <strong>Registration<\/strong> list<\/li>\n<li class=\"ui-list__item ui-list__item--disc\">Check <strong>Default SIP trunk<\/strong> and <strong>Default VoIP server<\/strong> boxes in the <strong>Role<\/strong> category.<\/li>\n<\/ul>\n<h2 id=\"step3\" class=\"h4--main h4--thick black-text ui-mb-xs-3 ui-mt-md-1\">Step 3: Call a PBX from TrueConf Client Application<\/h2>\n<p class=\"primary-medium-text ui-mb-sm-1\">By now, setup is complete, and you can call PBX subscribers <a href=\"https:\/\/docs.trueconf.com\/client\/en\/phone-call\/#phone-call-from-dialer\" target=\"_blank\" rel=\"noopener\">using the dialer in our application<\/a> or by finding a subscriber\u2019s number in the <a href=\"https:\/\/docs.trueconf.com\/client\/en\/address-book\/\" target=\"_blank\" rel=\"noopener\">address book<\/a>. Use the <a href=\"https:\/\/docs.trueconf.com\/server\/en\/user\/call-strings\/\" target=\"_blank\" rel=\"noopener\">call string<\/a> with <code>#sip:<\/code> and <code>#tel:<\/code> prefixes to identify PBX subscribers when administering the server (creating<a href=\"https:\/\/docs.trueconf.com\/server\/en\/admin\/web-config\/#aliases\" target=\"_blank\" rel=\"noopener\"> aliases<\/a>, requesting API, compiling the address book, etc.).<\/p>\n<p>PBX subscribers can call back, if the server connection rule was <a href=\"https:\/\/trueconf.com\/blog\/knowledge-base\/join-conferences-call-trueconf-users-regular-phone.html\" target=\"_blank\" rel=\"noopener\">added to PBX settings<\/a>.<\/p>\n<p class=\"primary-medium-text ui-mb-sm-1\"><a href=\"https:\/\/trueconf.com\/blog\/wp-content\/uploads\/2019\/08\/en_5.png\" data-rel=\"lightbox-gallery-Ko4rBILU\" data-rl_title=\"\" data-rl_caption=\"\" title=\"\" target=\"_blank\" rel=\"noopener\"><img decoding=\"async\" class=\"aligncenter wp-image-23120\" style=\"border: 1px solid #D1CCCC;\" src=\"https:\/\/trueconf.com\/blog\/wp-content\/uploads\/2019\/08\/en_5.png\" alt=\"\" width=\"1000\" height=\"640\" loading=\"lazy\" title=\"\" srcset=\"https:\/\/trueconf.com/blog\/wp-content\/uploads\/2019\/08\/en_5.png 1155w, https:\/\/trueconf.com/blog\/wp-content\/uploads\/2019\/08\/en_5-690x441.png 690w, https:\/\/trueconf.com/blog\/wp-content\/uploads\/2019\/08\/en_5-1024x655.png 1024w, https:\/\/trueconf.com/blog\/wp-content\/uploads\/2019\/08\/en_5-768x491.png 768w, https:\/\/trueconf.com/blog\/wp-content\/uploads\/2019\/08\/en_5-316x202.png 316w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>You can integrate your corporate SIP PBX into TrueConf Server via the built-in multi-protocol gateway. This guide will show you how to connect TrueConf Server with an Asterisk PBX (FreePBX 15 GUI). Step 1: Create a SIP Trunk on the Asterisk Side In the PBX control panel, go to Connectivity \u2192 Trunks. In the opened [&hellip;]<\/p>\n","protected":false},"author":45,"featured_media":7065,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"footnotes":""},"categories":[260],"tags":[240,186],"class_list":["post-7035","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-knowledge-base","tag-telephony-integration","tag-administration","wpautop"],"_links":{"self":[{"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/posts\/7035","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/users\/45"}],"replies":[{"embeddable":true,"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/comments?post=7035"}],"version-history":[{"count":41,"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/posts\/7035\/revisions"}],"predecessor-version":[{"id":40091,"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/posts\/7035\/revisions\/40091"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/media\/7065"}],"wp:attachment":[{"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/media?parent=7035"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/categories?post=7035"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/trueconf.com/blog\/wp-json\/wp\/v2\/tags?post=7035"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}