User Tools

Site Tools


voice:pbx:freepbx:freepbx_config

Differences

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

Link to this comparison view

Next revision
Previous revision
voice:pbx:freepbx:freepbx_config [2013/10/05 18:51]
127.0.0.1 external edit
voice:pbx:freepbx:freepbx_config [2021/12/03 11:15] (current)
gcooper
Line 1: Line 1:
 ====== FreePBX Configuration ====== ====== FreePBX Configuration ======
 +
 +https://wiki.freepbx.org/display/FPG/Configuring+Your+PBX
 +
 +FIXME Incomplete
  
 FreePBX is an Asterisk management system with a web interface. FreePBX is an Asterisk management system with a web interface.
Line 207: Line 211:
 http://www.freepbx.org/support/documentation/howtos/howto-route-dial-patterns-and-trunk-dial-rules 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+==== Vitelity ====
  
-==== InPhonex ====+:!: Add separate inbound and outbound trunks.
  
-Trunk Description: InPhonex +=== Inbound ===
-Outbound Caller ID: 5201231234+
  
-Dial Rules only modify dial strings.  Use '+' to add or '|' to remove digits+https://portal.vitelity.net/support/amp.php?trunk=inbound&protocol=sip
  
-1520+NXXXXXX +== General Settings ==
-1+NXXNXXXXXX+
  
-Trunk Name: inphonex-outbound +|Trunk Name         |''vitel-inbound''          | 
-Peer Details: +|Outbound Caller ID |''Your Name <5201231234>'' |
  
-type=peer +== Outgoing Settings ==
-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+|Trunk Name         |''vitel-inbound''          |
  
-User Details:+== Peer Details ==
  
 +<file>
 type=friend type=friend
-context=from-pstn +dtmfmode=auto 
-username=yourinphonexusername +username=yourvitelityusername 
-user=yourinphonexusername +secret=yourvitelitypassword 
-insecure=very +context=from-trunk 
-host=sip.inphonex.com +insecure=port,invite 
-fromdomain=sip.inphonex.com+canreinvite=no 
 +host=inbound23.vitelity.net 
 +</file>
  
-Registration String:+== Registration String ==
  
-yourinphonexusername:yourinphonexpassword@sip.inphonex.com/yourinphonexusername+<file> 
 +yourvitelityusername:yourvitelitypassword@inbound23.vitelity.net:5060 
 +</file>
  
-==== Vitelity ====+=== Outbound ===
  
-Trunk DescriptionVitelity +https://portal.vitelity.net/support/amp.php?trunk=outbound&protocol=sip
-Outbound Caller ID: 5201231234+
  
-Dial Rules only modify dial strings.  Use '+' to add or '|' to remove digits: +== General Settings ==
  
-1520+NXXXXXX +|Trunk Name         |''vitel-outbound''        | 
-1+NXXNXXXXXX+|Outbound Caller ID |''Your Name <5201231234>''
 +|Maximum Channels   |Set to the number of simultaneous calls you expect on a regular basis. | 
 + 
 +== Dialed Number Manipulation Rules == 
 + 
 +:!: These dial rules only modify dial strings. 
 + 
 +:!: Prefix digits are stripped. Prepend digits are added to the dialed digits. 
 + 
 +:!: Vitelity requires 11 digits (1 + area code). 
 + 
 +<file> 
 +1520 +   |NXXXXXX 
 +     |NXXNXXXXXX 
 +</file> 
 + 
 +== Outgoing Settings == 
 + 
 +|Trunk Name   |''vitel-outbound'' |
  
-Trunk Name: vitelity-outbound 
 Peer Details:  Peer Details: 
  
 +<file>
 type=friend type=friend
 dtmfmode=auto dtmfmode=auto
-host=outbound.vitelity.net 
 username=yourvitelityusername username=yourvitelityusername
 +secret=yourvitelitypassword
 fromuser=yourvitelityusername fromuser=yourvitelityusername
 trustrpid=yes trustrpid=yes
 sendrpid=yes sendrpid=yes
-secret=yourvitelitypassword 
-allow=all 
 canreinvite=no canreinvite=no
 +host=outbound.vitelity.net
 +</file>
  
-User Context: vitelity-inbound+== Registration ==
  
-User Details:+:!: If your PBX will use IP Routing (recommended by Vitelity), do not enter a registration string.
  
-type=friend +:!: If your PBX is behind a dynamic IP address (which changes occasionally), you do need a registration string since you can't use IP routing.
-dtmfmode=auto +
-host=inbound23.vitelity.net +
-context=inbound +
-username=yourvitelityusername +
-secret=yourvitelitypassword +
-allow=all +
-insecure=very +
-canreinvite=no+
  
 Registration String: Registration String:
  
 +<file>
 yourvitelityusername:yourvitelitypassword@inbound23.vitelity.net:5060 yourvitelityusername:yourvitelitypassword@inbound23.vitelity.net:5060
 +</file>
  
-===== Outbound Routes =====+===== Routes =====
  
-Route Name: Default +==== Inbound ====
-Emergency: enabled +
-Dial Patterns:+
  
-011. +|Description     |''Default''   | 
-1NXXNXXXXXX +|DID Number      |The called number; usually your account number 
-NXXNXXXXXX +|Set Destination |Usually an extension, ring group or IVR | 
-NXXXXXX+ 
 +==== Outbound ==== 
 + 
 +|Route Name  |''Default''    | 
 +|Emergency   |Enabled if this route is used to call 911 | 
 + 
 +=== Dial Patterns === 
 + 
 +  * ''International'' 
 +  * ''Long distance'' 
 +  * ''Long distance (no 1)'' 
 +  * ''Local'' 
 +  * ''Emergency'' (only if e911 service is on this trunk) 
 + 
 +<file> 
 +    +    |011. 
 +       |1NXXNXXXXXX 
 +       |NXXNXXXXXX 
 +       |NXXXXXX 
 +    +    |911 
 +</file>
  
-Pick a trunk or two.+=== Trunk Sequence for Matched Routes ===
  
-**Inbound Routes**+Pick a trunk or two (vitel-outbound).
  
-Route Name: Default 
-Set Destination:  
voice/pbx/freepbx/freepbx_config.1381020694.txt.gz · Last modified: 2014/02/28 08:48 (external edit)