[ SDF Public Access UNIX System .. Est. 1987 ]

join welcome faq status members projects store tour gopher abuse dialup minecraft social
tilde nihongo europa webmail gallery usermap irc tutorials telnet git ssh

Using FreePBX with SDF VOIP

This tutorial shows how to add your SDF VOIP extension as a trunk in FreePBX.

Prerequisites

Procedure

In the admin interface follow these steps, replacing $EXTENSION and $PASSWORD with your extension number and password respectively:

  1. Go to Connectivity » Trunks
  2. Select Add Trunk and choose Add SIP (chan_sip) trunk
  3. Set Trunk Name to sdf
  4. Set Outbound Caller ID to <$EXTENSION@sip.sdf.org>
  5. Set CID Options to Force Trunk CID
  6. Go to the sip Settings tab
  7. Set Trunk Name to SDF
  8. Set peer details to:
    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
  9. Go to the Incoming tab
  10. Set Register String to $EXTENSION:$PASSWORD@sip.sdf.org
  11. Click Submit

You can now define Inbound and Outbound routes using this new trunk. To test inbound calls, you can queue a test call through maint.

If you have an incoming DID through SDF, just a note that the SDF's system does not pass FROM_DID=. If you would like to route your call through a specific incoming route by DID, then add the DID after the registration string. For example: $EXTENSION:$PASSWORD@sip.sdf.org/$DID You can add the 11 or 10 digit number, just make sure it matches exactly to what you want in the incoming route.
$Id: sdf_voip_freepbx.html,v 1.5 2021/04/18 20:43:44 lokiwho Exp $


©1987-2065 SDF Public Access UNIX System, Inc. 501(c)(7)
(this page was generated using ksh, sed and awk)