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 _______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- AstriCon 2009 - October 13 - 15 Phoenix, Arizona Register Now: http://www.astricon.net asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users