Site News |
Our Black Friday section is now online! Click here to check it
Unlimited Incoming/Outgoing cellphone calls with
Quick note! This guide is incomplete. If you have a decent understanding of linux and asterisk, you
can probably fill in the huge gaping holes. Otherwise, I'd stay far far away! At the very least,
don't try this on your production box!
You will need a cellphone with bluetooth. If it does not have bluetooth, it will not work, simple as
that. Also not all phones will work. Personally, I'm using a Motorola Razr V3 (also tested with a
Motorola V551). You also need a usb
bluetooth dongle with a CSR chipset. Broadcom will not work. I would buy this in a regular retail
store so it can be taken back if it has the wrong chipset. I researched this, found the Linksys
USBBT100 which has the correct chipset and great range, and ordered it. When I got it, it was a rev2
with a different chipset. The one I'm using now is a Belkin F8T001V ordered from Circuit City here.
Install [email protected] 2.2 (instructions should be similar, if not identical, for 2.5).
Change the following passwords:
yum -y update
yum install bluez-libs-devel
Is this ok [y/N]: Y
tar xzf bluetoothfiles.tar.gz
Ignore errors about time stamp in future
If you see a message displaying
WARNING WARNING WARNING pertaining to
/usr/lib/asterisk/modules, you can ignore it, those modules are supposed to be there.
chkconfig bluetooth on
service bluetooth start
Now run hcitool scan. You will see output similar to this:
[[email protected] asterisk]# hcitool scan
The 00:12:8A:C7:DA:7C is the MAC address of the phone. Now, we need to edit your bluetooth.conf file
to use this address:
Go to the bottom, you will see this:
;; A Motorola V551
name = Motorola
type = AG
channel = 3
autoconnect = yes
Replace [00:12:8A:C7:DA:7C] with the MAC address you got from hcitool scan (keep the  brackets
surrounding it). Now, another thing that may cause you problems, is the "channel = 3" part. In the
bluetooth.conf, it says to run sdptool search --bdaddr xx:xx:xx:xx:xx:xx 0x111F to find the
correct channel number. For mine it reported channel 7, but would not work for me unless set to 3. In
case this part is important for you, here's how to see what channel it thinks you should use (I'd try
it with channel = 3 first, if that doesn't work then try this, if that doesn't work then start at 1 and
work your way up to 13 and see if you get anything). Once you're done editing the file, hit Ctrl-X to
exit, Y to save, and the enter key to keep the same filename (so Ctrl-X, Y, enter).
The xx:xx:xx:xx:xx:xx is the MAC address (the same one you got from hcitool scan), so in our case the
command will be sdptool search --bdaddr 00:12:8A:C7:DA:7C 0x111F. Your phone does NOT have to
be in Find Me mode to run this tool. Just make sure it's on and the bluetooth service is running. In
my case, the output is:
[[email protected] asterisk]# sdptool search --bdaddr 00:12:8A:C7:DA:7C 0x111F
Searching for 0x111F on 00:12:8A:C7:DA:7C ...
Service Name: Hands-Free voice gateway
Service Description: Hands-Free voice gateway
Service Provider: Cingular
Service RecHandle: 0x10007
Service Class ID List:
"Generic Audio" (0x1203)
Protocol Descriptor List:
Language Base Attr List:
Profile Descriptor List:
The part that interests us is the line right under ""RFCOMM" (0x0003)" which says "Channel: 7". So in
/etc/asterisk/bluetooth.conf, you want to change "channel = 3" to "channel = 7" (again, note that this
did NOT work for me, I had to have it on channel 3).
At this point I rebooted, to make sure everything would start up automatically:
Once it comes back online, Asterisk will start up and attempt to connect to your phone. The first time
this happens, it will ask if you want to connect (say yes) and ask for a PIN. The PIN is 1234. My
phone kept asking if I wanted to connect each time asterisk was rebooted or the phone was powered on,
you should be able to go in your phone menus and set it to just automatically connect and it won't
bother you again.
Next up, actually making and receiving calls and troubleshooting.
Click here for the second page, also still in progress (i.e.,
Questions? Ask in the