DNS Resolution issue

fahcsim

New Member
Joined
Dec 5, 2020
Messages
2
Reaction score
0
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

Code:
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

Code:
[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
 
I'm thinking you need to post more information -
Are you using incrediblepbx or plain asterisk, or maybe something else? Which image have you used
Is it in the cloud or bare metal. Is it asterisk 11 or 13 or 16 or 18 ?

If this is a PIAF or 'incrediblepbx' you should be able to post the result of the linux cli command
Code:
 pbxstatus
Regards
 
I'm thinking you need to post more information -
Are you using incrediblepbx or plain asterisk, or maybe something else? Which image have you used
Is it in the cloud or bare metal. Is it asterisk 11 or 13 or 16 or 18 ?

If this is a PIAF or 'incrediblepbx' you should be able to post the result of the linux cli command
Code:
 pbxsetup
Regards

This is in the cloud on Linode. Running plain Asterisk 16.2.1, OS is Ubuntu 18.04
 
Make sure there is a DNS in /etc/resolv.conf
 
So, I have to ask -- in /etc/asterisk/sip.conf do you have a proper context [flowroute] with you connection information ?

All you have shown here is "flowroute" which is not a valid DNS QDN. and you errors are NOT theat it can't resolve flowroute.com or some lengthier FQDN but rather it can't resolve "flowroute".

Of course I have never used this provider so I may be way off base here ..
 
Flowroute user here for many years. How are you authenticating with Flowroute? Registration, or IP?

Have you set the data center that you will be connecting to in the flowroute dashboard?

1607961927304.png
 

Members online

No members online now.

Forum statistics

Threads
26,688
Messages
174,412
Members
20,259
Latest member
Fadeek86
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top