[Asterisk-Users] BT100 wrong NAT detection

Alex Vishnev avishnev at optonline.net
Sat Apr 16 10:59:55 MST 2005


Tomas,

Yes, BT100 is a little picky on the use of Stun Servers. For example, it
will not work at all with Vovida Stun server. Also, Stun negotiation takes
some time. So if you rebooted the phone, I would suggest waiting 15-30
seconds until phone syncs up with Stun server and requests binding. You can
also run ethereal on your LAN and monitor the packets coming from Bt100.
Then you can compare them to Xlite or other phones to see how they differ. I
would also suggest contacting grandstream and getting the latest firmware
for granstream. Another thing that made we wonder is when you said you are
running Stun on the same system as asterisk. Normally Stun requires 2
systems, system with 2 NIC cards, or at minimum 2 IP addresses that stun can
bind to. Is that what you are doing?

Alex

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Tomas Florian
Sent: Saturday, April 16, 2005 1:17 PM
To: asterisk-users at lists.digium.com
Subject: [Asterisk-Users] BT100 wrong NAT detection

Hello,

I'm having trouble getting BT100 to identify NAT type reliably for Asterisk.
My setup is as follows:

- Asterisk is on the open internet 142.x.x.41 
- BT100 phones are behind NATs
- I use STUN for my BT100 : 142.x.x.41 (same server as Asterisk)
- BT100 firmware (tried .16,.18,.23 same results)

When I go to the BT100 setup page I can see the following:
- detected NAT type is symmetric NAT
OR (sometimes)
- detected NAT type (blank)

Both of these are wrong as my NAT type should be: Port restricted NAT

... if I'm lucky sometimes BT100 comes back with port restricted answer and
in that case I'm ready to go .. but it rarely works after a reboot ...
sometimes yes sometimes no ..  I tested the STUN server and my actual NAT
type by running the WinSTUN ... it always answers correctly 100% of the
time.  I also tried setting the BT100 STUN server to some public STUN
servers .. no luck.

... so why is BT100 so unreliable???

I even did ./sever -v to watch my STUN server in action and it does actually
talk to the BT100s on every phone reboot .. but the weird thing is that
between BT100 and STUN there are only 3 messages sent whereas between XLite
and STUN or WinStunClient and STUN server there are about 8+ ... it's almost
as though BT100 gives up .. is BT100 compatible only with certain STUN
servers?  Is there some trick to this?

What else can watch to troubleshoot this situation?

Thank you,
Tomas



_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at 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





More information about the asterisk-users mailing list