We have an issue where one of our SIP providers has changed the IP they would like to receive traffic from us on. Although we hate the idea of using DNS at all on our Asterisk system, this provider prefers that we use their DNS name to send them outbound traffic.
We could send traffic directly to their IP address by replacing the DNS name with IP address in sip.conf but this is not my preference. I would prefer to figure out why, Asterisk is still sending traffic to their old IP address.
When I ping the hostname at the command line in CentOS, I get the correct IP address back but, our provider says we have sent hundreds of calls to them in the last 24 hours to the old IP address.
Does Asterisk need to be restarted in order to do a new DNS lookup and send the traffic to the correct address? It seems to me I have always noticed Asterisk doing DNS lookups at startup time.
Is my only choice to restart Asterisk on our live system and kill all the live calls?
Thanks in advance.