how-to-fix-unable-to-lookup-server_external_ip

Any and all non-support discussions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

how-to-fix-unable-to-lookup-server_external_ip

Postby carpenox » Mon Mar 17, 2025 7:55 am

here you go for those who have been asking me about this

easy fix - https://dialer.one/index.php/how-to-fix ... ternal_ip/


Chris
Alma Linux 9.5 | SVN Version: 3919 | DB Schema Version: 1725 | Asterisk 18.26.0 | PHP8
https://dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
DC: https://discord.gg/DVktk6smbh -:- TG: https://t.me/+wkDmkF9U4aUxOGYx
carpenox
 
Posts: 2581
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: how-to-fix-unable-to-lookup-server_external_ip

Postby williamconley » Wed Mar 26, 2025 3:50 pm

Is Use of this is limited to a flaw in the system that tries to look up an IP rather than a domain, and the IP in question happens to be the external IP?

Would it make more sense to convert this to "localhost" or 127.0.0.1 if the IP is that of the server in question?

Also (if you want traffic on this post) you should consider using the text of the actual error. "resolve_first: Unable to lookup ..." and "Name or service not known".

This error also occurs when the FQDN supplied by a carrier or co-company is deleted, thus making it impossible to look up. And then the best resolution is to delete that hostname entry from the carrier (and/or deactive/delete the carrier, of course).
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20409
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: how-to-fix-unable-to-lookup-server_external_ip

Postby carpenox » Thu Mar 27, 2025 1:22 pm

its in relation to pjsip which no one is really using yet anyways, its to set the servers IP like external ip feature in sip.conf
Alma Linux 9.5 | SVN Version: 3919 | DB Schema Version: 1725 | Asterisk 18.26.0 | PHP8
https://dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
DC: https://discord.gg/DVktk6smbh -:- TG: https://t.me/+wkDmkF9U4aUxOGYx
carpenox
 
Posts: 2581
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: how-to-fix-unable-to-lookup-server_external_ip

Postby williamconley » Thu Mar 27, 2025 1:34 pm

does the actual error contain EXTERNAL_SERVER_IP or is it an IP address?
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20409
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: how-to-fix-unable-to-lookup-server_external_ip

Postby carpenox » Thu Mar 27, 2025 11:54 pm

it contains the actual words
Alma Linux 9.5 | SVN Version: 3919 | DB Schema Version: 1725 | Asterisk 18.26.0 | PHP8
https://dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
DC: https://discord.gg/DVktk6smbh -:- TG: https://t.me/+wkDmkF9U4aUxOGYx
carpenox
 
Posts: 2581
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: how-to-fix-unable-to-lookup-server_external_ip

Postby williamconley » Fri Mar 28, 2025 1:25 pm

carpenox wrote:it contains the actual words


You may want to edit your original post to contain the string it will contain. For Google Search purposes. Much more useful if people find it. I'm opposed to the "help" being off this forum, but if it's helpful then it's better to have it findable on this system even if you bounce to your site for the final fix.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20409
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)

Re: how-to-fix-unable-to-lookup-server_external_ip

Postby carpenox » Sat Mar 29, 2025 11:32 am

sudo sed -i 's/SERVER_EXTERNAL_IP/0.0.0.0/' /etc/asterisk/pjsip.conf
Alma Linux 9.5 | SVN Version: 3919 | DB Schema Version: 1725 | Asterisk 18.26.0 | PHP8
https://dialer.one -:- 1-833-DIALER-1 -:- https://linktr.ee/CyburDial -:- WA: +19549477572
DC: https://discord.gg/DVktk6smbh -:- TG: https://t.me/+wkDmkF9U4aUxOGYx
carpenox
 
Posts: 2581
Joined: Wed Apr 08, 2020 2:02 am
Location: St Petersburg, FL

Re: how-to-fix-unable-to-lookup-server_external_ip

Postby williamconley » Mon Mar 31, 2025 10:07 am

carpenox wrote:sudo sed -i 's/SERVER_EXTERNAL_IP/0.0.0.0/' /etc/asterisk/pjsip.conf


sorry: I meant the error string(s). verbatim. That's what end users will see and search for.
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20409
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to General Discussion

Who is online

Users browsing this forum: No registered users and 16 guests