Carlos Chavez
2010-Oct-14 16:18 UTC
[asterisk-users] Routers that do not show external IPs...
I have a customer that has a Trendnet TEW-435BRM router which has the bad habit of rewriting all external connections so the Asterisk server only sees the IP address of the router itself. Up to today this has not been a problem since all extensions are on the local network but now they want to have a couple external IP phones (SIP). I opened up the ports on the router and my phone can register. The problem is that I have no audio because Asterisk thinks that the phone is on the internal network and does not use the NAT and externip settings. How do you deal with this kind of router so you can have external phones? -- Telecomunicaciones Abiertas de M?xico S.A. de C.V. Carlos Ch?vez Prats Director de Tecnolog?a +52-55-91169161 ext 2001 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20101014/768f9ebd/attachment.pgp
Leif Madsen
2010-Oct-14 16:26 UTC
[asterisk-users] Routers that do not show external IPs...
On 10-10-14 12:18 PM, Carlos Chavez wrote:> I have a customer that has a Trendnet TEW-435BRM router which has the > bad habit of rewriting all external connections so the Asterisk server > only sees the IP address of the router itself. Up to today this has not > been a problem since all extensions are on the local network but now > they want to have a couple external IP phones (SIP). > > I opened up the ports on the router and my phone can register. The > problem is that I have no audio because Asterisk thinks that the phone > is on the internal network and does not use the NAT and externip > settings. How do you deal with this kind of router so you can have > external phones?Typically that is an option you can turn off. It is meant to help with SIP translations and such through the router, but as you're finding out, they typically just get in the way. Check through the web interface/configuration and see if there is anything about VoIP or SIP support in the router, and disable it. Leif.
Daniel Tryba
2010-Oct-14 16:35 UTC
[asterisk-users] Routers that do not show external IPs...
On Thu, Oct 14, 2010 at 11:18:59AM -0500, Carlos Chavez wrote:> I opened up the ports on the router and my phone can register. The > problem is that I have no audio because Asterisk thinks that the phone > is on the internal network and does not use the NAT and externip > settings. How do you deal with this kind of router so you can have > external phones?By replacing the crappy router with a decent one. An other good reason for replacement would be the lack of WPA AES on it. Yet another reason to replace it is that your labour costs are probably higher than this 90$ router. But what ports did you open? Only sip or also the RTP ports? -- Daniel Tryba
Carlos Chavez
2010-Oct-14 16:57 UTC
[asterisk-users] Routers that do not show external IPs...
On Thu, 2010-10-14 at 18:35 +0200, Daniel Tryba wrote:> On Thu, Oct 14, 2010 at 11:18:59AM -0500, Carlos Chavez wrote: > > I opened up the ports on the router and my phone can register. The > > problem is that I have no audio because Asterisk thinks that the phone > > is on the internal network and does not use the NAT and externip > > settings. How do you deal with this kind of router so you can have > > external phones? > > By replacing the crappy router with a decent one. An other good reason > for replacement would be the lack of WPA AES on it. Yet another reason > to replace it is that your labour costs are probably higher than this > 90$ router. > > But what ports did you open? Only sip or also the RTP ports? >I opened SIP and RTP, after that I put the server on the DMZ but I still get no audio on the external phone. My problem is that we do not administer the customers network and the just bought their brand new "super" router. -- Telecomunicaciones Abiertas de M?xico S.A. de C.V. Carlos Ch?vez Prats Director de Tecnolog?a +52-55-91169161 ext 2001 -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 198 bytes Desc: This is a digitally signed message part Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20101014/86b14ef7/attachment.pgp
If it wouldn't do that then your phone wouldn't be able to connect to the internet as the private IP it has is non routeable. On Thu, Oct 14, 2010 at 12:18 PM, Carlos Chavez <cursor at telecomabmex.com> wrote:> ? ? ? ?I have a customer that has a Trendnet TEW-435BRM router which has the > bad habit of rewriting all external connections so the Asterisk server > only sees the IP address of the router itself. ?Up to today this has not > been a problem since all extensions are on the local network but now > they want to have a couple external IP phones (SIP). > > ? ? ? ?I opened up the ports on the router and my phone can register. ?The > problem is that I have no audio because Asterisk thinks that the phone > is on the internal network and does not use the NAT and externip > settings. ?How do you deal with this kind of router so you can have > external phones? > > -- > Telecomunicaciones Abiertas de M?xico S.A. de C.V. > Carlos Ch?vez Prats > Director de Tecnolog?a > +52-55-91169161 ext 2001 > > -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > ? ? ? ? ? ? ? http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > ? http://lists.digium.com/mailman/listinfo/asterisk-users >
Josef Grand
2010-Oct-15 15:54 UTC
[asterisk-users] Routers that do not show external IPs...
http://www.showmyip.com http://www.whatismyip.com http://www.maxmind.com ----- Original Message ----- From: "Carlos Chavez" <cursor at telecomabmex.com> To: "Asterisk" <asterisk-users at lists.digium.com> Sent: Thursday, October 14, 2010 6:18 PM Subject: [asterisk-users] Routers that do not show external IPs...> -- > _____________________________________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > New to Asterisk? Join us for a live introductory webinar every Thurs: > http://www.asterisk.org/hello > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users > > > __________ Information provenant d'ESET NOD32 Antivirus, version de la > base des signatures de virus 5531 (20101014) __________ > > Le message a iti virifii par ESET NOD32 Antivirus. > > http://www.eset.com > >__________ Information provenant d'ESET NOD32 Antivirus, version de la base des signatures de virus 5531 (20101014) __________ Le message a ?t? v?rifi? par ESET NOD32 Antivirus. http://www.eset.com