Paul Goodyear
2005-Mar-22 18:34 UTC
[Asterisk-Users] Incoming response and external access
I'm all up for reading and looking round for people in the same boat to try and solve the issue together, but there appears to not be large community yet, just the asterisk mail lists. I got Asterisk working with X-Lite great now for internal calls and also calling land line numbers etc. The two problems i'm currently having are: 1. When someone calls in the phones ring 3 times then Asterisk kicks in, there is about a 3 second gap before Asterisk starts to ring the default group. Can this be cut down ring straight away? 2. I cannot seem to get access to Asterisk box from the net. I setup TCP/5060 and UDP/5060 to forward to my Asterisk IP in IPCop, but I cannot even get in on port 5060 on the LAN, I have checked the settings in sip.conf and appear to be okay. Any ideas? Thanks PaulG
Adam Goryachev
2005-Mar-22 20:14 UTC
[Asterisk-Users] Incoming response and external access
On Wed, 2005-03-23 at 01:34 +0000, Paul Goodyear wrote:> I'm all up for reading and looking round for people in the same boat > to try and solve the issue together, but there appears to not be large > community yet, just the asterisk mail lists.Actually, the asterisk community is very large IMHO... There are the various mailing lists, IRC, the wiki, the asterisk documentation project, and many other websites/forums/wiki's/etc which have relevant community members....> I got Asterisk working with X-Lite great now for internal calls and > also calling land line numbers etc. The two problems i'm currently > having are: > > 1. When someone calls in the phones ring 3 times then Asterisk kicks > in, there is about a 3 second gap before Asterisk starts to ring the > default group. Can this be cut down ring straight away?This is the very old, very standard problem... disable callerid on the incoming line/port, and it will work as you expect. With analog ports, you need a couple of rings to receive/process the callerid.> 2. I cannot seem to get access to Asterisk box from the net. I setup > TCP/5060 and UDP/5060 to forward to my Asterisk IP in IPCop, but I > cannot even get in on port 5060 on the LAN, I have checked the > settings in sip.conf and appear to be okay.Asterisk only uses UDP, and AFAIK, you also need UDP ports 10000 to xxxxxx see /etc/asterisk/sip.conf for details. You will also need to set the various NAT related config options in the sip.cfg file. As far as getting it to work on your LAN, well, I though you said you had X-Lite working for internal calls, which implies it is working on the LAN at least ???> Any ideas?More details if you need more help. Also, please see the www.voip-info.org wiki first. Regards, Adam -- -- Adam Goryachev Website Managers Ph: +61 2 8304 0000 adam@websitemanagers.com.au Fax: +61 2 9345 4396 www.websitemanagers.com.au
Paul Goodyear
2005-Mar-24 04:11 UTC
[Asterisk-Users] Incoming response and external access
ah, you learn something every day :) I will have a look at the asterisk conf files next week, thank for the info. Paul. On Thu, 24 Mar 2005 11:13:57 +0100 (CET), Peter Svensson <psvasterisk@psv.nu> wrote:> On Thu, 24 Mar 2005, Paul Goodyear wrote: > > > Yes all ports have been forwarded on the iptables section at top > > UDP/5060, UDP/4569, UDP/5036, UDP/10000:20000, UDP/2727 > > > > Doing a simple telnet to these ports non of them are open, even from > > inside the LAN, so the issue is on the asterisk box rather than the > > forwarding I think. > > Since when was telnet able to open a udp port? Actually, a udp port is not > opened at all, though you get an icmp packet back if you send data to a > udp port where noone listens. > > I think you have tcp and udp confused. > > Peter > >