Solved Patton SN200 FXS - Hotline config

Status
Not open for further replies.

docderosier

Free User
Joined
Jun 9, 2021
Messages
15
Reaction score
2
I've been handed a Patton SN200 FXS device and a POTS line that connects with an elevator emergency call button, and been told to make them play nice together - The documentation I've been finding has been less than stellar. I was wondering if someone could point me in the direction of some resources and/or look at my configuration and let me know if I'm barking up the wrong tree or what.

Additional background: The device is registered to 3cx as an FSX device with ext# 16901, and the device does show up as registered in 3cx, so that part is working.

Here's the relevant bit:
context cs SWITCH

digit-collection timeout 1
no digit-collection terminating-char
address-completion timeout 1

mapping-table calling-e164 to calling-name MT_EXT_TO_NAME
map 16901 to "Elevator"

mapping-table called-e164 to called-e164 MT_HOTLINE
map default to 16002 ## Ext to be dialed
map default to ""

routing-table called-e164 RT_TO_FXS
route 16901 dest-interface IF_FXS_00

routing-table called-e164 RT_HOTLINE
route default dest-interface IF_SIP_3CX MT_HOTLINE

interface sip IF_SIP_3CX
bind context sip-gateway GW_SIP_3CX
route call dest-table RT_TO_FXS
remote (3cx ip) 5060
local (SN200 ip) 5060
hold-method direction-attribute sendonly
trust remote

interface fxs IF_FXS_00
route call dest-table RT_HOTLINE
Is this correct? Are there other portions of the configuration that would need attention? Is this device actually capable of doing what I'm trying to get it to do?

Would I be correct in assuming that I could remove the RT_TO_FXS routing table after testing has finished, because we don't need the ability for the elevator to receive calls - or would that be inadvisable for a reason I'm not considering?

Thank you if you've read this far!
 
Hi!

Not sure about any extra config on the Analog side of the gateway, but the general configuration guide that we provide for the SN200 FXS is this one:
https://www.3cx.com/voip-gateways/patton-sn200-sn4141-fxs/
Yep, found that. That's what I used to get the device registered to the 3cx server in the first place. What I still need is the configuration that will allow the elevator button to automatically place a call to that building's front desk.
 
Most ATA's have an internal dialplan, that can be configured to immediately dial a specific number, when the set goes off-hook. Some also offer an option for a "hotline" feature.

I went searching for the configuration manual, but Patton would not offer it without registering
 
Most ATA's have an internal dialplan, that can be configured to immediately dial a specific number, when the set goes off-hook. Some also offer an option for a "hotline" feature.

I went searching for the configuration manual, but Patton would not offer it without registering
Yeah, I've looked at their manual for this device, and it doesn't really go beyond basic setup. I'm hoping there's someone on the forum who sees this that has worked with these devices before. Seems like what I'm trying to do is just a bit in the weeds compared to the average use case.
 
So, after finally getting a hold of an analog phone to test with, I can say that I was pretty close with my configuration up top, and the issue I was having was with the elevator itself. As it turns out, I only needed to be able to extend a dialtone, anyways, as the elevator is supposed to handle the auto-dialing part of things. The joys of having to redo things that were never documented because "We won't ever have to redo this".

That said, now if anyone needs to figure out how to get a Patton SN200 to hotline, I've given them a closer place to start than I had to work with, as long as they find this thread. If that's you, watch out for that extra 'map default to "" ' - that'll mess things up.
 
  • Like
Reactions: NickD_3CX
Thanks for sharing this!

Glad you got it all figured out.
 
Status
Not open for further replies.

Forum statistics

Threads
111,974
Messages
590,081
Members
164,899
Latest member
mazet