freePBX
2.2.1 on
192.168.1.102
Setup
Tools
Reports
Panel
Recordings
Apply Configuration Changes
You have made changes to the configuration that have not yet been applied. When you are finished making all changes, click on
Apply Configuration Changes
to put them into effect.
Language:
English
Français
Deutsch
Italiano
Español
Russki
Portuguese
Hebrew
Setup
Basic
Administrators
Extensions
Feature Codes
General Settings
Outbound Routes
Trunks
CID & Number Management
Caller Name Lookup Sources
Inbound Call Control
Inbound Routes
IVR
Misc Destinations
Ring Groups
Internal Options & Configuration
Music on Hold
System Recordings
WARNING: Javascript is disabled in your browser. The freePBX administration interface requires Javascript to run properly. Please enable javascript or switch to another browser that supports it.
Add Trunk
Trunk SIP/voys-voip
Edit SIP Trunk
Delete Trunk voys-voip
In use by 1 route
Route
001-Standard
: Sequence
1
General Settings
Outbound Caller ID
Caller ID for calls placed out on this trunk
Format:
"caller name" <#######>
. You can also use the magic string 'hidden' to hide the CallerID sent out over Digital lines ONLY (E1/T1/J1/BRI/SIP/IAX)
:
Never Override CallerID
Some VoIP providers will drop the call if you try to send an invalid CallerID (one you don't 'own.' Use this to never send a CallerID that you haven't explicitly specified in this trunk or in the outbound callerid field of an extension/user. You might notice this problem if you discover that Follow-Me or RingGroups with external numbers don't work properly. Checking this box has the effect of disabling 'foreign' callerids from going out this trunk
It's safe to leave this switched off
:
Maximum channels
Controls the maximum number of channels (simultaneous calls) that can be used on this trunk, including both incoming and outgoing calls. Leave blank to specify no maximum.
:
Outgoing Dial Rules
Dial Rules
A Dial Rule controls how calls will be dialed on this trunk. It can be used to add or remove prefixes. Numbers that don't match any patterns defined here will be dialed as-is. Note that a pattern without a + or | (to add or remove a prefix) will not make any changes but will create a match. Only the first matched rule will be executed and the remaining rules will not be acted on.
Rules:
X
matches any digit from 0-9
Z
matches any digit from 1-9
N
matches any digit from 2-9
[1237-9]
matches any digit or letter in the brackets (in this example, 1,2,3,7,8,9)
.
wildcard, matches one or more characters (not allowed before a | or +)
|
removes a dialing prefix from the number (for example, 613|NXXXXXX would match when some dialed "6135551234" but would only pass "5551234" to the trunk)
+
adds a dialing prefix from the number (for example, 1613+NXXXXXX would match when some dialed "5551234" and would pass "16135551234" to the trunk)
You can also use both + and |, for example: 011+0|1ZXXXXXXXXX would match "012555555555" and dial it as "0112555555555" Note that the order does not matter, eg. 0|011+1ZXXXXXXXXX does the same thing.
:
Dial rules wizards
Always dial with prefix
is useful for VoIP trunks, where if a number is dialed as "5551234", it can be converted to "16135551234".
Remove prefix from local numbers
is useful for ZAP trunks, where if a local number is dialed as "6135551234", it can be converted to "555-1234".
Lookup numbers for local trunk
This looks up your local number on www.localcallingguide.com (NA-only), and sets up so you can dial either 7 or 10 digits (regardless of what your PSTN is) on a local trunk (where you have to dial 1+areacode for long distance, but only 5551234 (7-digit dialing) or 6135551234 (10-digit dialing) for local calls
:
(pick one)
Always dial with prefix
Remove prefix from local numbers
Lookup numbers for local trunk (7-digit dialing)
Lookup numbers for local trunk (10-digit dialing)
Outbound Dial Prefix
The outbound dialing prefix is used to prefix a dialing string to all outbound calls placed on this trunk. For example, if this trunk is behind another PBX or is a Centrex line, then you would put 9 here to access an outbound line.
Most users should leave this option blank.
:
Outgoing Settings
Trunk Name
Give this trunk a unique name. Example: myiaxtel
:
PEER Details
Modify the default PEER connection parameters for your VoIP provider.
You may need to add to the default lines listed below, depending on your provider.
:
fromuser=<gebruikersnaam> username=<gebruikersnaam> secret=<wachtwoord> host=voip.voys.nl insecure=very nat=yes qualify=yes srvlookup=yes type=friend
Incoming Settings
USER Context
This is most often the account name or number your provider expects.
This USER Context will be used to define the below user details.
:
USER Details
Modify the default USER connection parameters for your VoIP provider.
You may need to add to the default lines listed below, depending on your provider.
:
fromuser=<gebruikersnaam> username=<gebruikersnaam> secret=<wachtwoord> host=voip.voys.nl nat=yes type=friend
Registration
Register String
Most VoIP providers require your system to REGISTER with theirs. Enter the registration line here.
example:
username:password@switch.voipprovider.com.
Many providers will require you to provide a DID number, ex: username:password@switch.voipprovider.com/didnumber in order for any DID matching to work.
: