Here is a working configuration for a Patton 4114 FXO running 5.4 with the following general setup:where the ports are used for varying purposes (not just a simple milking machine setup).
Overview of setup
- FXO port 0 and 1 are connected to analog trunks on an ITSP's DTA (a grandstream). In this config I refer to them as 'PP'.
- Inbound calls
- Callerid is provided by the DTA Bell style
- Both ports ring for the same call if they are both free; there is a 1 ring delay on the 2nd port so both ports don't answer
- Inbound calls are directed to '0' (the AA) on sipXecs
- Outbound calls
- sipXecs is configured to see these two ports together as an unmanaged gateway on UDP port 5060
- Either port can be used to make outbound calls
- 1+10 digit dialing is used
- Inbound calls
- FXO port 2 is connected to a POTS Qwest line that does not provide callerid, QW is the abbreviation used for these elements
- Inbound calls
- Calls are directed to '0' (the AA) on sipXecs
- Callerid is fixed as Unknown, name 'Qwest'
- Outbound calls
- sipXecs is configured to see this port as an unmanaged gateway on UDP port 5061
- Inbound calls
- FXO port 3 is connected to a Viking W2000A-EWP doorphone, FD is the abbreviation for these elements
- Inbound calls
- Calls are directed to extension 224 on sipXecs (a hunt group)
- The callerid is set to number '250' name 'Front Door'
- Internally the hunt group goes to several Polycom 650's and 335's which are configured to issue a 'ding dong' distinctive ring on calls from '250' (via the speed dial RT feature and the SAF wave file feature).
- Outbound calls
- sipXecs is configured to see this port as an unmanaged gateway on UDP port 5062
- The door phone does not provide dialtone, going off hook opens the intercom, there is some special setup in the config to deal with this
- sipXecs is configured with a custom dial rule just for this, when you dial '250' with '0' extra digits it sends a '1'. The patton is configured to strip the 1 out so you don't hear DTMF at the door when dialing out to it.
- Inbound calls
Patton plumbing
The Patton internally has a number of components you plumb up between the ethernet port and each FXO port. In some cases the same component is used for PSTN -> SIP calls and SIP -> PSTN calls. Below is a chart showing the high level plumbing (but not all the configuration details) for this configuration.