HTML |
---|
<p>These instructions should assist in configuring your Asterisk PBX to
work with TIM Enterprise. If you are not familiar with PBX
configuration, please contact your system maintainer.</p>
<table class="confluenceTable">
<tbody>
<tr>
<th class="confluenceTh" width=158>Connection information</th>
<th class="confluenceTh">Description</th>
</tr>
<tr>
<td class="confluenceTd"><b>Connection type</b></td>
<td class="confluenceTd">IP</td>
</tr>
<tr>
<td class="confluenceTd"><b>IP method</b></td>
<td class="confluenceTd">TIM Enterprise makes a connection to the Asterisk PBX.</td>
</tr>
</tbody>
</table>
<p>You will need to follow the below steps to enable CDR to be sent out via IP on your Asterisk PBX:</p>
<ul id="table">
<li>Enter the <span class="reference">Server Setup System</span>.</li>
<li>Under the <span class="button no_margin">Advanced</span> section select to edit the <span class="keyword">manager_custom.conf</span>.</li>
<li>Add the following lines to the file: <span class="keyword">
<div style="border-width: 1px; width: 1140px;" class="code panel"><div class="codeContent panelContent">
<div><div class="syntaxhighlighter nogutter java" id="highlighter_564258"><div class="toolbar"><span><a class="toolbar_item command_help help" href="#">?</a></span></div><table cellspacing="0" cellpadding="0" border="0"><tbody><tr><td class="code"><div title="Hint: double-click to select code" class="container"><div class="line number1 index0 alt2"><code class="java plain">[CDRout]secret = cdrdeny = </code><code class="java value">0.0</code><code class="java plain">.</code><code class="java value">0.0</code><code class="java plain">/</code><code class="java value">0.0</code><code class="java plain">.</code><code class="java value">0</code><code class="java plain">.0permit = </code><code class="java value">10.0</code><code class="java plain">.</code><code class="java value">0.0</code><code class="java plain">/</code><code class="java value">255.0</code><code class="java plain">.</code><code class="java value">0</code><code class="java plain">.0permit = </code><code class="java value">192.168</code><code class="java plain">.</code><code class="java value">0.0</code><code class="java plain">/</code><code class="java value">255.255</code><code class="java plain">.</code><code class="java value">0</code><code class="java plain">.0permit = </code><code class="java value">212.57</code><code class="java plain">.</code><code class="java value">232.128</code><code class="java plain">/</code><code class="java value">255.255</code><code class="java plain">.</code><code class="java value">255</code><code class="java plain">.128read = callwrite =</code></div></div></td></tr></tbody></table></div></div>
</div></div>
</li>
<li>Click <span class="button no_margin">Edit</span> to confirm the change.</li>
</ul>
<p>Once you have completed the changes, you will need to restart the Asterisk for the changes to take effect.</p>
<h2>Configuring TIM Enterprise</h2>
<p>Below you will find steps on how to configure TIM Enterprise to listen for SMDR data from your Asterisk:</p>
<ol>
<li>Browse to TIM Enterprise as normal and login with your credentials.</li>
<li>Click on the <span class="button no_margin">Directory</span> tab.</li>
<li>Go the the point in the Directory where you need to add the PBX Object and add a PBX with the name 'Asterisk'.</li>
<li>Left-click on it and select <span class="button no_margin">Properties</span>.</li>
<li>From the <span class="button no_margin">General</span> settings tab select <span class="keyword">Asterisk</span> from the PBX model list.</li>
<img class="screenshot border" src="http://www.tri-line.com/common/img/documentation/tim_enterprise/pbx/asterisk_1.png" alt="Asterisk" />
<li>In the <span class="button no_margin">Connection</span> tab select <span class="keyword">Establish TCP Connection to PBX</span> from the <span class="reference">Connection method</span> list.</li>
<li>In the <span class="reference">Host</span> field enter in the IP address of your Asterisk.</li>
<li>In the <span class="reference">Port</span> field enter in <span class="keyword">5038</span>.</li>
<li>In the <span class="reference">Username</span> field enter in <span class="keyword">CDRout</span>.</li>
<li>In the <span class="reference">Password</span> field enter in <span class="keyword">cdr</span>.</li>
<li>In the <span class="reference">IP script</span> field select <span class="keyword">Asterisk</span>.</li>
<li>Finally, click on the <span class="button no_margin">Save</span> button.</li>
<img class="screenshot border" src="http://www.tri-line.com/common/img/documentation/tim_enterprise/pbx/asterisk_2.png" alt="Asterisk" />
</ol> |
Code Block |
---|
|
[CDRout]secret = cdrdeny = 0.0.0.0/0.0.0.0permit = 10.0.0.0/255.0.0.0permit = 192.168.0.0/255.255.0.0permit = 212.57.232.128/255.255.255.128read = callwrite = |
Asterisk is, in fact, a communications toolkit. Not a ready-to-go PBX. It has a lot of functionality that someone needs to craft into something. That something most often happens to be a PBX, but it doesn’t have to be a PBX. It can be contact center software, an automated call distributor, a voicemail system, a video mail system, an IP-PBX, or so much more. Someone could even add their own IoT hooks to it to turn it into some other kind of communication system. (For full details, see https://www.sangoma.com/products/open-source/). |
---|
These instructions help you configure your Asterisk phone system to work with TIM Enterprise. Contact your system maintainer if you are not familiar with or need assistance with the configuration of your PBX.
Pbxsummary |
---|
Supportfiles1 | Asterisk.TDT |
---|
Supportfiles2 | Asterisk.TDS |
---|
Connection | Active connection |
---|
RequiredTask1 | Configure the SMDR output |
---|
RequiredTask2 | Configure TIM Enterprise |
---|
|
Configuring your SMDR output
Follow the steps below to enable the SMDR output on your Asterisk phone system:
- Enter the Server Setup System.
- Under the Advanced section, edit the manager_custom.conf file.
Add the following lines to the file:
Code Block |
---|
|
[CDRout]
secret =
cdrdeny = 0.0.0.0/0.0.0.0
permit = 10.0.0.0/255.0.0.0
permit = 192.168.0.0/255.255.0.0
permit = 212.57.232.128/255.255.255.128
read =
write = |
- Verify and save the changes.
HTML |
---|
<a id="Configure TIM Enterprise"></a> |
Configuring TIM Enterprise
Follow the steps below to configure TIM Enterprise to collect the SMDR data from your Asterisk phone system:
- Click on the Directory tab.
- Locate the PBX object you want to configure in the Directory, right-click on it and select Properties.
- A new window will open, displaying the general properties of your PBX object. Select Asterisk from the Data format list and tick the
Keywordmacro |
---|
Label | Keep a local backup of data |
---|
|
box, as shown below:
Screenshotmacro |
---|
Border | false |
---|
URL | /download/attachments/3407878/asterisk_1.png |
---|
|
- Click on the Connection tab and select Establish TCP connection to PBX from the Connection method list.
- In the Host field, enter the IP address of your Asterisk phone system.
- In the Port field, enter 5038.
- In the Username and Password fields, enter your username and password accordingly.
- In the IP script field, select Asterisk from the drop-down list.
- Click on the Save button to apply the changes.
Screenshotmacro |
---|
Border | false |
---|
URL | /download/attachments/3407878/asterisk_2.png |
---|
|