1 how the peer-to-peer sip connection works, Figure 66 a peer-to-peer example – ZyXEL Communications IP PBX X6004 User Manual
Page 165

Chapter 6 Server
X6004 User’s Guide
165
6.11.1 How the Peer-to-Peer SIP Connection Works
The following is a basic explanation of how the X6004 creates a peer-to-peer SIP
connection between two IP phones within the same host range.
1
The first phone (A) sends an invite for the other phone to the X6004. This invite
includes its IP address and which codecs it can use.
2
Next, the X6004 accepts the invite on behalf of the second phone (B) and sends
an acknowledgement back to A.
3
The X6004 sends an new invite to B. This invite includes the X6004’s IP address
and the codecs it has in common in with A.
For example, if A says it can use the G.723, Speex, and GSM codecs but the
X6004 is set to G.723, then the X6004 lets B know that only the G.723 codec is
available for the telephone call.
4
When B accepts the invite from the X6004, it sends back an acknowledgement.
The X6004 has now received confirmation from both phones of their IP addresses
and an mutually agreed upon codec.
5
The X6004 sends out a re-invite to both A and B that includes both IP addresses
and the codec to be used. This allows the two phones to create a bridge directly
with one another. The X6004 then removes itself from the communication chain.
Note: If either phone A or B requests to use a feature specific to the X6004, such as
call parking or music on hold, the X6004 interrupts the direct communication
bridge and re-establishes control of the two SIP connections.
Figure 66 A Peer-to-Peer Example
Bridge
X6004
A
B