Skip to content

VoLTE/IMS: INVITE not routed when Request-URI port ≠ Destination-URI port (alias parameter ignored / destination mismatch in Kamailio PCSCF) #552

@nicthenothing

Description

@nicthenothing

When the Request-URI port and the Destination-URI port differ for a specific UE, the INVITE message fails to route correctly, and the call does not get established.
This occurs in scenarios where the “ear” channel and “mouth” channel (i.e., signaling ports seen from UE → PCSCF and PCSCF → UE) are not the same.

In such cases, Kamailio PCSCF appears to select the Destination URI from one socket while the Request-URI (which contains the correct alias and UE port) points to another. As a result, the INVITE is dropped or routed incorrectly.


Key Logs

2025-10-15T13:21:33.638305291Z Destination URI: sip:10.20.7.216:42602;transport=tcp
2025-10-15T13:21:33.638307845Z Request URI: sip:[email protected]:42078

Example of another similar request:

Request-Line: INVITE sip:[email protected]:40404;alias=10.20.7.228434262 SIP/2.0
Request-URI Host: 10.20.7.228
Request-URI Port: 40404

Here, the Destination-URI (42602) and Request-URI (42078) have different ports — leading to the INVITE never reaching the correct UE.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions