Regarding externhost parameter in dip.conf file

I used externhost=mydomain in the configuration file. I’m using dynamic ip. So mydomain already mapped to my dynamic ip via ddns. When i restart my asterisk server it works fine. But my dynamic ip change after every 5 hr. When it occur i lost my audio for calls or getting one way audio.

I saw in a forum that when the dynamic ip change i have to restart the server to solve the ip.But its not practical for me to reload asterisk server in every ip change. Any one have a good advice regarding this issue.

Thx.

If you use externhost= and set that to a dyndns host you must also set externrefresh=. If you set the value to 1800 it will refresh your externhost every 30 minutes.