Where do I find the Asterisk Internal IP Address with this new GUI?

30 posts / 0 new
Last post
TakiyahNoble
TakiyahNoble's picture
Where do I find the Asterisk Internal IP Address with this new GUI?

I apologize for this painfully noob question, but...
Where do I find the Asterisk Internal IP Address with this new GUI? Need it for a softphone configuration.

I saw online that the old interface had it as plain as day, but I am clearly missing something somewhere with this new interface.

Thank you for your patience.

alan_mousty
alan_mousty's picture
If you are logged into the

If you are logged into the GUI to see the address would you not already know the address since you had to type it in to get to the GUI?

TakiyahNoble
TakiyahNoble's picture
No, I Don't Know the Address

Hi Alan,
No, my developer set it up on an Amazon EC2 instance where all I have to do is type my dynamic IP address along with the port number in the browser.

That takes me to the main screen that has a link to "Voicemail and Recordings (ARI)" and a link to "FreePBX Administration" right beneath it. When I click on the FreePBX Administration link, it takes me to the main login screen where I input my username and password.

After successful login, I see the GUI.

"I have never let my schooling interfere with my education." - Mark Twain

alan_mousty
alan_mousty's picture
I see. Can you ssh into the

I see. Can you ssh into the system?

TakiyahNoble
TakiyahNoble's picture
Yes... SFTP

Yes, I can access the installation via SFTP.

"I have never let my schooling interfere with my education." - Mark Twain

alan_mousty
alan_mousty's picture
SFTP is not an SSH login to

SFTP is not an SSH login to the shell.

I am not sure how to determine the IP of the EC2. Normally I would just login to the box and look at how the interfaces sere configured.

alan_mousty
alan_mousty's picture
Look at "Include Server Name

Look at "Include Server Name in Browser" in the advanced settings. You might have to turn on the hidden stuff.

TakiyahNoble
TakiyahNoble's picture
Thanks for your input

Thanks for your input, Alan.

I am going to ask my developer to find out that way. We are trying to connect the Counterpath Softphone to Asterisk. Asterisk, but apparently I am putting in the wrong internal (local) ip address because it isn't working.

Sigh.

"I have never let my schooling interfere with my education." - Mark Twain

DungeonMaster3000
DungeonMaster3000's picture
if you goto Settings >

if you goto Settings > Asterisk SIP Settings and click the auto configure button - does that show you it?

w5waf
w5waf's picture
What happens when you go to

What happens when you go to the JAVA SSH Terminal?
Can you log in there and then do an ipconfig?

Bill/W5WAF
IT Specialist
City of Vicksburg, MS

DungeonMaster3000
DungeonMaster3000's picture
*ifconfig

*ifconfig

w5waf
w5waf's picture
Yeah...ifconfig.

Yeah...ifconfig.

Bill/W5WAF
IT Specialist
City of Vicksburg, MS

DungeonMaster3000
DungeonMaster3000's picture
sorry Bill, was just teasing

sorry Bill, was just teasing the typo.

w5waf
w5waf's picture
With me...It's a wonder it

With me...It's a wonder it came out as closely as it did.

I wonder if you could do a "route" command and see anything?

BF

Bill/W5WAF
IT Specialist
City of Vicksburg, MS

alan_mousty
alan_mousty's picture
I don't think that you will

I don't think that you will be able to determine the external IP of the system with ifconfig. This is an Amazon EC2 virtual server. It has private internal addresses that are not visible from the internet and it has public addresses that are basically NATed.

Dam to microsoft for making it ipconfig on windows.

darkod
darkod's picture
I might be wrong but isn't

I might be wrong but isn't the dynamic IP you mentioned the public IP we are all talking about?

If you can reach FreePBX Admin on that IP, that means the server is there (NATed), since FreePBX is running on the same server. So that's your IP.

As long as it is set up to always work with the IP you are typing in, you don't care about the exact public/private addresses.

TakiyahNoble
TakiyahNoble's picture
Darkod, you are absolutely right

Hi Darkod,
you are absolutely right. The dynamic IP address is the public IP address and my developer says that it is NATed here.

