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