Description

The docs for set_contact_alias() says:

The new contact URI is immediately visible to other modules in the way the fix_nated_contact() does it.

I don't know exactly what is meant by the last part of that sentence as that isn't documented, but the first part certainly doesn't hold:

The following snippet:

xlog("L_INFO", "  Received Contact: $ct");
if (set_contact_alias()) {
    xlog("L_INFO", "  Aliassed Contact: $ct");
}

Causes these log entries:

2022-07-26T15:41:57.351148+02:00 proxydev001 prx1[12116]: INFO:   Received Contact: sip:sipp@unknowndomain;transport=udp
2022-07-26T15:41:57.351148+02:00 proxydev001 prx1[12116]: INFO:   Aliassed Contact: sip:sipp@unknowndomain;transport=udp

Which clearly shows that the changed uri is not visible to the pv module (which exports $ct).


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/issues/3201@github.com>