We are working with an ISP that needs Asterisk to place a FQDN name in the SIP ‘FROM’ and ‘INVITE’ fields – where Asterisk is currently using an IP
address. A SIP trace shows the following from my Asterisk box:
INVITE sip:firstname.lastname@example.org SIP/2.0
Via: SIP/2.0/UDP 22.214.171.124:5060;branch=z9hG4bK49f1d30e
From: “MYNAM” ;tag=as3d9596b0
We tried adding hosts file entries mapping these IP’s to hostname’s but Asterisk didn’t use them. Can someone suggest how to do this?