This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
voice:pbx:freepbx_config [2012/10/21 16:17] gcooper |
— (current) | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== FreePBX Configuration ====== | ||
- | |||
- | FIXME | ||
- | |||
- | FreePBX is an Asterisk management system with a web interface. | ||
- | |||
- | [[voice: | ||
- | |||
- | [[voice: | ||
- | |||
- | ===== 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 ===== | ||
- | |||
- | < | ||
- | / | ||
- | |||
- | localnet=192.168.2.0/ | ||
- | externhost=sol.familycooper.org | ||
- | externrefresh=10 | ||
- | fromdomain=familycooper.org | ||
- | nat=yes | ||
- | qualify=yes | ||
- | canreinvite=no | ||
- | |||
- | asterisk -rx reload | ||
- | </ | ||
- | |||
- | ===== Send E-Mail ===== | ||
- | |||
- | [[networking: | ||
- | |||
- | Send mail without installing a full mailserver: | ||
- | |||
- | < | ||
- | vim / | ||
- | </ | ||
- | |||
- | < | ||
- | # Config file for [[sSMTP]] sendmail | ||
- | # | ||
- | # The person who gets all mail for userids < 1000 | ||
- | # Make this empty to disable rewriting. | ||
- | root=gcooper@familycooper.org | ||
- | |||
- | # The place where the mail goes. The actual machine name is required no | ||
- | # MX records are consulted. Commonly mailhosts are named mail.domain.com | ||
- | mailhub=www.sonoracomm.com: | ||
- | |||
- | # Where will the mail seem to come from? | ||
- | rewriteDomain=familycooper.org | ||
- | |||
- | # The full hostname | ||
- | hostname=sol.familycooper.org | ||
- | |||
- | # 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 | ||
- | # | ||
- | |||
- | AuthUser=smtp | ||
- | AuthPass=pill9gale | ||
- | UseTLS=YES | ||
- | </ | ||
- | |||
- | ===== Trunks ===== | ||
- | |||
- | http:// | ||
- | |||
- | http:// | ||
- | |||
- | ==== InPhonex ==== | ||
- | |||
- | Trunk Description: | ||
- | Outbound Caller ID: 5203314175 | ||
- | |||
- | Dial Rules only modify dial strings. | ||
- | |||
- | 1520+NXXXXXX | ||
- | 1+NXXNXXXXXX | ||
- | |||
- | Trunk Name: inphonex-outbound | ||
- | Peer Details: | ||
- | |||
- | type=peer | ||
- | insecure=very | ||
- | host=sip.inphonex.com | ||
- | username=6611293 | ||
- | secret=105700 | ||
- | qualify=yes | ||
- | sendrpid=yes | ||
- | context=from-pstn | ||
- | fromuser=6611293 | ||
- | fromdomain=sip.inphonex.com | ||
- | canreinvite=no | ||
- | |||
- | User Context: inphonex-inbound | ||
- | |||
- | User Details: | ||
- | |||
- | type=friend | ||
- | context=from-pstn | ||
- | username=6611293 | ||
- | user=6611293 | ||
- | insecure=very | ||
- | host=sip.inphonex.com | ||
- | fromdomain=sip.inphonex.com | ||
- | |||
- | Registration String: | ||
- | |||
- | 6611293: | ||
- | |||
- | ==== Vitelity ==== | ||
- | |||
- | Trunk Description: | ||
- | Outbound Caller ID: 5203314175 | ||
- | |||
- | Dial Rules only modify dial strings. | ||
- | |||
- | 1520+NXXXXXX | ||
- | 1+NXXNXXXXXX | ||
- | |||
- | Trunk Name: vitelity-outbound | ||
- | Peer Details: | ||
- | |||
- | type=friend | ||
- | dtmfmode=auto | ||
- | host=outbound.vitelity.net | ||
- | username=sonoracomm | ||
- | fromuser=sonoracomm | ||
- | trustrpid=yes | ||
- | sendrpid=yes | ||
- | secret=S0noraComM | ||
- | allow=all | ||
- | canreinvite=no | ||
- | |||
- | User Context: vitelity-inbound | ||
- | |||
- | User Details: | ||
- | |||
- | type=friend | ||
- | dtmfmode=auto | ||
- | host=inbound23.vitelity.net | ||
- | context=inbound | ||
- | username=sonoracomm | ||
- | secret=S0noraComM | ||
- | allow=all | ||
- | insecure=very | ||
- | canreinvite=no | ||
- | |||
- | Registration String: | ||
- | |||
- | sonoracomm: | ||
- | |||
- | ===== 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: | ||
- | |||
- | ===== Endpoint Manager ===== | ||
- | |||
- | http:// | ||
- | |||
- | * DHCP option 66, or | ||
- | * Configure each phone for TFTP server address | ||
- | |||
- | < | ||
- | chown .asterisk /tftpboot | ||
- | chmod 775 /tftpboot | ||
- | </ | ||
- | |||