The following diagram adds more details.
Interactions between the UE, Visited and Home network are covered. The
individual networks are treated as black boxes.
The Originating P-CSCF resides in the visited network. It
acts as the Originating UE's gateway into the home network. The Originating P-CSCF is
responsible for:
Routing the SIP INVITE to the
Originating P-CSCF.
Routing the "183 Session Progress" to
the Originating UE after obtaining a media authorization token.
Routing all the messages over the SIP
dialog established in the initial handshake.
The terminating I-CSCF resides in the home network
for the called subscriber. It
acts as the front-end of the called IMS network. The I-CSCF is responsible
for:
Locating the called subscriber's S-CSCF
by querying the HSS.
The Terminating P-CSCF resides in the home network. It
acts as the Terminating UE's proxy into the home network. The Terminating P-CSCF is
responsible for:
Routing the SIP INVITE to the
Originating P-CSCF after obtaining a media authorization token.
Routing the "183 Session Progress" to
the Terminating S-CSCF .
Routing all the messages over the SIP
dialog established in the initial handshake.