I'm using set_contact_alias() to fix nat registrations, in this case with a 
Bria client.
Somehow Bria learns that I'm using this - probably through the Contact in the 
200 OK reply of save(). Bria then adds this to the Contact when replying to 
incoming INVITE.

After some time, something happens in the network at client side and the 
connection gets a new port through the router. Bria does not notice and still 
sends the old alias-parameter with the port not used anymore. When I'm calling 
handle_ruri_alias(), Kamailio reads this instead of the actual port and the ACK 
to 200 OK is sent to a port not used anymore.

This can probably be solved by either, in preferred order:
- rewrite set_contact_alias() and add_contact_alias() to replace existing alias 
parameters 
- regexp remove of alias parameter from Contact of all messages coming from 
clients
- regexp remove of alias parameter from Contact returned by save()

Br,
Morten

-- 
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
_______________________________________________
Kamailio (SER) - Development Mailing List
sr-dev@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-dev

Reply via email to