Upload
others
View
6
Download
0
Embed Size (px)
Citation preview
ScopTELTM IP PBX Software
ScopTELTM IP PBX Software
Mediatrix Analog Gateway Configuration
ScopTELTM IP PBX Software
2 2
FXO Port Background
FXO interfaces
• Also known as POTS line (Plain Old Telephone Service)
• Also known as 1fl (1 family line)
• Each FXO line can support one conversation between two parties (Tx and Rx (Transmit and Receive))
• Most business use ‘equivalent lines’ placed into an equivalent group ordered from the phone company AKA Telco.
• Sometimes these equivalent groups are referred to as:
• Rotary group
• Hunt group
• The first line or ‘pilot’ in the equivalent group is usually referred to as the BTN (Billing Telephone Number)
• If additional lines are added to the pilot in a group then they are programmed by the Telco in a forward on busy
configuration.
• Example:
• 555-1234 (BTN) forward busy to
• 555-2234 forward busy to
• 555-3234 forward busy to
• 555-4234 Busy (since this is the last number in this 4 FXO equivalency group)
• Usually an inbound Caller ID service is ordered separately for each 1fl at an additional cost
• Variants of FXO interfaces include:
• Loop Start (ScopTEL/Mediatrix)
• Ground Start (Legacy PBX’s)
ScopTELTM IP PBX Software
3 3
FXS Ports Disconnect Supervision
FXO/FXS interfaces – Disconnect Supervision
Disconnect supervision is a term in telephony describing signaling between the telephone exchange and a connected
party used to indicate that the connected call is being disconnected. Without this Telco option FXO ports can get hung
indefinitely on the PBX. It only applies to Loop Start circuits (not Ground Start).
CPC (Calling Party Control)
• Is a signal sent from most modern electronic COs to indicate that the "Calling Party" has hung up. North American Central
Office Switches use the OSI (Open Switch Interval) to signal the PBX’s FXO port that the Calling Party has hung up.
• The OSI is a break in loop voltage (0VDC), typically for 800ms. If the PBX’s FXO port can support the Open Switch
Interval it will free up the FXO port.
Battery Reversal
• Instead of an open loop for 800ms, the DC talk battery gets reversed for 500ms.
• Battery Reversal is still used in some countries however no FCC registered telephone equipment would recognize a
battery reversal, since the FCC requires that telephones operate correctly on either polarity. Therefore Battery Reversal
would simply be ignored.
Supervisory Disconnect Tone
• Some Telco’s send a Supervisory Disconnect Tone when the Calling Party hangs up. If the PBX’s FXO port can support
the Supervisory Disconnect Tone it will free up the FXO port.
Basic Test:
• If you have a Butt-set with a polarity light that's on all of the time while you're talking or you can hold the polarity test
button while listening, you can watch the polarity LED. Make a call to your cell phone, hang-up the cell phone, and watch
the polarity LED on your Butt-set. When there's an open loop, there's no voltage, and there's no electricity to light the
LED. You can also listen for the Supervisory Disconnect Tone on your Butt-set when the Calling Party hangs up.
ScopTELTM IP PBX Software
4 4
ScopTEL Pre-Requisites
ScopTEL Background and Pre-requisites
• SIP Extensions must be created on ScopTEL server for Mediatrix FXS ports
• SIP VoIP Accounts must be created on ScopTEL server for FXO ports
• Incoming Lines must be created on ScopTEL server to route incoming calls
• Outgoing Lines must be created on ScopTEL server to route outgoing calls
• Class of Service must be edited to allow Outgoing Lines to access Mediatrix ports
ScopTELTM IP PBX Software
5 5
Mediatrix Pre-Requisites
Mediatrix Background and Pre-requisites
The Mediatrix FXO/FXS gateways have two network interfaces
• Lan1 eth2 (default management interface IP address 192.168.0.10 255.255.255.0)
• Uplink eth1 (DHCP client)
• The Uplink eth1 port is the default SIP signalling and media interface (sip-default is bound to
this interface)
The FXS ports support Disconnect Supervision by the following methods:
• DropOnDisconnect (default)
• ReversalOnIdle
Shutdown Behavior:
• Disabled Tone (default)
• Power Drop
Power Drop On Disconnect Duration: 1000 ms
The FXS ports support Voicemail Message Waiting Indication by the following methods:
• Fsk: A FSK signal is sent to activate the VMWI on the phone.
• FskAndVoltage: Both FSK signal and high voltage signal are used to activate the VMWI on the
phone. Note: FskAndVoltage is not supported on all devices.
FXO ports support Caller ID Detection
Answering Configuration Wait Before Answering Delay 8000 ms (default)
ScopTELTM IP PBX Software
Mediatrix Configuration
Log into the webui http://<IP of Mediatrix Uplink eth1>/ . The default user
is ‘admin’ and password is ‘administrator’.
ScopTELTM IP PBX Software
Mediatrix Interop Settings
• Since SIP OPTIONS messages will be sent by ScopTEL to the Mediatrix Gateway
the Mediatrix Gateway must be configured to reply to these SIP OPTIONS
messages.
• SIP>Interop>OPTIONS Method Support: Always 200 OK
ScopTELTM IP PBX Software
SIP Registrar and Proxy Settings
• The Mediatrix Gateway needs to know which ScopTEL server to register to by
configuring SIP>Servers>Default Servers
• Configure the Registrar Host and Proxy Host with the IP address or Fully Qualified
Domain Name of the ScopTEL server
ScopTELTM IP PBX Software
Mediatrix Configuration
• Click on the SIP Menu tab and configure the default gateway
• Type = Trunk
• Signalling Network must be set to Uplink
• Click Apply
ScopTELTM IP PBX Software
Mediatrix Configuration
• Click on the SIP Menu tab and add an additional gateway
• Name = fxs
• Type = Endpoint
• Signalling Network must be set to Uplink
• Click Apply
ScopTELTM IP PBX Software
VoIP Accounts
• Use the ScopTEL Interfaces Manager to build the desired SIP VoIP Accounts for the
Mediatrix FXO ports using secure passwords.
• Only one VoIP Account to process PSTN calls to and from the Mediatrix Gateway is
required
ScopTELTM IP PBX Software
VoIP Accounts
• The Account name and Username must match
• Your password must be secure
• Hostmode is dynamic so the Mediatrix gateway can register with the ScopTEL
server
ScopTELTM IP PBX Software
VoIP Accounts
• Insecure should include both Port and Invite
• Qualify should be enabled
• Keepalive Interval should be set to a value short enough to address UDP timeouts
in some firewalls
ScopTELTM IP PBX Software
VoIP Accounts
• DTMF Mode RFC 2833 is recommended
• P-Asserted-Identity is recommended
• Only select CODEC’s which are compatible with your PSTN interface and Region
• Careful CODEC selection is required to avoid transcoding
• The G.729 CODEC cannot support FAX transmissions
ScopTELTM IP PBX Software
Mediatrix sip-default Gateway
• The Mediatrix Gateway needs a configured Unit Gateway Registration to register with the
ScopTEL VoIP Interface and process PSTN calls to and from the ScopTEL server
• The User Name must match the ScopTEL VoIP Account Username created for the Gateway
ScopTELTM IP PBX Software
Mediatrix sip-default Gateway
• The Mediatrix Gateway needs to authenticate to the ScopTEL VoIP Account
• SIP>Authentication>Priority 1 Click the edit button to configure authentication
ScopTELTM IP PBX Software
Mediatrix sip-default Gateway
• Criteria must be Gateway from the drop list selection
• Gateway must be default in order to use the built in sip-default interface
• Validate Realm must be Disable
• The Username must equal the Username defined in the ScopTEL VoIP ‘mediatrixgateway’
Interface
• The Password must equal the Password defined in the ScopTEL VoIP ‘mediatrixgateway’
Interface
• Apply & Refresh Registration to force the Mediatrix Gateway to register with the ScopTEL VoIP
Interface
ScopTELTM IP PBX Software
SIP Extensions
• Use the ScopTEL Extensions Manager to build the desired SIP extensions for the
Mediatrix FXS ports using secure passwords.
• Commit when done.
ScopTELTM IP PBX Software
SIP Extensions
• The Mediatrix Gateway needs configured Endpoint Registrations to register FXS
ports to the ScopTEL server
• The Endpoint Registrations must use the Authentication Name entered in the
ScopTEL>Extension>Authorization Tab
ScopTELTM IP PBX Software
SIP Extensions
• The Mediatrix Gateway FXS ports need to Authenticate to the ScopTEL server’s
configured extensions
• SIP>Authentication and click to edit Authentication objects in order to configure
their parameters
ScopTELTM IP PBX Software
SIP Extensions
• The Mediatrix Gateway FXS ports need to Authenticate to the ScopTEL server’s configured
extensions
• SIP>Authentication and click to edit Authentication objects in order to configure their
parameters
• Edit one Authentication Priority object per FXS port
• Criteria must equal Endpoint
• Endpoint port must match the desired physical FXS port on the Mediatrix gateway
• Valida Realm must be Disable
• Username must match the configured Authentication Name of the ScopTEL Extension
• Username must match the configured Authentication Name of the ScopTEL Extension
• Repeat these steps for each FXS extension needed
• Apply & Refresh Registration to force the Mediatrix FXS ports to register with the ScopTEL
Extensions
ScopTELTM IP PBX Software
Mediatrix Call Router
Overview of Call Router configuration:
• The final configuration must resemble this screenshot
ScopTELTM IP PBX Software
Mediatrix FXS Routes
• Click on the Call Router>Auto-routing tab
• Auto-routing Enable from the drop list
• Criteria Type: = SIP Username from the drop list
• Click Apply and this will create automatic rules to send and receive calls for each FXS port
ScopTELTM IP PBX Software
Mediatrix RemovePrefix Rule
• Click on the Call Router>Route Config tab
• Add a new Mapping Expression object
• Name = RemovePrefix
• From the Suggestion drop list choose RemovePrefix
• Criteria = 80[12](.+)
• This will detect any incoming digits starting with 801 or 802 and strip these digits before
passing any additional digits to pools A or B
• Transformation = \1
• Save and Insert Expression
ScopTELTM IP PBX Software
Mediatrix PoolA Hunt Index
Create PoolA
• Click on the Call Router>Route Config tab
• Add a new Hunt Index
• Name = PoolA
• Destinations select from the drop list fxo-FXO1, fxo-FXO2
• Save
ScopTELTM IP PBX Software
Mediatrix PoolA Route Index PoolA
• Click on the Call Router>Route Config tab
• Add a new Route Index object
• Sources = sip-default from the Suggestion drop list
• Properties Criteria = Called E164
• Expression Criteria 801.+
• Mapping RemovePrefix
• Destination hunt-PoolA
• Save
ScopTELTM IP PBX Software
Mediatrix PoolB Hunt Index
Create PoolB
• Click on the Call Router>Route Config tab
• Add a new Hunt Index
• Name = PoolB
• Destinations select from the drop list fxo-FXO3, fxo-FXO4
• Save
ScopTELTM IP PBX Software
Mediatrix PoolB Route Index PoolB
• Click on the Call Router>Route Config tab
• Add a new Route Index object
• Sources = sip-default from the Suggestion drop list
• Properties Criteria = Called E164
• Expression Criteria 802.+
• Mapping RemovePrefix
• Destination hunt-PoolB
• Save
ScopTELTM IP PBX Software
Incoming Lines
In the following examples there are two equivalent line groups supplied by the Telco in typical ascending ring
order:
Equivalency Group 1 (Company ABC)
• FXO1 4165551234 Rings Busy to
• FXO2 4165552234
Equivalency Group 2 (Company XYZ)
• FXO3 4165553234
• FXO4 4165554234
Incoming Lines on the ScopTEL server will use Called Number/DNIS supplied by the Mediatrix gateway over the
configured VoIP Interface
For each configured DNIS a unique ScopTEL Destination can be applied as in this example:
ScopTELTM IP PBX Software
Mediatrix Called Number Forwarding
The Mediatrix Gateway will be configured to send a called number to ScopTEL Incoming Lines per FXO port by
configuring Telephony>Services>Select Endpoint>Automatic Call Target from the Mediatrix WebUI
• Each FXO port 1-4 must be configured to send the required called number to the ScopTEL incoming lines.
• In this example the Automatic Call Target is defined on FXO1 to send called number 4165551234
ScopTELTM IP PBX Software
Pool A Configuration FXO1-FXO2
• Name = PoolA • Trunk = mediatrixgateway
• Type = Custom Dial String
• Dial String: 801X.
• NOTE: 801 will be passed to the Mediatrix Gateway and the gateway will strip 801 and pass any remaining dialed
digits. The user dials 9 and the phone number they want to dial and does not dial 801
• Access Code (Prefix): 9
• NOTE: The Access Code is always absorbed
• This will do a Class of Service lookup and if allowed will pass outgoing calls to the Mediatrix FXO ports 1-2 when dialed
digits start with 9
• NOTE: Default CoS allows all outgoing lines by default so you must configure a CoS for the extensions to use Pool A
ScopTELTM IP PBX Software
Pool B Configuration FXO3-FXO4
• Name = PoolB • Trunk = mediatrixgateway
• Type = Custom Dial String
• Dial String: 802X.
• NOTE: 802 will be passed to the Mediatrix Gateway and the gateway will strip 801 and pass any remaining dialed
digits. The user dials 9 and the phone number they want to dial and does not dial 801
• Access Code (Prefix): 9
• NOTE: The Access Code is always absorbed
• This will do a Class of Service lookup and if allowed will pass outgoing calls to the Mediatrix FXO ports 3-4 when dialed
digits start with 9
• NOTE: Default CoS allows all outgoing lines by default so you must configure a CoS for the extensions to use Pool B
ScopTELTM IP PBX Software
Pool A ScopTEL Class of Service
• Manager>Class of Service • Add a new Class
• General Tab Name = PoolB
• Outgoing Lines Tab click on Select
• The Up and Down arrows are used to select the Outgoing Line priority
• Objects higher in the list are pattern matched first therefore will be selected before any other Outgoing Line configuration
• Click Add when done
ScopTELTM IP PBX Software
Pool A ScopTEL Class of Service
• Manager>Class of Service • Choose PoolA from the left column and use the >> button to add PoolA to the right column
• Click OK
• Add your Class of Service by clicking the Add button from the parent window
ScopTELTM IP PBX Software
Pool B ScopTEL Class of Service
• Manager>Class of Service • Add a new Class
• General Tab Name = PoolB
• Outgoing Lines Tab click on Select
• Use the same procedure as PoolA to add PoolB to the Outgoing Lines tab instead using the PoolB Outgoing Line
ScopTELTM IP PBX Software
Extensions Class of Service
• You must apply the correct Class of Service to each extension • Edit each extension and apply the PoolA or PoolB Class of Service so the extension will seize the correct FXO ports on the
Mediatrix Gateway when dialing the PSTN
• Save the changes
• Click on Commit from the main extensions page to reload the dial plan and apply your changes
ScopTELTM IP PBX Software
37 37