[asterisk-users] trouble with sip connection and registration

sean darcy seandarcy2 at gmail.com
Mon Nov 14 17:51:22 CST 2011


I have a home asterisk box which connects to the office asterisk, so I 
can just dial extensions.

This used to work just fine. I'm using 10.0-rc1 on the home box, 1.8.7.0 
on the office. But it doesn't work now:

[Nov 14 18:38:19] NOTICE[21563]: chan_sip.c:13161 sip_reg_timeout:    -- 
Registration for 'sip@<officePBX>' timed out, trying again (Attempt #86)

I first thought it was some fall out of the new upgrade to 10.0-rc1, but 
now I'm not sure.

Even with verbose at 6 I don't see anything on the office console about 
the attempted registration.

And on the office:

lsof -i:5060
COMMAND   PID     USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
asterisk 2045 asterisk   15u  IPv4  23030      0t0  UDP *:sip

but:

telnet localhost 5060
Trying 127.0.0.1...
telnet: connect to address 127.0.0.1: Connection refused

iptables is set to allow 5060 udp and tcp. And I've flushed iptables, 
but still no luck.

I can ssh into the office box from the home box. The office box is 
directly connected, the home nat'ed.

Any help really appreciated.

sean




More information about the asterisk-users mailing list