IP address in Call-ID header

Hello, I don’t know why I have an old local IP in my SIP headers (
Call-ID: 7064366527b5418a6de280395074efd2@

Some time ago I changed IP of my pbx and the old IP is definitely not defined anywhere inside /etc/asterisk nor in /etc/sysconfig

Any ideas from where Asterisk takes this IP? My Asterisk is 15.3.

You haven’t specified which SIP channel driver is in use (chan_sip or chan_pjsip) so it’s hard to answer. That being said within a Call-ID it doesn’t matter. The Call-ID is just a globally unique string which identifies the call, the IP address is added to add a bit more uniqueness.

I’m still using chan_sip driver. From the time I have changed IP address I also updated my Asterisk version from 1.8 to 15.3. This is very interesting where this IP is remembered?

I don’t recall for chan_sip, but it may be the result of looking up the local hostname in /etc/hosts

just checked that earlier, I have only this in /etc/hosts : localhost mypbx.localdomain localhost4 localhost4.localdomain4
::1 localhost localhost.localdomain localhost6 localhost6.localdomain6 mypbx

where is my current IP address