FQDN in the contact header

Im peering with a SIP system over TLS which requires to send the FQDN in the host portion of the contact header. Im using the externhost parameter but this resolves to an IP address and insert it into the contact header. Is there a way to force FQDN?

Neither chan_sip or chan_pjsip allow placing a FQDN in the Contact header. You’d have to make code modifications and add support for such a thing.

Thanks, then I might need to put something in the middle

OK, I modified chan_sip it works now

Hello zrepasi,
maybe you are willing to share where you modified it in chan_sip. I would be really interested.