How to setup google voice using PIAF 2

First you need to select the PBX in a Flash 2 as the OS (32-bit or 64-bit), then you follow these instructions:
 
1. Securing the web panel access.
After it is up, ssh as root to the server, and type
 
vi /etc/sysconfig/iptables
 
and scroll down and look for this line
 
-A INPUT -p tcp -m tcp --dport 80 -j ACCEPT
 
replace that line with this
 
-A INPUT -p tcp -s your-public-ip -m tcp --dport 80 -j ACCEPT
 
NOTE: your-public-ip is simply the public IP address given by your local ISP. From your PC web browser, go to www.whatismyip.com to find out
To change, press i
To save, press Esc key then wq
If you want to add more IPs, just copy and paste another line below it.
 
2. Securing the server by changing the ssh port.
Look for this line on /etc/sysconfig/iptables
 
-A INPUT -p tcp -m tcp --dport 22 -j ACCEPT
 
and replace it with the port you want to have, say 2289
 
-A INPUT -p tcp -m tcp --dport 2289 -j ACCEPT
 
then type this
 
vi /etc/ssh/sshd_config
 
and look for this line
 
Port 22
 
and change it to 
 
Port 2289
 
3. Now save and restart sshd and iptables by typing
 
service iptables restart
service sshd restart
 
4. Now configure your google voice by going to http://your-ip-given-by-us
 
5. Once there, click on Admin button on bottom left menu then click "FreePBX Administration"
Default login is admin
password: admin (CHANGE THIS ASAP)
 
6. Look for Connectivity menu on top and click Google Voice and just enter your GV username/password/phone number
and select the 3 options:
 
Add Trunk?
Add Outbound Routes?
Send Unanswered to GoogleVoice Voicemail
 
7. Click Submit
 
8. Now we setup extensions for your sip clients by going to Applications menu > Extensions
Select Generic SIP > click Submit
Enter "User Extension" say 100
Copy the secret password (NOTE: Do NOT use easy password, leave it as is)
Leave others as is, if you know what you're doing, you can customize the other options
Click Submit
 
9. Now we setup the inbound and outbound routes for calls.
Click Connectivity menu > Inbound routes
Put Description name, say My Name
On bottom, above Submit button, select Extensions > 100 (one you created above)
Click Submit
 
10. That should be it, now if you setup your extension on your sip phone, when you dial your GV no., it will ring your sip phone.
 
More info/docs can be found at http://www.asterweb.org/i/downloads_tutorial/piaf_without_tears.pdf

Was this answer helpful?

 Print this Article

Also Read

How to setup PBX in a Flash 3.6.5 (piaf 3)

NOTE: This is for KVM based only. We recommend 160GB of HDD space min.First, you need to install...

Web controlpanel

Depending on the VPS plans you have, below is 3 different ways to access the web panel: 1. For...

How to reset admin elastix password

By default, our xen based Elastix 2.5 web panel login is admin and password is ***see welcome...

Default Password

For most parts, password is unique and set in your welcome email. If not, we may use some default...

Operating systems we offer on VPS

We offer all Openvz, Xen or KVM based VPS. Xen based Windows is limited to 32-bit only and 4GB...