Patton issue

I am attempting to get a new Patton SN4114 4-FXO talking with FreePBX. I utilized their Configuration File generation tool and came up with what I’ll attach at the end of this post. I tried to take and modify what someone else posted on a forum about what worked for them, but from what I can tell, the patton is seeing the call coming in (light blinks on the device), however the asterisk isn’t seeing anything trying to talk to it (using asterisk -rvvvvvvvvvv from the command line). I’m not sure where the issue is yet, but here’s my configs, if anyone has any ideas, I’d appreciate the help!

FreePBX SIP Trunk settings:
Trunk Name: 001
Peer Details:
disallow=all
allow=ulaw,g729
canreinvite=yes
context=from-trunk
dtmfmode=rfc2833
host=dynamic
nat=no
qualify=yes
username=10002
secret=10002
type=friend
insecure=very

USER Context: 001in
USER Details:
secret=10002
type=user
context=from-trunk

Patton Config:

####################################################################################

Configuration file for SmartNode with: 4 FXO and 0 FXS

With one ethernet port

Configuration file name is PattonSample

Generic IPPBX

####################################################################################

LAN Interface Data

IP Address dhcp

IP Mask

####################################################################################

WAN Interface Data

IP Address dhcp

IP Mask

####################################################################################

Default Gateway

####################################################################################

IP-PBX/SIP PROXY DATA

IP-PBX Ip Address / Name / Domain 192.168.1.252

IP-PBX SIP Port 5060

####################################################################################

LOCALIZATION DATA

Country United States

####################################################################################

Supported firmware versions R5.x

Tool version V2_1 06222011

Adapted: Ernesto Casas

for comments, feedback or suggestions please send an email to: [email protected]

####################################################################################

webserver port 80 language en
sntp-client server 192.168.0.1

system
ic voice 0
low-bitrate-codec g729
profile ppp default

Call Progress tones based on country selection. Your selected country is: United States

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
fax transmission 1 relay t38-udp
fax transmission 2 bypass g711alaw64k
profile pstn default
profile sip default
profile aaa default
method 1 local
method 2 none

context ip router
interface IF_IP_LAN
ipaddress dhcp
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu

interface IF_IP_WAN
ipaddress dhcp
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu

context ip router
route 0.0.0.0 0.0.0.0
context cs switch
digit-collection timeout 2

interface sip IF_SIP_1
bind context sip-gateway GW_SIP_1
early-connect
early-disconnect
route call dest-interface IF_FXO_1
remote 192.168.1.252 5060
address-translation outgoing-call request-uri user-part fix 10002 host-part to-header target-param none
address-translation incoming-call called-e164 request-uri

interface sip IF_SIP_2
bind context sip-gateway GW_SIP_2
early-connect
early-disconnect
route call dest-interface IF_FXO_2
remote 192.168.1.252 5060
address-translation outgoing-call request-uri user-part fix 10003 host-part to-header target-param none
address-translation incoming-call called-e164 request-uri

interface sip IF_SIP_3
bind context sip-gateway GW_SIP_3
early-connect
early-disconnect
route call dest-interface IF_FXO_3
remote 192.168.1.252 5060
address-translation outgoing-call request-uri user-part fix 10004 host-part to-header target-param none
address-translation incoming-call called-e164 request-uri

interface sip IF_SIP_4
bind context sip-gateway GW_SIP_4
early-connect
early-disconnect
route call dest-interface IF_FXO_4
remote 192.168.1.252 5060
address-translation outgoing-call request-uri user-part fix 10005 host-part to-header target-param none
address-translation incoming-call called-e164 request-uri

interface fxo IF_FXO_1
route call dest-interface IF_SIP_1
loop-break-duration min 200 max 1000
ring-number on-caller-id
mute-dialing
disconnect-signal loop-break
disconnect-signal busy-tone
dial-after timeout 1
interface fxo IF_FXO_2
route call dest-interface IF_SIP_2
loop-break-duration min 200 max 1000
ring-number on-caller-id
mute-dialing
disconnect-signal loop-break
disconnect-signal busy-tone
dial-after timeout 1
interface fxo IF_FXO_3
route call dest-interface IF_SIP_3
loop-break-duration min 200 max 1000
ring-number on-caller-id
mute-dialing
disconnect-signal loop-break
disconnect-signal busy-tone
dial-after timeout 1
interface fxo IF_FXO_4
route call dest-interface IF_SIP_4
loop-break-duration min 200 max 1000
ring-number on-caller-id
mute-dialing
disconnect-signal loop-break
disconnect-signal busy-tone
dial-after timeout 1

context cs switch
no shutdown

authentication-service AS_ALL_LINES

  username 10002 password 10002
  username 10003 password 10003
  username 10004 password 10004
  username 10005 password 10005

 identity-group default

location-service LS_1
domain 1 192.168.1.252 5060
identity-group default
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES username 10002
identity 10002
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES username 10002
registration outbound
registrar 192.168.1.252 5060
lifetime 300
register auto
location-service LS_2
domain 1 192.168.1.252 5060
identity-group default
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES username 10003
identity 10003
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES username 10003
registration outbound
registrar 192.168.1.252 5060
lifetime 300
register auto
location-service LS_3
domain 1 192.168.1.252 5060
identity-group default
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES username 10004
identity 10004
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES username 10004
registration outbound
registrar 192.168.1.252 5060
lifetime 300
register auto
location-service LS_4
domain 1 192.168.1.252 5060
identity-group default
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES username 10005
identity 10005
authentication outbound
authenticate 1 authentication-service AS_ALL_LINES username 10005
registration outbound
registrar 192.168.1.252 5060
lifetime 300
register auto

context sip-gateway GW_SIP_1
interface LAN
bind interface IF_IP_LAN context router port 5060
context sip-gateway GW_SIP_1
bind location-service LS_1
no shutdown
context sip-gateway GW_SIP_2
interface LAN
bind interface IF_IP_LAN context router port 5062
context sip-gateway GW_SIP_2
bind location-service LS_2
no shutdown
context sip-gateway GW_SIP_3
interface LAN
bind interface IF_IP_LAN context router port 5064
context sip-gateway GW_SIP_3
bind location-service LS_3
no shutdown
context sip-gateway GW_SIP_4
interface LAN
bind interface IF_IP_LAN context router port 5066
context sip-gateway GW_SIP_4
bind location-service LS_4
no shutdown

port fxo 0 0
use profile fxo us
encapsulation cc-fxo
bind interface IF_FXO_1 switch
no shutdown
port fxo 0 1
use profile fxo us
encapsulation cc-fxo
bind interface IF_FXO_2 switch
no shutdown
port fxo 0 2
use profile fxo us
encapsulation cc-fxo
bind interface IF_FXO_3 switch
no shutdown
port fxo 0 3
use profile fxo us
encapsulation cc-fxo
bind interface IF_FXO_4 switch
no shutdown

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

################################################# END ##################################################