My developer did provide an internal IP address that started off with 10. (rather than (192.)

Hmmm... this is weird; the softphone won't connect to the Asterisk server whether we use the dynamic ip address provided or the internal IP address the developer found with the ifconfig.

We are using Eyebeam (the paid version of XLite) by Counterpath.

When I contacted Counterpath support, they suggested I check the internal IP address again.

Looking at the sip.conf files, it's set up to work with Anveo.com because they are my SIP trunking and DID provider.

"I have never let my schooling interfere with my education." - Mark Twain

alan_mousty
alan_mousty's picture
You need to know the NATed

You need to know the NATed address that is presented to the Internet. 192. and 10. addresses are private address space and NEVER get routed to the Internet.

Probably the simplest thing to do is ask whom ever set it up for you what the public IP address is.

TakiyahNoble
TakiyahNoble's picture
So softphones don't need internal IPs?

I apologize because I am painfully new to all of this. The NATed public IP address is definitely the dynamic IP address.

So, softphones don't need an internal IP address for setup?

The current setup is that I have is this: I bought a DID number from Anveo.com. These SIP registration details are in my Asterisk sip.conf files.

Then, I added the SIP trunk information in FreePBX.

I am wondering now if I need to register the SIP device with the same username and password I was given from Anveo rather than creating a unique username and password like what has been instructed in online tutorials.

"I have never let my schooling interfere with my education." - Mark Twain

darkod
darkod's picture
Does the status of the SIP

Does the status of the SIP Trunk in FreePBX say connected or similar?

For the phone, you will need to create one extansion in FreePBX. Then you will need to configure the phone with that username and password that you entered when creating the extension.

Also, since your server is hosted, you need to be sure that port 5060 is allowed through any firewall that might be in front of the server, and that the port is forwarded to the private IP of the server on the inside network where it is.

Maybe they set up only the port you use to access the FreePBX Admin, and not any other ports? When your phone looks for the dynamic/public IP, it will reach the outside interface where the server is hosted. If port 5060 is not forwarded to your server, the phone will never reach it and authenticate with the extension login details.

TakiyahNoble
TakiyahNoble's picture
Thank you for the explanation.

Thank for so much for the thorough explanation of this.

Yes, my SIP trunk reads "online" and has a green status. In fact, it reads all of the other SIP registrations that I created with that particular trunk. In fact, the SIP trunk information I had to input required that I specify the port being 5010.

I think you may have isolated the issue. Anveo communicates only on port 5010. And my developer told me the Asterisk call manager is running on port 5038. Yet, I notice that the default settings for my SIP devices are set to run through port 5060.

There clearly is no uniformity in ports and call handling.

"I have never let my schooling interfere with my education." - Mark Twain

darkod
darkod's picture
You have to make a

You have to make a distinction when talking about the ports. Standards do exist, and the standard default port for SIP is 5060. However, that doesn't mean that providers can't configure their equipment to listen for the service on another ports, to improve security, etc.

If your SIP provider told you to use port 5010, you should use that for your SIP trunk. You already said the trunk is online.

If the developer told you Asterisk is running on port 5038, him (or someone else) changed the default 5060 into 5038. That means in all your hardware and softphones that you want to register on your Asterisk/FreePBX server you need to change the port to 5038 otherwise they won't be able to communicate with Asterisk.

Andre Pretorius
Andre Pretorius's picture
I am also waiting

I am also waiting for the answer to the original question.

Where do I change network settings using the new GUI.

I am not a command line person and would prefer GUI's.

TakiyahNoble
TakiyahNoble's picture
Andre, I'll Respond in a Few Days (Promise)

Hey Andre,
I'm currently transitioning my entire site over to a cleaner server and of course, I can't go into the GUI at the moment to give you the information. Go figure, right? Smile

But, I'll make sure to post it when it's all said and done (although you very well may have had your question answered by then).

I'll also post some screenshots of what the entire GUI should look like too. Everyone (myself included) assumed that I had all of the modules correctly installed, but I didn't. In fact, I had an embarrassing amount of modules missing.

When I paid for professional support; Matt Schadt wrote:

"Looks like asterisk was installed from epel repos which are limited to the packages they provide, as well updates usually take longer to get published the epel repos. If you plan to add any more functionality to asterisk down the road you may want to have it rebuilt from source to ensure all the packages are built into it and available should you need them, usually takes about an hour. As I mentioned on the phone using the FreePBX distro is the best option as it already has everything pre-compiled into it, but running in the amazon cloud I don't think you have the option to install from a CD."

So, people were telling me to look in areas of the setup that didn't even exist in my particular instance. Which didn't do much good. And, I don't want to make the same assumption with you... especially if you are running it on an EC2 instance.

"I have never let my schooling interfere with my education." - Mark Twain

Andre Pretorius
Andre Pretorius's picture
Gui to change network settings.

Hi Taki, I downloaded the newest FreePbx distro and installed on a new machine.

stonet
stonet's picture
Go to axterisk sip settings

Go to axterisk sip settings and click auto configure. That should give you all the info.

Andre Pretorius
Andre Pretorius's picture
I am not sure what you mean

I am not sure what you mean. I am sure I have missed something or I am getting old or blind.

Can't see where to change the IP.

Please excuse my ignorance. Have you got a step by step instruction on how to do it, or screen shots?

Thank you in advance.

SkykingOH
SkykingOH's picture
Nadre, In the future please

Nadre,

In the future please don't hijack threads. This was not about 'changing' the IP

You don't change IP's from FreePBX. FreePBX installs on an OS. Whatever OS you installed it on you need to use that systems facilities for changing the IP address of your interfaces.

Asterisk only needs to bind to one IP in the event of multiple IP's and NAT.

Andre Pretorius
Andre Pretorius's picture
No problem, thanks,

No problem, thanks, downloaded the beta distro and busy installing now.

SkykingOH
SkykingOH's picture
Ok, and remember you are not

Ok, and remember you are not in the distro forum. So discussions about OS's and such need to take place their.

With the distro you can use the sysconfig module to update network adapter settings.