From GSM to VoIP with Asterisk, Linux and Bluetooth

So you have figured out too that after a long conversation on a GSM phone your listening ear starts getting hot and you feel like your head is in the microwave? It’s time to be able to have a conversation without having to hold the GSM phone to your ear, use a wired headset or even a bluetooth headset. The bluetooth headset would be fine but just isn’t cool enough since it doesn’t do anything with the VoIP part in the title of this article :)

So what’s the solution? How about a server running on Linux (you know Microsoft’s worst nightmare) and the Asterisk Open Source IP PBX. The secret sauce is that you need a GSM phone with Bluetooth support and the cool chan_bluetooth module from Theo Zourzouvillys. It is unlcear at this point if Theo is still developing the module but in good community spirit someone else has already picked up where Theo has (temporarily) left off. David Woodhouse of Red Hat has been adding code and collecting fixes in his own up2date chan_bluetooth cvs tree over at infradead.org. First get David’s latest code by checking it out from cvs:
cvs -d :pserver:anoncvs at cvs.infradead.org:/home/cvs login
(password is ‘anoncvs’)
cvs -d :pserver:anoncvs at cvs.infradead.org:/home/cvs co chan_bluetooth

Make sure you use Asterisk from cvs HEAD and then build and install chan_bluetooth. The config files are pretty self explanatory. Enjoy!