<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2800.1522" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Thanks Colin and Mark for your answers. I finally
manage to start up asterisk by copying libbluetooth to
/usr/lib/.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> Now the final step comes, make this bluetooth
thing works.</FONT></DIV>
<DIV><FONT face=Arial size=2> These are my configuration
files:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> /etc/bluetooth/rfcomm.conf:</FONT></DIV>
<DIV><FONT face=Arial size=2>rfcomm0
{<BR> bind yes;</FONT></DIV>
<DIV><FONT face=Arial size=2> device
00:0E:6D:34:BD:B1;</FONT></DIV>
<DIV><FONT face=Arial size=2> channel
3;</FONT></DIV>
<DIV><FONT face=Arial size=2> comment
"Bluetooth device";<BR>}</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>/etc/asterisk/bluetooth.conf:</FONT></DIV>
<DIV><FONT face=Arial size=2>[general]<BR>rfchannel_ag = 3<BR>interface =
0</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>;; A Nokia
6310i<BR>[00:0E:6D:34:BD:B1]<BR>name =
Nokia<BR>type =
AG<BR>channel = 3<BR>autoconnect = yes</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>/etc/asterisk/extensions.conf:</FONT></DIV>
<DIV><FONT face=Arial
size=2>[general]<BR>static=yes<BR>writeprotect=yes<BR>autofallthrough=yes</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>[globals]<BR>DEFAULT_RINGING_TIME=20</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>[default]<BR>exten =>
_01,1,Dial(SIP/${EXTEN})<BR>exten => _02,1,Dial(SIP/${EXTEN})<BR>exten =>
_03,1,Dial(BLT/test/XXX)<BR></FONT></DIV>
<DIV><FONT face=Arial size=2> (where XXX is the mobile phone number)</DIV>
<DIV><BR></DIV>
<DIV> And the result starting up asterisk:</DIV>
<DIV> </DIV>
<DIV> [chan_bluetooth.so] => (Bluetooth Channel Driver)<BR> ==
Parsing '/etc/asterisk/bluetooth.conf': Found<BR>Jan 9 11:44:14
NOTICE[3401]: /usr/src/chan_bluetooth/chan_bluetooth.c:1825 rfcomm_listen:
Listening for RFCOMM channel 3 connections on FD 11<BR>Jan 9 11:44:14
NOTICE[3401]: /usr/src/chan_bluetooth/chan_bluetooth.c:1825 rfcomm_listen:
Listening for RFCOMM channel 6 connections on FD 12<BR>Jan 9 11:44:14
ERROR[3401]: /usr/src/chan_bluetooth/chan_bluetooth.c:1841 sco_listen: Can't
create SCO socket: No such file or directory (errno: 2)<BR>Jan 9 11:44:14
WARNING[3401]: loader.c:345 ast_load_resource: chan_bluetooth.so: load_module
failed, returning -1<BR> == Unregistered channel type 'BLT'<BR>Jan 9
11:44:14 WARNING[3401]: loader.c:440 load_modules: Loading module
chan_bluetooth.so failed!<BR></DIV>
<DIV>More:</DIV>
<DIV>- There is a bug reported regarding SCO links on Theo's site
(http://www.crazygreek.co.uk/content/chan_bluetooth)</DIV>
<DIV>- rfcomm, l2cap,hci_usb and bluez are sucesfully loaded into the
system.</DIV>
<DIV>- If I start up asterisk without bluetooth.conf, I don't have bluetooth
command from the console.</DIV>
<DIV>- Theo doesn't mention rfcomm in his documentation. Does rfcomm.conf
file have to be configured and the module loaded? </DIV>
<DIV> </DIV>
<DIV> Does anybody know anything about this bug or just how to
sort this out?</DIV>
<DIV> </DIV>
<DIV> Thank you very much,</DIV>
<DIV> Victor.</DIV>
<DIV><BR></FONT><FONT face=Arial size=2> </FONT></DIV>
<DIV><FONT face=Arial size=2> </FONT> </DIV></BODY></HTML>