Apply Configuration Changes

Reloading will apply all configuration changes made in FreePBX to your PBX engine and make them active.
  • Accept Continue with reload
  • Cancel Cancel reload and go back to editing

Please wait, reloading..

Loading...
FreePBX
FreePBX 2.3.1.3 on iPBX
  • Admin
  • Reports
  • Panel
  • Recordings
  • Help
  •  
Logged in: admin (Logout) 
  • Setup
  • Tools
  • Admin
  • FreePBX System Status
  • Module Admin
  • Basic
  • Administrators
  • Extensions
  • Feature Codes
  • General Settings
  • Outbound Routes
  • Trunks
  • Inbound Call Control
  • Inbound Routes
  • Announcements
  • Blacklist
  • CallerID Lookup Sources
  • Day/Night Control
  • Follow Me
  • IVR
  • Queues
  • Ring Groups
  • Time Conditions
  • Internal Options & Configuration
  • Callback
  • Conferences
  • DISA
  • Misc Applications
  • Misc Destinations
  • Music on Hold
  • PIN Sets
  • Paging and Intercom
  • Parking Lot
  • System Recordings
  • Admin
  • FreePBX System Status
  • Module Admin
  • Support
  • Asterisk Logfiles
  • Online Support
  • FreePBX Support
  • System Administration
  • Asterisk API
  • Asterisk CLI
  • Asterisk Info
  • Asterisk Phonebook
  • Backup & Restore
  • Java SSH
  • PHP Info
  • PHPAGI Config
  • Third Party Addon
  • Customer DB
  • Gabcast
  • Inventory
  • Print Extensions
         
  • Add Trunk
  • Trunk ZAP/g0
  • Trunk SIP/adamvozip-1

Edit SIP Trunk

Delete Trunk adamvozip-10XXXX

In use by 1 routeRoute 1: Sequence 001-adamvozip


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. You must define an Outbound Caller ID on the this trunk when checking this.

:
Maximum channelsControls the maximum number of outbound channels (simultaneous calls) that can be used on this trunk. To count inbound calls against this maximum, use the auto-generated context: from-trunk-adamvozip-10XXXX as the inbound trunk's context. (see extensions_additional.conf) Leave blank to specify no maximum.:
Disable TrunkCheck this to disable this trunk in all routes where it is used.: Disable
Monitor Trunk FailuresIf checked, supply the name of a custom AGI Script that will be called to report, log, email or otherwise take some action on trunk failures that are not caused by either NOANSWER or CANCEL.: Enable

Outgoing Dial Rules

Dial RulesA 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: 01+0|1ZXXXXXXXXX would match "016065551234" and dial it as "0116065551234" Note that the order does not matter, eg. 0|01+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
:
  
Outbound Dial PrefixThe 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. Another common use is to prefix calls with 'w' on a POTS line that need time to obtain dialtone to avoid eating digits.

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.

:

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.

:

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.

: