To connect two systems over a SIP/IAX trunk, set up a provider and trunk on System1, and an Extension on System2. When this setup is done, System1 will be able to dial System2.
SYSTEM1: - Login to the system administration
- Create a new 'system' provider under 'Settings: Providers' if the one doesn't exist
- Navigate to 'Settings: Providers: Add Custom Provider'
- Set 'Type'='VOIP'
- Set 'Protocol'='IAX'
- Set 'Name'='System2'
- Set 'User Type'='Friend'
- Set 'DTMF Mode'='rfc2833'
- Set the appropriate 'Country' where the remote System2 is located (e.g. United Kingdom)
- Set the appropriate 'National dialing code' for the country where the remote System2 is located(0)
- Set 'Leave National Code'='No'
- Set the appropriate 'International dialing code' for the country where remote System2 is located(00)
- Set 'Local Area Code'='No'
- Set remote System2 IP address under 'Host' field
- Set 'Register'='With Username'
- Set 'Auth Method'='md5'
- Set preferred codecs(e.g. G.711u, G.711a)
- Click 'Save'
- Create new 'System2' trunk
- Navigate to 'Settings: Trunks: Add Trunk'
- Select 'Provider'='System2' and click 'Next'
- Click on 'Advanced Option'
- Set 'Name or Number' for the trunk (e.g. London1)
- Set 'Qualify'='2500'
- Set 'Incoming Limit'='10'
- Set 'Outgoing Limit'='10'
- Set 'Username'='5555'
- Set 'Secret'='5555'
- Click 'Save'
SYSTEM2:
- Login to the system administration
- Activate the 'Generic IAX' extension
- Navigate to 'Settings: UAD'
- Edit 'Generic IAX' extension
- Set 'Status'='Active'
- Click 'Save'
- Create new 'Generic IAX' extension
- Navigate to 'Extensions: System: 'Add Extension'
- Set 'UAD'='Generic IAX'
- Set 'Location'='Remote'
- Click 'Next'
- Set 'Extension'='5555' (as in System1: Trunks: System2: Username')
- Set 'Name'='System1'
- Set 'E-mail' to your email address
- Set 'Secret'='5555' (as in System1: Trunks: System: Secret')
- Set 'PIN'='5555'
- Click 'Save'
PLACING CALLS THROUGH A TRUNK There are three ways to make a call using a trunk:
- Using System Default Trunks
- Navigate to 'System: Default Trunks'
- Set 'Primary Trunk'='System2'
- Click 'Save'
- Any 'Proper/Mobile' number dialed on the system will go through 'System2' trunk
- Using 'Extension Default Trunks'
- Navigate to 'Extensions: Edit: Advanced Options'
- Set 'Primary Trunk'='System2'
- Click 'Save'
- Any 'Proper/Mobile' number dialed by the edited extension will go through 'System2' trunk
- Using 'Other Network Prefix'
- Navigate to 'System: Servers: Edit: Other Networks'
- Set 'Mode'='With Access Code'
- Click 'Save'
- Click 'Add Network'
- Set 'Name'='System2'
- Set 'Prefix'='8'
- Select 'Trunk'='System2'
- Click 'Save'
- Any 'Proper/Mobile' number dialed on the system will go through 'System2' trunk
To place a call through the 'Other Network' with the above settings, dial *188 + 8 +$System2EXTENSION (e.g. *18881005) where 1005 is an extension on System2 To enable calls from System2 to System1, just reverse the above settings (create a trunk on System2 and Extension on System1).
|