@startuml "TD_VoLTE_ECO_INT_INI_06.png"


!include etsi-style.iuml
!pragma teoz true
'
'Figure: Emergency Session Establishment with LRF, PSAP in other IM CN subsystem
'
''title Figure : Emergency Session Establishment with LRF, PSAP in other IM CN subsystem
'
participant "UE A"
box "EPC A" #LightBlue
  participant PGw
  participant "PCRF"
end box
box "IMS A" #LightBlue
	participant "P-CSCF"
	participant "E-CSCF"
      participant "LRF"
	participant "IBCF"
end box
	participant "PSAP"

rnote right  "UE A"         : Gm
& rnote right "P-CSCF"      : Mw
& rnote right "E-CSCF"      : Ml, Mx
& rnote left  "IBCF"        : Mx
& rnote right "IBCF"        : Ici
& rnote right "PCRF"        : Rx
& rnote right "PGw"         : Gx
& rnote left  "LRF"         : Ml

'
"UE A"     ->   "P-CSCF"    : INVITE
"P-CSCF"   ->   "PCRF"    : AAR
rnote over "PCRF", PGw #FFAAAA: Policy decision
"PCRF"   ->   "PGw"       : RAR
rnote over "PCRF", PGw  #FFAAAA: Installation of the Session Bearer
"PGw"      ->   "PCRF"    : RAA
& "PCRF" ->   "P-CSCF"    : AAA
"PGw"      ->   "PCRF"    : CCR
& "PCRF" ->   "P-CSCF"    : RAR
 "P-CSCF"  ->   "PCRF"    : RAA
& "PCRF" ->   "PGw"       : CCA
 "P-CSCF" ->   "E-CSCF"    : INVITE

rnote over "E-CSCF", LRF #FFAAAA: Network operator determined LRF use
 "E-CSCF" ->   "LRF"    : INVITE
 "LRF" ->   "E-CSCF"    : 3xx Any\n(Contact header with LRF provided SIP_URI)
rnote over "E-CSCF", PSAP #FFAAAA: PSAP in other IM network
 "E-CSCF" ->   "IBCF"    : INVITE\n(Route header with LRF provided SIP_URI)
& "IBCF" ->   "PSAP"  : INVITE
"PSAP" ->   "IBCF"    : 183 Session Progress\n(SDP answer)
& "IBCF" ->   "E-CSCF"    : 183 Session Progress\n(SDP answer)
& "E-CSCF" ->   "P-CSCF"    : 183 Session Progress\n(SDP answer)
& "P-CSCF" ->   "PCRF"    : AAR
& "PCRF" ->   "PGw"       : RAR
rnote over "PCRF", PGw #FFAAAA: Modification of the Session Bearer 
"PGw"      ->   "PCRF"    : RAA
& "PCRF" ->   "P-CSCF"    : AAA
"P-CSCF"   ->   "UE A"      : 183 Session Progress\n(SDP answer)
"UE A"     <--> "PSAP"  : Early Media
"PSAP" ->   "IBCF"    : 180 Ringing
& "IBCF" ->   "E-CSCF"    : 180 Ringing
& "E-CSCF" ->   "P-CSCF"    : 180 Ringing
&"P-CSCF"   ->   "UE A"      : 180 Ringing
"PSAP" ->   "IBCF"    : 200 OK
& "IBCF" ->   "E-CSCF"    : 200 OK
& "E-CSCF" ->   "P-CSCF"    : 200 OK
& "P-CSCF"   ->   "UE A"      : 200 OK
"UE A"     ->   "P-CSCF"    : ACK
& "P-CSCF" ->   "E-CSCF"    : ACK
& "E-CSCF" ->   "IBCF"    : ACK
& "IBCF" ->   "PSAP"  : ACK
"UE A"     <--> "PSAP"  : Media Exchange
@enduml
