Hello everyone, I'm having a hard time configuring my router to forward asterisk traffic correctly. I have the following ports being forwarded to asterisk: 5060, 10000-20000 Now, I can register the accounts when outside the network and I can call every extension that is inside the network. The problem is that I can't ear anything nor can the phones inside the network phone the outside phone. Is there any port I'm forgetting to forward? Best regards, Paulo Santos
On Thu, 2009-07-30 at 16:19 +0100, Paulo Santos wrote:> Hello everyone, > > I'm having a hard time configuring my router to forward asterisk traffic > correctly. I have the following ports being forwarded to asterisk: > > 5060, 10000-20000 > > Now, I can register the accounts when outside the network and I can call > every extension that is inside the network. The problem is that I can't > ear anything nor can the phones inside the network phone the outside phone. > > Is there any port I'm forgetting to forward?<snip> What happens if you set "canreinvite=no" in sip.conf or the appropriate sip configuration file? - John -- John A. Sullivan III Open Source Development Corporation +1 207-985-7880 jsullivan at opensourcedevel.com http://www.spiritualoutreach.com Making Christianity intelligible to secular society
On Thu, 30 Jul 2009, Paulo Santos wrote:> Hello everyone, > > I'm having a hard time configuring my router to forward asterisk traffic > correctly. I have the following ports being forwarded to asterisk: > > 5060, 10000-20000 > > Now, I can register the accounts when outside the network and I can call > every extension that is inside the network. The problem is that I can't > ear anything nor can the phones inside the network phone the outside phone. > > Is there any port I'm forgetting to forward?I don't think so, but have you tried nat=yes externip=w.x.y.z localnet=q.w.e.r/m.a.s.k in sip.conf ? (Where w.x.y.z is your external IP address, and q.w.e.r/m.a.s.k is the network and netmask of your internal network - e.g. 192.168.1.0/255.255.255.0 or whtever your LAN is using) Gordon