John Klimek
2006-Jun-12 19:42 UTC
[Asterisk-Users] Unable to connect to Asterisk? (simple[?] question)
I'm trying to setup Asterisk on my Linksys WRT54G router and it appears to startup successfully (no errors) and it says it is listening on 0.0.0.0 port 5060, but I am unable to connect to it. I've tried "telnet localhost 5060" but it just says connection refused. I've also tried connecting from another machine on my network (eg. telnet 192.168.0.1 5060) but it also says connection refused. Finally, I've tried changing the bound address in sip.conf to "127.0.0.1" and "192.168.0.1" but I am still unable to connect using all the methods mentioned above. What else can be the problem? Can I have some sort of iptables problem?
Peter Bowyer
2006-Jun-12 23:09 UTC
[Asterisk-Users] Unable to connect to Asterisk? (simple[?] question)
SIP is a UDP protocol, and telnet is TCP. You can't test it like that. Have you tried connecting with a SIP client? Peter On 13/06/06, John Klimek <jklimek@gmail.com> wrote:> I'm trying to setup Asterisk on my Linksys WRT54G router and it > appears to startup successfully (no errors) and it says it is > listening on 0.0.0.0 port 5060, but I am unable to connect to it. > I've tried "telnet localhost 5060" but it just says connection > refused. I've also tried connecting from another machine on my > network (eg. telnet 192.168.0.1 5060) but it also says connection > refused. Finally, I've tried changing the bound address in sip.conf > to "127.0.0.1" and "192.168.0.1" but I am still unable to connect > using all the methods mentioned above. > > What else can be the problem? Can I have some sort of iptables problem? > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Peter Bowyer Email: peter@bowyer.org
Wojciech Tryc
2006-Jun-14 19:14 UTC
[Asterisk-Users] Unable to connect to Asterisk? (simple[?] question)
Telnet uses TCP, Asterisk's SIP is UDP.... Wojtek ----- Original Message ----- From: "John Klimek" <jklimek@gmail.com> To: <asterisk-users@lists.digium.com> Sent: Monday, June 12, 2006 10:42 PM Subject: [Asterisk-Users] Unable to connect to Asterisk? (simple[?] question)> I'm trying to setup Asterisk on my Linksys WRT54G router and it > appears to startup successfully (no errors) and it says it is > listening on 0.0.0.0 port 5060, but I am unable to connect to it. > I've tried "telnet localhost 5060" but it just says connection > refused. I've also tried connecting from another machine on my > network (eg. telnet 192.168.0.1 5060) but it also says connection > refused. Finally, I've tried changing the bound address in sip.conf > to "127.0.0.1" and "192.168.0.1" but I am still unable to connect > using all the methods mentioned above. > > What else can be the problem? Can I have some sort of iptables problem? > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > Asterisk-Users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >