Closed Chali-Anne closed 4 months ago
It's possible to customise the outgoing request/reply header by implementing the callbacks CustomiseRequestHeader and CustomiseResponseHeader on the SIPTransport class. This should allow you to carefully rewrite the contact header.
Are you happy to close this issue?
Sorry for the delay, yes in the end I've turned to the transport to rewrite the contact header. Thank you 🌸
Free softphones such as MicroSIP support IP rewrite, which sets the Contact header to be the public facing address instead of the internal one on subsequent SIP calls. I would like to introduce this concept to SIPSorcery's user agents.