I had loads of issues when trying i on trix, but the same procedure worked like a charm with elastix.
On Sun, Jul 5, 2009 at 7:09 PM, Razza <razz...@gmail.com> wrote: > I've been failing to get chan_mobile working, so am looking to the experts > to help :o) > > I have followed this guide - > http://www.voipphreak.ca/2008/10/30/installing-and-configuring-chan_mobile-for-bluetooth-presence-support-in-asterisk-16/ > and this guide - > http://www.geek-pages.com/articles/asterisk/howto_build_and_configure_chan_mobile_on_trixbox.html > and tried hybrids of the two which is dangerous! ;o) > > When I pair my phone to my asterisk server, I see no adverstised > bluetooth services (such as headset etc.), is that correct? > > Asterisk (every 30 seconds ish) reports - > -- Bluetooth Device PersX1 has connected. > -- Bluetooth Device PersX1 has disconnected, reason (104). > > Also, when I run "mobile search" from the CLI, I get mismatched MAC's > agains phones (e.g. the MACs and phones swap?!) - > *CLI> mobile search > Address Name Usable Type Port > -- Bluetooth Device PersX1 has connected. > -- Bluetooth Device PersX1 has disconnected, reason (104). > 00:17:83:16:DD:85 Ray(Work) No Headset 0 > 00:1C:CC:63:15:DD Ray pers No Headset 0 > 00:23:45:32:78:57 BlackBerry PMWork 8310 Yes Headset 1 > 00:16:41:63:3C:5C Ray pers No Headset 0 > 00:1D:F6:C6:C1:77 BTG209604 No Headset 0 > *CLI> mobile search > Address Name Usable Type Port > -- Bluetooth Device PersX1 has connected. > -- Bluetooth Device PersX1 has disconnected, reason (104). > 00:16:41:63:3C:5C BTG209604 No Headset 0 > 00:23:45:32:78:57 Ray pers Yes Headset 1 > 00:17:83:16:DD:85 Ray pers No Headset 0 > 00:1C:CC:63:15:DD Ray(Work) No Headset 0 > 00:1D:F6:C6:C1:77 BlackBerry PMWork 8310 No Headset 0 > *CLI> > > Apparently my dongle is fully supported, lsusb -v yields - > Bus 002 Device 002: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth > Dongle (HCI mode) > Device Descriptor: > bLength 18 > bDescriptorType 1 > bcdUSB 2.00 > bDeviceClass 224 Wireless > bDeviceSubClass 1 Radio Frequency > bDeviceProtocol 1 Bluetooth > bMaxPacketSize0 64 > idVendor 0x0a12 Cambridge Silicon Radio, Ltd > idProduct 0x0001 Bluetooth Dongle (HCI mode) > bcdDevice 31.64 > iManufacturer 0 > iProduct 0 > iSerial 0 > bNumConfigurations 1 > > My /etc/bluetooth/hcid.conf is as follows - > # HCId options > options { > autoinit yes; > security auto; > pairing multi; > passkey "0202"; > } > device { > name "AstTest"; > class 0x3e0100; > iscan enable; pscan enable; > discovto 0; > lm accept; > lp rswitch,hold,sniff,park; > } > options { > autoinit yes; > security auto; > pairing multi; > pin_helper /etc/bluetooth/pin; > } > > My /etc/asterisk/mobile.conf is as follows - > [general] > interval=30 ; Number of seconds between trying to connect to > devices. > ; The following is a list of adapters we use. > ; id must be unique and address is the bdaddr of the adapter from > hciconfig. > ; Each adapter may only have one device (headset or phone) connected at a > time. > ; Add an [adapter] entry for each adapter you have. > [adapter] > id=blue > address=00:10:60:D0:EC:66 > ;forcemaster=yes ; attempt to force adapter into master mode. > default is no. > ;alignmentdetection=yes ; enable this if you sometimes get 'white noise' on > asterisk side of the call > ; its a bug in the bluetooth adapter firmware, > enabling this will compensate for it. > ; default is no. > [PersX1] > address=00:23:45:32:78:57 ; the address of the phone > port=2 ; the rfcomm port number (from mobile > search) > context=incoming-mobile ; dialplan context for incoming calls > adapter=blue ; adapter to use > group=1 ; this phone is in channel group 1 > ;nocallsetup=yes ; set this only if your phone reports that > it supports call progress notification, but does not do it. Motorola L6 for > example. > > Help! > > _______________________________________________ > -- Bandwidth and Colocation Provided by http://www.api-digital.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >
_______________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users