Many thanks for the review and help with this!

Is it only for SUBSCRIBE or is it required for INVITE as well or UE remembers it from the response to SUBSCRIBE?

This was just for the SUBSCRIBE which the P-CSCF itself originates, in UAC mode (so not the proxied SUBSCRIBE from a UE). I think this could also be routed through the I-CSCF, but I found that 3GPP said to skip that extra "work" (at HSS also) and target directly the same S-CSCF which indicated itself in the "Service-Route" header during registration.


Otherwise, for UE originated requests:

And in case the UE misbehaves, the P-CSCF must enforce all of these routes. (e.g. the pcscf_force_service_routes() from ims_registrar_pcscf should do it, respectively something similar from dialog/ims_dialog)


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: <kamailio/kamailio/pull/3901/c2214646300@github.com>