When I start my Ubuntu system it attempts two DNS lookups. One to find out what my internet-routers external ip is. And one to find the IP of my PSTN-SIP-provider.
[Apr 7 22:14:54] WARNING chan_sip.c: Invalid address for externhost keyword: sip.mydomain.com ... [Apr 7 22:14:54] WARNING acl.c: Unable to lookup 'sip.myprovider.com'
And since the DNS fails it cannot register properly a cannot make outgoing or incoming calls.
If I later, after bootup, restart asterisk everything works excelent.
Any idea how I should setup things so that either:
Delay Asterisk startup so that DNS is up and healthy first.
Somehow get Asterisk to re-try the DNS thing later.