Hi,<br>
<br>
Today, I got chan_bluetooth working with my brand new asterisk 1.2.3 !!
Unfortunately, not 100% functional. It associated, I can dial, it rings
but when answered, the audio starts but stops after some seconds and
the phone says "weak bluetooth signal" (the phone is just some meters
far from the USB interface - I tried other distaces). Then, the system
only works again if I reboot the motorola mobile.<br>
I attached every config and log I imagine can be useful. Can anyone help me?<br>
<br>
Thanks in advance,<br>
Ben<br>
<br>
[Hardware]<br>
Intel(R) Pentium(R) 4 CPU 3.40GHz<br>
<br>
USB Generic Bluetooth interface<br>
# hciconfig hci0 version<br>
hci0: Type: USB<br>
BD Address: 00:11:67:12:53:DA ACL MTU: 678:8 SCO MTU: 48:10<br>
HCI Ver: 1.2 (0x2) HCI Rev: 0x1f4 LMP Ver: 1.2 (0x2) LMP Subver: 0x1f4<br>
Manufacturer: Integrated System Solution Corp. (57)<br>
<br>
Motorola E398<br>
<br>
[Software]<br>
Fedora Core 4 (full updated)<br>
Linux bueno 2.6.14-1.1656_FC4smp #1 SMP Thu Jan 5 22:24:06 EST 2006 i686 i686 i386 GNU/Linux<br>
Asterisk 1.2.3<br>
<br>
<br>
<< /etc/bluetooth/hcid.conf >><br>
<br>
options {<br>
autoinit yes;<br>
security auto;<br>
pairing multi;<br>
pin_helper /usr/local/bin/bluepin;<br>
dbus_pin_helper;<br>
}<br>
device {<br>
name "Asterisk";<br>
class 0x200404;<br>
iscan enable;<br>
pscan enable;<br>
lm accept;<br>
lp rswitch,hold,sniff,park;<br>
}<br>
<br>
<br>
<< /etc/asterisk/bluetooth.conf >><br>
<br>
[general]<br>
rfchannel_hs = 2<br>
rfchannel_ag = 7<br>
interface = 0<br>
<br>
[00:12:8A:67:E9:4D]<br>
name = E398<br>
type = AG<br>
channel = 7<br>
autoconnect = yes<br>
<br>
<br>
<< asterisk log >><br>
<br>
[AG] E398 > +BRSF: 63<br>
[AG] E398 > OK<br>
[AG] E398 < AT+CIND=?<br>
[AG] E398 > +CIND: ("Voice
Mail",(0,1)),("service",(0,1)),("call",(0,1)),("Roam",(0-2)),("signal",(0-5)),("callsetup",(0-3)),("smsfull",(0,1))<br>
[AG] E398 > OK<br>
[AG] E398 < AT+CIND?<br>
[AG] E398 > +CIND: 0,1,0,0,2,0,1<br>
[AG] E398 > OK<br>
[AG] E398 < AT+CMER=3,0,0,1<br>
[AG] E398 > OK<br>
[AG] E398 < AT+CLIP=1<br>
[AG] E398 > OK<br>
[AG] E398 < AT+CGMI<br>
[AG] E398 > +CGMI: "Motorola CE, Copyright 2000"<br>
[AG] E398 > OK<br>
[AG] E398 < AT+CGMI<br>
[AG] E398 > +CGMI: "Motorola CE, Copyright 2000"<br>
[AG] E398 > OK<br>
[AG] E398 > +CIEV: 5,5<br>
-- Executing Dial("SIP/52337-ab61", "BLT/E398/21064014") in new stack<br>
[AG] E398 < ATD21064014;<br>
-- Called E398<br>
[AG] E398 > OK<br>
[AG] E398 > +CIEV: 6,2<br>
[AG] E398 > +CIEV: 6,3<br>
-- BLT/E398 is ringing<br>
[AG] E398 > D: VOICE<br>
[AG] E398 > +CIEV: 3,1<br>
[AG] E398 > +CIEV: 6,0<br>
-- BLT/E398 answered SIP/52337-ab61<br>
Jan 30 18:16:51 WARNING[1371]:
/usr/src/asterisk-test/bluetooth/chan_bluetooth/chan_bluetooth.c
sco_thread: SCO thread started on fd 31, pid 1238<br>
Jan 30 18:17:12 NOTICE[1252]:
/usr/src/asterisk-test/bluetooth/chan_bluetooth/chan_bluetooth.c
rd_close: Device E398 disconnected, scheduled reconnect in 5 seconds:
Connection timed out (errno 110)<br>
[AG] E398 < ATH<br>
[AG] E398 < AT+CHUP<br>
== Spawn extension (default, 121064014, 1) exited non-zero on 'SIP/52337-ab61'<br>