post #1 of 1
Thread Starter 
If the admins would rather move this post to another forum section that is fine.

And if you want to get technical it's not really free because it requires an ISP, electricity, and a PC. But I'm assuming if you're able to even read this you have all of those things.

Forewarning
Quote:
This will require a little bit of work, and possibly luck. On my end it went smoothly, but there could be problems with different hardware. It also might help if you have a tad bit of experience with the bash prompt just so you understand what is going on, but it's not required. This is also for the more experienced PC user, but I have faith that most everybody who comes to this site can easily handle this tutorial it just requires some patience is all.
Tutorial http://nerdvittles.com/?p=712
VirtualBox http://www.virtualbox.org/
X-Lite http://www.counterpath.com/x-lite-download.html

I myself did this through a VirtualBox, but there are other methods which are explained on his site under the Telephony section. Basically though they are pretty much the same tutorial.

My VirtualBox had these settings, you can further tweak them if you like, but this is around the bare minimum that you can use for it to install and run.

Base Memory: 512 MB
Processors: 1 or 2 Processors
Virtual Disk Drive: 4 GB
Video Memory: 12 MB
Network: Bridged Adapter
Audio: Disabled
USB: Disabled

Memory Usage



Disk Space



Key points to remember.
You'll see most of these points on the tutorial site, but I'll just help you out with very key information so you don't overlook anything.

1.
If you're going to use a VirtualBox like I did you'll need to bridge the main interface that you're using for the internet and the Virtualbox interface under network connections in Windows. Then in your VirtualBox Settings for Network you'll choose Bridged Adapter, and it will pop up the bridge adapter that Windows created when you bridged them. MAC Bridge Miniport is the device you will select in the drop down box.
2.
When choosing your Google Voice number see if you can get something that has a word in it such as ex. 1-800-word. This is just to look like a complete tool when handing out your phone number to people.
3.
VERY IMPORTANT: Be sure to enable the Google Chat option as one of your phone destinations in Settings, Voice Setting, Phones. That's the destination we need for The Incredible PBX to work its magic! Otherwise, all inbound and outbound calls will fail. If you don't see this option, you may need bring up Gmail and enable Google Chat there first. Then go back to the Google Voice Settings.



While you're still in Google Voice Settings, click on the Calls tab. Make sure your settings match these:

* Call Screening - OFF
* Call Presentation - OFF
* Caller ID (In) - Display Caller's Number
* Caller ID (Out) - Don't Change Anything
* Do Not Disturb - OFF

4.
Firewall Configuration. We hope you've taken our advice and installed a hardware-based firewall in front of The Incredible PBX. It's your phone bill. You'll need to make one adjustment on the firewall. Map UDP 5222 traffic to the internal IP address of The Incredible PBX. This is the port that Google Voice uses for phone calls and Google chat. You can decipher the IP address of your server by logging into the server as root and typing status.
5.
I wouldn't recommend having it fall back to the Google Voicemail for now, and the comment from Nerd Vittles below explains why. You will understand this if you go through the whole tutorial, and try pushing it to Google Voicemail. This is how you do it, but make note of what you're changing if you just want to test it so you know how to edit it back to the original form. But trust me you'll be changing it back to go ahead and use the FreePBX for voicemail.

Quote:
To activate this, you'll need to edit the [googlein] context in extensions_custom.conf in /etc/asterisk. Just modify the last four lines in the context so that they look like this and then restart Asterisk: amportal restart

;exten => s,n(regcall),Answer
;exten => s,n,SendDTMF(1)
exten => s,n(regcall),Set(DIAL_OPTIONS=${DIAL_OPTIONS}aD(:1 ))
exten => s,n,Goto(from-trunk,gv-incoming,1)
Quote:
Originally Posted by Comment from Nerd Vittles Tutorial

Comment: Gregory Gleason

I got this working, and outbound works, but for incoming calls, my SIP station doesn’t get a call until the 4th ring to my dedicated GV number, and I only get MAYBE one ring before GV mail answers. I am using the above recommendation for allowing GV mail to work.
End Comment

Comment: thund3rhawk
I have this same problem, and I guess it’s because Google Voice only allows so many rings before it kicks in it’s answering service.

Does that sound right?
End Comment

Comment: Ward Mundy
[WM: Yep. That's the drawback at the moment since you can't alter the number of rings before Google's voicemail kicks in.]
End Comment
6.
And also pay very close attention to the passwords you use, make them very difficult, write logins down, and just have fun with it. Google is your friend, and so is the man command (manual pages).

This should get you up and running, but there is much more to learn beyond this so take your time and be patient if you decide to delve deeper into it. Also you can login to the PBX in a Flash (PIAF) at whatever the IP that it set for your server into a web browser you'll need to know the logins, but that is why I told you to write it down. I'll let you tinker with that, and figure it out on your own. I hope some of you get your phones up and running, and enjoy the ride like I did. It's a great learning experience, and I wish you the best of luck on your phone line setup.
Edited by goonies - 2/3/11 at 11:13am
BlueKnight
(10 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5 750 MSI P55-GD65 BFG NVIDIA GeForce GTX 260 OC MAXCORE 55 896MB Crucial Ballistix Tracer 2x2GB DDR3 1600 (Blue) 
Hard DrivePowerCase
WD Caviar Black FALS 1TB 7200 RPM 32MB Cache SilverStone Strider Plus ST85F-P 850W 80 Silver SilverStone Raven RV02 
  hide details  
Reply
BlueKnight
(10 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5 750 MSI P55-GD65 BFG NVIDIA GeForce GTX 260 OC MAXCORE 55 896MB Crucial Ballistix Tracer 2x2GB DDR3 1600 (Blue) 
Hard DrivePowerCase
WD Caviar Black FALS 1TB 7200 RPM 32MB Cache SilverStone Strider Plus ST85F-P 850W 80 Silver SilverStone Raven RV02 
  hide details  
Reply