[asterisk-users] trouble with sip connection and registration

Steve Edwards asterisk.org at sedwards.com
Mon Nov 14 18:33:00 CST 2011


On Mon, 14 Nov 2011, sean darcy wrote:

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

Telnet is TCP while SIP is usually UDP.

The 'Connection refused' just means you don't have telnetd running (a good 
thing) or anything else (xinetd, honeypot, etc.) listening on that TCP 
port.

> iptables is set to allow 5060 udp and tcp...

127.0.0.1 is assigned to the 'lo' ('loopback') interface and probably not 
filtered by your iptables rules.

If you enable SIP debugging on your home and office Asterisk servers, does 
that yield any clues?

tshark and wireshark may also yield clues.

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000



More information about the asterisk-users mailing list