handle_ruri_alias() only handle alias in Request-URI, not the Contact returned 
by the registrar for REGISTER.

For most phone clients this is not a problem but Bria used that info in 
subsequent requests.
So, when the proxy again doing set_contact_alias() on an INVITE from Bria 
(already containing an alias), you'll end up with two alias parameters. One of 
them might be outdated if port/source-ip has changed through NAT since initial 
registration.

When proxy then calls handle_ruri_alias() the first parameter is handled and 
removed, and you'll send the one which the proxy actually added back to the 
client. The ip/port used in the reply might be wrong if the alias Bria added is 
outdated.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2308#issuecomment-652963591
_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to