Chan_mobile on Asterisk 11

Guys, I have FreePBX Stable-6.12.65, Release Date-2014, FreePBX 12, Linux 6.5 and
Asterisk 11.

I´m trying to install chan_mobile on it so I can use my Iphone 6 as a trunk to make and receive calls while I´m in the office.

After some time learning I got a few how-tos intended to prior versions of Asterisk but this is what I got:

1- Install bluez drivers: yum install bluez*

2- start the service: service bluetooth start

3- Edit hcid configuration file. Here is where problems begin…
I was told to edit file hcid.conf on /etc/bluetooth/ but in this directory there is only 1 file called main.conf. The file is different to hcid.conf.

This is what I was supposed to update hcid.conf to:
options {
autoinit yes;
security auto;
pairing multi;
passkey “1234”;
}
device {
name “pbxip”;
class 0x000100;
iscan enable; pscan enable;
lm accept;
lp rswitch,hold,sniff,park;
}

4- get the MAC address of my USB dongle: hcitool dev
I get info regarding my dongle (numbers hidden):
Devices:
hci0 XX:XX:XX:XX:XX:XX

5- Create chan_mobile configuration file: vi /etc/asterisk/chan_mobile.conf
[general]
interval=30

[adapter]
id=internal
address=XX:XX:XX:XX:XX:XX ; Same MAC address as before
forcemaster=yes

6- Set permissions for the file created:
cd /etc/asterisk
chown asterisk:asterisk chan_mobile.conf
chmod 664 chan_mobile.conf

7- get to asterisk console: asterisk –rvvvvv

8- Load chan_mobile: module load chan_mobile

9- Make sure asterisk detected the dongle: mobile search
I get only my Iphone (on Port 0) on that and I was told I should get my phone AND my dongle on that:
Address Name Usable Type Port
ZZ:ZZ:ZZ:ZZ:ZZ:ZZ iPhone No Headset 0

Please note that “Type” is declared as Headset and not Phone as it should be…

10- Complete chan_mobile configuration file with the phone´s information: vi /etc/asterisk/chan_mobile.conf
[general]
interval=30

[adapter]
id=internal
address=XX:XX:XX:XX:XX:XX ; Dongle´s MAC address
forcemaster=yes

[iPhone]
address=ZZ:ZZ:ZZ:ZZ:ZZ:ZZ ; the address of the phone
port=0 ; the rfcomm port number (from mobile search)
context= from-mobile-custom-1 ; dialplan context for incoming calls
adapter= internal ; same id as before
group=1

11- Pair the phone and the dongle:
I can´t! Iphone does not find the dongle via bluetooth.
My guess is that this is because I couldn´t find the correct hcid.conf file and set ip up correctly so the dongle was not set as a “Phone” but as a “Headset”

Can somebody give me a hand on this please? All information I got online reffers to Asterisk 1.8…

kind regards

Does anybody have an idea on what´s happening?

kind regards

Please?! It’s important…

kind regards

no gurus to help me with that?

kind regards