Door phone help

Status
Not open for further replies.

nterrell

Joined
Feb 19, 2015
Messages
8
Reaction score
1
Hi There,

I am using an Analog Door Phone which is connected to a Patton 4118 (model SN4118/4JS4JO/EUI), I need the door phone to call a ring group once someone takes it off hook. Can anyone point be in the right direction on how to configure the 4118/3cx to do that, I have been scratching my head reading the configuration manual of the patton but I am not sure of my next steps after I configure the FXS port with a 3cx extension.
 
If not mistaken, the Patton you have is a both a FXO and FXS device. You need to set up the door phone as an extension which means it needs to be connected to one of the Patton FXS ports. The FXS port is then set up as an extension on the 3CX system. The door phone is then programmed such that when someone activates the dial sequence, it dials the ring group extension established in 3CX for the purpose.
 
To do what you want, the FXS ports has to dial (send) a preprogrammed number (of the ring group) when the caller (door phone) goes off-hook (hotline feature). This generally requires that the ATA has some sort of internal dialplan (digit pre-screening/manipulation) capability. I have not used the Patton units, so I can't say one way or the other if they are capable of this. I know that many (most?) of the Cisco/Linksys ATA's do have this feature, something like a SPA-2102, or even a PAP2, which would be in the lower cost range if you had to purchase another device. There may also be devices from other manufacturers.

You might check with Patton, or on the Patton forum, if another forum member here doesn't put forward a suggestion.
 
Thanks, I have reached out to Patton support, if they are able to help me I will post my config here for other in the same situation.
 
Patton support was awesome and was able to help me. So I am attaching my config that allows FXS Port 0/0 to auto dial a call queue on 3cx, basically FXS 0/0 is mapped to extension 6001, which is set to dial the queue I setup which is 8001. This should work for any Patton 4110, Patton 4114 or Patton 4118.

Code:
#########################################################
#
# For SN-4118 8-port FXS
# Supported firmware versions R6.x
#
# Author: Kevin Attard Compagno
# Contact: [email protected]
#
#########################################################
timer CONFIG_UPDATE now + 2 minutes every 10 minutes "provisioning execute CONFIG"

webserver port 80 language en

sntp-client

system

ic voice 0
low-bitrate-codec g729

profile ppp default

profile call-progress-tone defaultDialtone
flush-play-list
play 1 1000 350 -13 440 -13

profile call-progress-tone defaultAlertingtone
flush-play-list
play 1 1000 440 -19 480 -19
pause 2 3000

profile call-progress-tone defaultBusytone
flush-play-list
play 1 500 480 -24 620 -24
pause 2 500

profile call-progress-tone defaultReleasetone
flush-play-list
play 1 250 480 -24 620 -24
pause 2 250

profile call-progress-tone defaultCongestiontone
flush-play-list
play 1 250 480 -24 620 -24
pause 2 250

profile tone-set default

profile voip default
codec 1 g711alaw64k rx-length 20 tx-length 20
codec 2 g711ulaw64k rx-length 20 tx-length 20
codec 3 g729 rx-length 20 tx-length 20
fax transmission 1 relay t38-udp
modem transmission 1 bypass g711alaw64k rx-length 20 tx-length 20

profile pstn default
play 1 1000
pause 2 4000

profile sip default
no autonomous-transitioning

profile aaa default
method 1 local
method 2 none

profile provisioning CONFIG
destination configuration
location 1 tftp://$(dhcp.66)/${system.mac}
activation reload graceful

context ip router

interface IF_IP_LAN
ipaddress 192.168.100.61 255.255.255.0
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu

context cs switch
no digit-collection timeout

routing-table called-e164 RT_DIGITCOLLECTION
route .T dest-interface IF_SIP_3CX MT_EXT_TO_NAME

routing-table called-e164 RT_TO_FXS
route 6001 dest-interface IF_FXS_00
route 6003 dest-interface IF_FXS_01
route 6004 dest-interface IF_FXS_02
route 6005 dest-interface IF_FXS_03

routing-table called-e164 RT_from_FXS00
route default dest-interface IF_SIP_3CX MAP8001

mapping-table calling-e164 to calling-name MT_EXT_TO_NAME
map 6001 to "Red Phone"
map 6003 to "Analog 3"
map 6004 to "Analog 4"
map 6005 to "Analog 5"

mapping-table called-e164 to called-e164 MAP8001
map default to 8001

interface sip IF_SIP_3CX
bind context sip-gateway GW_SIP_ALL_EXTENSIONS
route call dest-table RT_TO_FXS
remote 192.168.100.235 5060
local 192.168.100.235 5060
trust remote

interface sip IF_SIP_AUTODIAL
bind context sip-gateway GW_SIP_ALL_EXTENSIONS
route call dest-interface IF_FXS_00
remote 192.168.100.235 5060
local 192.168.100.235 5060
address-translation outgoing-call from-header user-part fix 8001 host-part call
trust remote

interface fxs IF_FXS_00
route call dest-table RT_from_FXS00
subscriber-number 6001

interface fxs IF_FXS_01
route call dest-table RT_DIGITCOLLECTION
subscriber-number 6003

interface fxs IF_FXS_02
route call dest-table RT_DIGITCOLLECTION
subscriber-number 6004

interface fxs IF_FXS_03
route call dest-table RT_DIGITCOLLECTION
subscriber-number 6005

context cs switch
no shutdown

authentication-service AS_ALL_EXTENSIONS
realm 1 3CXPhoneSystem
username 6001 password redacted
username 6003 password redacted
username 6004 password redacted
username 6005 password redacted

location-service LS_ALL_LINES
domain 1 192.168.100.235

identity-group default

authentication outbound
authenticate 1 authentication-service AS_ALL_EXTENSIONS

registration outbound
registrar 192.168.100.235 5060
lifetime 300
register auto

identity 6001 inherits default

identity 6003 inherits default

identity 6004 inherits default

identity 6005 inherits default

context sip-gateway GW_SIP_ALL_EXTENSIONS

interface LAN
bind interface IF_IP_LAN context router port 5060

context sip-gateway GW_SIP_ALL_EXTENSIONS
bind location-service LS_ALL_LINES
no shutdown

port ethernet 0 0
medium auto
encapsulation ip
bind interface IF_IP_LAN router
no shutdown

port fxs 0 0
use profile fxs us
encapsulation cc-fxs
bind interface IF_FXS_00 switch
no shutdown

port fxs 0 1
use profile fxs us
encapsulation cc-fxs
bind interface IF_FXS_01 switch
no shutdown

port fxs 0 2
use profile fxs us
encapsulation cc-fxs
bind interface IF_FXS_02 switch
no shutdown

port fxs 0 3
use profile fxs us
encapsulation cc-fxs
bind interface IF_FXS_03 switch
no shutdown
 

Attachments

  • Like
Reactions: mujin1
Status
Not open for further replies.

Members Online Now

Forum statistics

Threads
111,835
Messages
589,289
Members
164,667
Latest member
Infinity Network