You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

51 lines
1.5 KiB

<h1>Using FreePBX with SDF VOIP</h1>
<p>This tutorial shows how to add your SDF VOIP extension as a trunk
in <a href="https://www.freepbx.org/">FreePBX</a>.</p>
<h2>Prerequisites</h2>
<ul>
<li>A working FreePBX setup</li>
<li>Access to the FreePBX admin interface</li>
</ul>
<h2>Procedure</h2>
<p>In the admin interface follow these steps, replacing <code>$EXTENSION</code>
and <code>$PASSWORD</code> with your extension number and password
respectively:</p>
<ol>
<li>Go to <i>Connectivity</i> &raquo; <i>Trunks</i></li>
<li>Select <i>Add Trunk</i> and choose <i>Add SIP (chan_sip) trunk</i></li>
<li>Set <i>Trunk Name</i> to <code>sdf</code></li>
<li>Set <i>Outbound Caller ID</i> to <code>&lt;$EXTENSION@sip.sdf.org&gt;</code></li>
<li>Set <i>CID Options</i> to <i>Force Trunk CID</i></li>
<li>Go to the <i>sip Settings</i> tab</li>
<li>Set <i>Trunk Name</i> to <code>SDF</code></li>
<li>Set peer details to:
<pre>host=sip.sdf.org
username=$EXTENSION
secret=$PASSWORD
type=friend
context=from-trunk
insecure=port,invite
trustrpid=yes
sendrpid=yes
directmedia=no
qualify=yes
keepalive=45
nat=yes
dtmfmode=rfc2833
disallow=all
allow=ulaw</pre></li>
<li>Go to the <i>Incoming</i> tab</li>
<li>Set <i>Register String</i> to <code>$EXTENSION:$PASSWORD@sip.sdf.org</code></li>
<li>Click <i>Submit</i></li>
</ol>
<p>You can now define Inbound and Outbound routes using this new trunk. To test
inbound calls, you can queue a test call through <code>maint</code>.</p>
$Id: sdf_voip_freepbx.html,v 1.2 2017/11/07 12:49:54 irl Exp $