Manual
72
Switchboard aids in breaking through these dierent types of routers for incoming calls. Because it is in constant contact
with all subscribed codecs, it can send and receive test paerns to determine whether one or more NAT routers exist on
a link and what type they are. It can then choose a connecon method to be used to circumvent any issues. Switchboard
can:
• Instruct the calling codec to make a normal connecon (No NAT detected).
• Use the hole punched by connecon to the Directory Server for incoming connecons from other
codecs.
• Instruct the called codec to make the connecon in the reverse direcon.
The second opon, which ulizes the outgoing Directory Server “ping” described earlier, is very useful. The interval of
this ping is adjustable, but defaults to about one minute, which is short enough to keep a hole punched through the
majority of NAT routers.
These techniques are based loosely, with enhancements, on a generic Internet protocol called STUN (Simple Traversal
of UDP through NAT). The system works well in all environments except one: when both users are sing behind a
symmetric NAT. In this situaon, calls will fail even with Switchboard. The only opon in that environment is to resort to
port forwarding on one side of the link.