

Figure 4 shows a basic connectivity check.

The result of both agents testing is a 4-way handshake on the exact same ports that will be used for media. Figure 3 shows the components of the candidate pairs that make up the UA check list. Each UA gathers these into check lists and schedules connectivity checks, STUN request/response transaction, to see which pairs work. Each UA takes the two lists of candidates and pairs them up to make candidate pairs. UA2 performs the same candidate gathering and sends a SDP response with it’s list of candidates.


ICE use SIP, which means that the NAT traversal of SIP must be provided by another mechanism. Both of these IP addresses are meaningless outside the scope of each individual’s private local network and neither party will receive the other’s RTP packets.įigure 1 shows a typical ICE deployment with two User Agents (UAs) communicating via SIP (or other signaling protocol that performs an offer/answer exchange of SDP messages). Bob accepts Alice’s invite with his SDP containing his local IP address 192.168.0.10 and media port 1234. Alice calls Bob and Alice’s invite contains Session Description Protocol (SDP) with her local IP address 10.1.1.10 and media port 1234.
#Qtox connection problems how to
This private IP address is meaningless to a device on the public Internet and the registrar would not know how to reach Bob.Ī second example involves problems in sending Real-time Transport Protocol ( RTP) media. This tells the registrar that Bob can be reached at the IP address 192.168.0.10 at port 5060 (the default SIP port). The SIP device registers its location with the registrar as sip: :5060. The SIP device has a non-routable Private IP address 192.168.0.10. The presence of a Network Address Translator (NAT) presents problems for Voice over IP (VoIP) and WebRTC implementations.Ĭonsider the example using the Session Initiation Protocol ( SIP) where a SIP device with user Bob sits behind a NAT/Firewall and wants to register its location with a SIP registrar located on the public Internet. ICE uses a combination of methods including Session Traversal Utility for NAT ( STUN) and Traversal Using Relay NAT ( TURN). Interactive Connectivity Establishment (ICE) Protocol is used for NAT transversal.
