I have been given a Patton SmartNode 4114 and asked to get it working as
POPS gateway for our asterisk box. The 4114 has 4 FXO ports. It's got
firmware 3.21 on it. I currently have a single POPS line plugged into
port 0.
I can not seem to get the two to talk together. I am running asterisk
1.2.21.1. I am seeing the following repeatedly in *
Jan 24 16:23:40 NOTICE[17063]: chan_sip.c:11291 handle_request_register:
Registration from '2345 <sip:2345 at wcpss.net>' failed for
'10.15.70.121'
- ACL error (permit/deny)
Jan 24 16:23:40 NOTICE[17063]: chan_sip.c:5508 sip_reg_timeout: --
Registration for '2345 at 10.15.70.121' timed out, trying again (Attempt
#11)
Any help or pointers would be greatly appreciated. I've tried using the
samples Patton has on their website, no love.
The 4114 is at 10.15.70.121 and * is at 10.15.50.110. There is no packet
filtering between the two.
TIA,
Ken
From sip.conf:
[general]
.....
register => 2345:mysecret:2345 at 10.15.70.121:5060/8765
.....
[patton]
type=friend
secret=mysecret
username=2345
fromuser=2345
fromdomain=ourdomain.net
host=10.15.70.121
canreinvite=no
insecure=very
qualify=yes
nat=no
context=from-patton
allow=gsm
allow=ulaw
allow=alaw
....
Patton Configuration:
context ip router
interface eth0
ipaddress dhcp
tcp adjust-mss rx mtu
tcp adjust-mss tx mtu
context cs switch
interface sip IF-ASTERISK
service default
interface fxo IF-FXO-0
disconnect-signal loop-break
context cs switch
no shutdown
gateway sip ASTERISK
bind interface eth0 router
service default
domain ourdomain.net
defaultserver auto loose-router
registration manual 10.15.50.110 5060
user 2345 authenticate password Gs98V6SwClaaftY5GzLk7Q== encrypted
default register display-name 2345 phone-context from-patton
gateway sip ASTERISK
no shutdown
port ethernet 0 0
medium auto
encapsulation ip
bind interface eth0 router
no shutdown
port fxo 0 0
use profile fxo us
caller-id format bell
encapsulation cc-fxo
bind interface IF-FXO-0 switch
no shutdown
On Thu, 2008-01-24 at 16:28 -0500, Ken Mink wrote:> I can not seem to get the two to talk together. I am running asterisk > 1.2.21.1. I am seeing the following repeatedly in * > Jan 24 16:23:40 NOTICE[17063]: chan_sip.c:11291 handle_request_register: > Registration from '2345 <sip:2345 at wcpss.net>' failed for '10.15.70.121' > - ACL error (permit/deny)This is Asterisk saying that the Patton device is trying to register as SIP peer 2345. Unfortunately, this is failing, as your peer section is named "patton" instead of "2345". I'm not sure why the Patton device is registering at all, if you've got the host IP address set. (You would need "host=dynamic" if you really wanted the device to register.> Jan 24 16:23:40 NOTICE[17063]: chan_sip.c:5508 sip_reg_timeout: -- > Registration for '2345 at 10.15.70.121' timed out, trying again (Attempt #11)This is Asterisk saying that it's trying to register to the Patton device, but that it's failing as well. To me, it seems strange that both devices are registering to each other. -- Jared Smith Community Relations Manager Digium, Inc.