I have an Asterisk server that I am trying to get set up with flowroute. I am able to get it to register and make incoming calls just fine. However, when I try to call out I am getting the message
netsock2.c:303 ast_sockaddr_resolve: getaddrinfo("flowroute", "(null)", ...): Temporary failure in name resolution
I am following flowroute’s instructions from here
The place where I believe the problem is in extensions.conf at the outgoing context section
[outgoing]
exten => _1NXXNXXXXXX,1,Dial(SIP/${TECHPREFIX}${EXTEN}@flowroute)
exten => _NXXNXXXXXX,1,Dial(SIP/${TECHPREFIX}1${EXTEN}@flowroute)
exten => _NXXXXXX,1,Dial(SIP/${TECHPREFIX}1${AREACODE}${EXTEN}@flowroute)
exten => _011.,1,Dial(SIP/${TECHPREFIX}${EXTEN:3}@flowroute)
I have done a good bit of research on this issue, and it seems to be either DNS or a SIP issue from what I can tell (I am pretty new to this). My server(ubuntu 18.04) is able to resolve flowroute’s IP from the CLI with no issues.
What would be a good next step in debugging this? Is there a good way to test if this is DNS or something else? Any advice would be appreciated, this is all pretty new to me and I feel a bit over my head trying to get this set up