takiyahnoble — 2012-07-09T18:27:04-04:00 — #1
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 — 2012-07-09T19:24:48-04:00 — #2
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 — 2012-07-09T20:22:45-04:00 — #3
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.
alan — 2012-07-09T22:10:19-04:00 — #4
I see. Can you ssh into the system?
takiyahnoble — 2012-07-09T22:13:49-04:00 — #5
Yes, I can access the installation via SFTP.
alan — 2012-07-09T22:50:29-04:00 — #6
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 — 2012-07-09T23:57:38-04:00 — #7
Look at "Include Server Name in Browser" in the advanced settings. You might have to turn on the hidden stuff.
takiyahnoble — 2012-07-09T23:58:23-04:00 — #8
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.
dungeonmaster3000 — 2012-07-10T08:43:50-04:00 — #9
if you goto Settings > Asterisk SIP Settings and click the auto configure button - does that show you it?
w5waf — 2012-07-10T09:06:51-04:00 — #10
What happens when you go to the JAVA SSH Terminal?
Can you log in there and then do an ipconfig?
dungeonmaster3000 — 2012-07-10T10:29:32-04:00 — #11
w5waf — 2012-07-10T10:46:45-04:00 — #12
dungeonmaster3000 — 2012-07-10T10:48:03-04:00 — #13
sorry Bill, was just teasing the typo.
alan — 2012-07-10T11:10:42-04:00 — #14
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 — 2012-07-10T11:51:55-04:00 — #15
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 — 2012-07-10T12:42:11-04:00 — #16
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.
w5waf — 2012-07-10T12:50:07-04:00 — #17
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?
alan — 2012-07-10T12:52:48-04:00 — #18
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 — 2012-07-10T13:12:27-04:00 — #19
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.
darkod — 2012-07-10T14:46:30-04:00 — #20
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.
next page →