When I first started this project I wanted to document my progress live on this blog but I’ve forgetten. So I’ll start off half way. (Which my primary objectives in this project is already complete, the secondary objective is the hard part, obviously why I made it secondary)
I’ve already got Asterisk working on normal Softphones which it can now called each other.
OpenVPN is also already working by being able to connect both sides (Australia and Malaysia).
I’ve tested voice talks with my sister who’s currently in Malaysia, voice quality isn’t bad afterall, seems like there’s future for my project, really happy.
What I’m currently stuck at now is chan_mobile. I am finally able to get it installed into Asterisk as an add-on after much trouble and countless research. The only thing now is that it couldn’t pair with my phone. Whenever Asterisk tries to pair it with my phone, and when I enter the passkey, it fails without a reason.
Today, I stayed back at the office in order to work on this. It’s 6:30pm now, way pass my office hours and I’m still here. Because the stupid Internet connection back at home ran out of quota and it’s shaped, sucky connection it is.
- 5:30pm: In order to solve my problem, I figured out I should reinstall everything from scratch, except this time I try to have Bluez installed from the Synaptics Package Manager instead of downloading the source code and installing it myself. I remember that Ubuntu comes with a bluetooth applet that existing on the top right corner of the screen when I have a bluetooth adapter plugged into the VM. It disappeared after I had all Bluez stuff compiled and installed. I’ll work from there to see if I can find out anything.
- 6:00pm: I finally got Asterisk compiled and installed. Now I’m trying to install required Bluez stuff in order to make Asterisk-Addons install –with-bluetooth.
- 6:30pm: Installed all the Bluez stuff I can find on the Synaptics Package Manager, doesn’t seem to be able to install Asterisk-Addons –with-bluetooth yet. Now I’ll try to download bluez from the website and try again.
- 6:35pm: Successfully
./configureasterisk-addons. Will try and install it now. - 6:37pm: Installation with
make installwas a success as expected. Now will try to setupchan_mobileto see if pairs my phone. - 6:40pm:
hcitool scancommand gives me an error sayinghcitool: error while loading shared libraries: libbluetooth.so.3: cannot open shared object file: No such file or directory. Wonder what I should do now… Let me think for a minute… - 6:45pm: Seems like everything regarding the
hcitoolcommand throws the same error. Something is wrong with Bluez. - 7:00pm: Not really sure what’s wrong. Tried reinstalling
bluez-hcidumpfrom the Synaptics Package Manager but no help. Tried rebooting, not helping. Will try to download thebluez_hcidumpand install it. Might help. No idea. - 7:02pm: Did not help, let’s try downloading the
bluez-firmwareas well. - 7:04pm: Still not working dammit. Wonder what’s the problem here…
- 7:09pm: I
cdmy way to/usr/bin/and foundlibbluetooth.so.2instead oflibbluetooth.so.3. I suspect it’s a version problem due to the fact that there are two versions here. Lets see if uninstall everything and only install the newer version one works. - 7:13pm: YES! It did work! Now working on setting up
chan_mobile! - 7:24pm: Done setting up
chan_mobile. Now trying to pair them. - 7:30pm: Pairing still fail, but this time it seems like it really is trying to pair. Although it is not successful now but I can feel I’m getting close to it.
- 7:41pm: OMG WTH! I CAN’T FREAKING BELIEVE MY EYES! IT HAS PAIRED! WOOHOO! I looked at the interface and realised that the applet had disappeared again, so I decided to give the
bluez-gnomea reinstall at the Synaptics Package Manager. The applet reappeared. Pairing the phone will ask me for a passkey through the applet, and by typing in the passkey paired the device and the pc. Will throw in my configs in a moment to test if I can make calls through this device. - 8:00pm: Completed my config migration, testing seems to show that calls can made through device from the computer, however I could not hear a sound…
- 8:15pm: Alright, I’m feeling hungry already. Gonna go home and cook now, guess that’ll be all for today.





