User Tools

Site Tools


voice:pbx:freepbx_config

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
voice:pbx:freepbx_config [2013/09/24 16:11]
gcooper
— (current)
Line 1: Line 1:
-====== FreePBX Configuration ====== 
  
-FIXME 
- 
-FreePBX is an Asterisk management system with a web interface. 
- 
-See also: **[[voice:pbx:freepbx_distro|FreePBX Distro]]** 
- 
-See also: **[[voice:pbx:freepbx_scratch|Build a PBX from Scratch Using CentOS 6, Asterisk and FreePBX]]** 
- 
-See also: **[[voice:pbx:freepbx_epm|FreePBX Endpoint Manager]]** 
- 
-===== First Steps ===== 
- 
-http://www.freepbx.org/support/documentation/installation/first-steps-after-installation 
- 
-===== Add-On Modules ===== 
- 
-FreePBX offers numerous add-on modules. 
- 
-  * You probably don't want or need to install them all 
-    * Simpler user interface 
-    * Enhanced security 
-  * If you are looking for a feature and don't find it 
-    * **FreePBX -> Admin -> Module Admin -> Check Online** 
- 
-Commonly installed modules: 
- 
-  * Backup & Restore 
-  * Ring Groups 
-  * IVR 
-  * Time Conditions 
- 
-===== NAT ===== 
- 
-:!: These settings are traditionally found in ''/etc/asterisk/sip_nat.conf'' but newer FreePBX systems may have them in ''/etc/asterisk/sip_general_additional.conf'' where they are managed by the FreePBX web interface. 
- 
-<file> 
-/etc/asterisk/sip_nat.conf 
- 
-localnet=192.168.2.0/255.255.255.0 
-externhost=sol.familycooper.org 
-externrefresh=10 
-fromdomain=familycooper.org 
-nat=yes 
-qualify=yes 
-canreinvite=no 
- 
-asterisk -rx reload 
-</file> 
- 
-===== Send E-Mail ===== 
- 
-If you have **Postfix** installed, it's easy to use that: 
- 
-See also **[[networking:linux:postfix_smarthost|Postfix Authenticated Smarthost]]** 
- 
-If you don't have another MTA installed, **SSMTP** is a simple alternative: 
- 
-See also **[[networking:linux:ssmtp|SSMTP]]** 
- 
-Send mail without installing a full mailserver: 
- 
-<file> 
-vim /etc/ssmtp/ssmtp.conf 
-</file> 
- 
-<file> 
-# Config file for [[sSMTP]] sendmail 
-# 
-# The person who gets all mail for userids < 1000 
-# Make this empty to disable rewriting. 
-root=you@your.domain 
- 
-# The place where the mail goes. The actual machine name is required no  
-# MX records are consulted. Commonly mailhosts are named mail.domain.com. 
-# This example shows SSL on port 465. 
-mailhub=<your.mail.server>:465 
- 
-# Where will the mail seem to come from? 
-rewriteDomain=your.domain 
- 
-# The full hostname 
-hostname=<your.sending.hostname> 
- 
-# Are users allowed to set their own From: address? 
-# YES - Allow the user to specify their own From: address 
-# NO - Use the system generated From: address 
-#FromLineOverride=YES 
- 
-AuthUser=<smtpusername> 
-AuthPass=<smtpuserpassword> 
-UseTLS=YES 
-</file> 
- 
-===== Trunks ===== 
- 
-http://www.freepbx.org/support/documentation/howtos/howto-route-dial-patterns-and-trunk-dial-rules 
- 
-http://www.inphonex.com/support/trixbox-configuration-v2.6.1.1.php 
- 
-==== InPhonex ==== 
- 
-Trunk Description: InPhonex 
-Outbound Caller ID: 5201231234 
- 
-Dial Rules only modify dial strings.  Use '+' to add or '|' to remove digits:  
- 
-1520+NXXXXXX 
-1+NXXNXXXXXX 
- 
-Trunk Name: inphonex-outbound 
-Peer Details:  
- 
-type=peer 
-insecure=very 
-host=sip.inphonex.com 
-username=yourinphonexusername 
-secret=yourinphonexpassword 
-qualify=yes 
-sendrpid=yes 
-context=from-pstn 
-fromuser=yourinphonexusername 
-fromdomain=sip.inphonex.com 
-canreinvite=no 
- 
-User Context: inphonex-inbound 
- 
-User Details: 
- 
-type=friend 
-context=from-pstn 
-username=yourinphonexusername 
-user=yourinphonexusername 
-insecure=very 
-host=sip.inphonex.com 
-fromdomain=sip.inphonex.com 
- 
-Registration String: 
- 
-yourinphonexusername:yourinphonexpassword@sip.inphonex.com/yourinphonexusername 
- 
-==== Vitelity ==== 
- 
-Trunk Description: Vitelity 
-Outbound Caller ID: 5201231234 
- 
-Dial Rules only modify dial strings.  Use '+' to add or '|' to remove digits:  
- 
-1520+NXXXXXX 
-1+NXXNXXXXXX 
- 
-Trunk Name: vitelity-outbound 
-Peer Details:  
- 
-type=friend 
-dtmfmode=auto 
-host=outbound.vitelity.net 
-username=yourvitelityusername 
-fromuser=yourvitelityusername 
-trustrpid=yes 
-sendrpid=yes 
-secret=yourvitelitypassword 
-allow=all 
-canreinvite=no 
- 
-User Context: vitelity-inbound 
- 
-User Details: 
- 
-type=friend 
-dtmfmode=auto 
-host=inbound23.vitelity.net 
-context=inbound 
-username=yourvitelityusername 
-secret=yourvitelitypassword 
-allow=all 
-insecure=very 
-canreinvite=no 
- 
-Registration String: 
- 
-yourvitelityusername:yourvitelitypassword@inbound23.vitelity.net:5060 
- 
-===== Outbound Routes ===== 
- 
-Route Name: Default 
-Emergency: enabled 
-Dial Patterns: 
- 
-011. 
-1NXXNXXXXXX 
-NXXNXXXXXX 
-NXXXXXX 
- 
-Pick a trunk or two. 
- 
-**Inbound Routes** 
- 
-Route Name: Default 
-Set Destination:  
voice/pbx/freepbx_config.1380060683.txt.gz · Last modified: 2013/09/24 16:11 by gcooper