Tomas Florian
2005-Apr-13 23:31 UTC
[Asterisk-Users] Strange intermittent NAT problem with BT100s
Hello, I have a strange problem whenever I have 2 or more BT100s behind NAT. I am not able to reproduce this error reliably, but it happens every 2-5 minutes. The general setup is that there is Asterisk server sitting at a central location. Some peers connect directly (206,205,201) but some (204,203,200) connect through NAT. This all works fine ...but it is extremely unreliable ... I get UNREACHABLE and then OK again ... UNREACHABLE and OK again .. unpredictably. When it's OK I can make phone calls no problem.... of course when it goes UNREACHABLE there is trouble. I tried to replace one of the BT100 phones with X-Lite and that one is OK (~40ms) rock solid - or seems to be so far. So it seems that there is something weird going on with BT100 My configuration of BT100 is as follows: - firmware 1.0.5.23 (I've noticed similar problems with .16 also) - detected NAT type is symmetric NAT - STUN stun.xten.net (I'm using Xtens ... or do I have to use my own???) - no outbound proxy - register expiration = 1 - keep alive interval = 20 sec (I also tried as low as 1 sec) My sip configuration uses: - nat = yes - qualify = yes (I also tried longer qualify 10000 with no luck) This is what I get with sip show peers ... the 204 and 200 are BT100 and sometimes one or both go UNREACHABLE for a while ... 203 is X-Lite and didn't go UNREACHABLE yet. 206/206 (Unspecified) D 255.255.255.255 0 Unmonitored 205/205 (Unspecified) D 255.255.255.255 0 Unmonitored 204/204 209.x.x.125 D N 255.255.255.255 38340 OK (40 ms) 203/203 209.x.x.125 D N 255.255.255.255 1548 OK (38 ms) 201/201 192.168.2.112 D 255.255.255.255 5060 Unmonitored 200/200 209.x.x.125 D N 255.255.255.255 37838 UNREACHABLE Any ideas? Is there some trick to get BT100 to cooperate? Thanks, Tomas
Alex Vishnev
2005-Apr-14 05:05 UTC
[Asterisk-Users] Strange intermittent NAT problem with BT100s
I have seen the same problem as well. If don't think this is a problem with BT100. I think the problem is with public STUN server. I think sometimes, the server is too overloaded and can't provide the translation. That is when you are getting the problem with your clients behind NAT. the only solution is to build your own stun server and use it, instead of using public servers. Alex -----Original Message----- From: asterisk-users-bounces@lists.digium.com [mailto:asterisk-users-bounces@lists.digium.com] On Behalf Of Tomas Florian Sent: Thursday, April 14, 2005 2:32 AM To: asterisk-users@lists.digium.com Subject: [Asterisk-Users] Strange intermittent NAT problem with BT100s Hello, I have a strange problem whenever I have 2 or more BT100s behind NAT. I am not able to reproduce this error reliably, but it happens every 2-5 minutes. The general setup is that there is Asterisk server sitting at a central location. Some peers connect directly (206,205,201) but some (204,203,200) connect through NAT. This all works fine ...but it is extremely unreliable ... I get UNREACHABLE and then OK again ... UNREACHABLE and OK again .. unpredictably. When it's OK I can make phone calls no problem.... of course when it goes UNREACHABLE there is trouble. I tried to replace one of the BT100 phones with X-Lite and that one is OK (~40ms) rock solid - or seems to be so far. So it seems that there is something weird going on with BT100 My configuration of BT100 is as follows: - firmware 1.0.5.23 (I've noticed similar problems with .16 also) - detected NAT type is symmetric NAT - STUN stun.xten.net (I'm using Xtens ... or do I have to use my own???) - no outbound proxy - register expiration = 1 - keep alive interval = 20 sec (I also tried as low as 1 sec) My sip configuration uses: - nat = yes - qualify = yes (I also tried longer qualify 10000 with no luck) This is what I get with sip show peers ... the 204 and 200 are BT100 and sometimes one or both go UNREACHABLE for a while ... 203 is X-Lite and didn't go UNREACHABLE yet. 206/206 (Unspecified) D 255.255.255.255 0 Unmonitored 205/205 (Unspecified) D 255.255.255.255 0 Unmonitored 204/204 209.x.x.125 D N 255.255.255.255 38340 OK (40 ms) 203/203 209.x.x.125 D N 255.255.255.255 1548 OK (38 ms) 201/201 192.168.2.112 D 255.255.255.255 5060 Unmonitored 200/200 209.x.x.125 D N 255.255.255.255 37838 UNREACHABLE Any ideas? Is there some trick to get BT100 to cooperate? Thanks, Tomas _______________________________________________ Asterisk-Users mailing list Asterisk-Users@lists.digium.com http://lists.digium.com/mailman/listinfo/asterisk-users To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users