[asterisk-dev] Help on chan_bluetooth
Benedicto Junior
benedicto at gmail.com
Tue Jan 31 03:22:35 MST 2006
Hi,
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.
I attached every config and log I imagine can be useful. Can anyone help me?
Thanks in advance,
Ben
[Hardware]
Intel(R) Pentium(R) 4 CPU 3.40GHz
USB Generic Bluetooth interface
# hciconfig hci0 version
hci0: Type: USB
BD Address: 00:11:67:12:53:DA ACL MTU: 678:8 SCO MTU: 48:10
HCI Ver: 1.2 (0x2) HCI Rev: 0x1f4 LMP Ver: 1.2 (0x2) LMP Subver:
0x1f4
Manufacturer: Integrated System Solution Corp. (57)
Motorola E398
[Software]
Fedora Core 4 (full updated)
Linux bueno 2.6.14-1.1656_FC4smp #1 SMP Thu Jan 5 22:24:06 EST 2006 i686
i686 i386 GNU/Linux
Asterisk 1.2.3
<< /etc/bluetooth/hcid.conf >>
options {
autoinit yes;
security auto;
pairing multi;
pin_helper /usr/local/bin/bluepin;
dbus_pin_helper;
}
device {
name "Asterisk";
class 0x200404;
iscan enable;
pscan enable;
lm accept;
lp rswitch,hold,sniff,park;
}
<< /etc/asterisk/bluetooth.conf >>
[general]
rfchannel_hs = 2
rfchannel_ag = 7
interface = 0
[00:12:8A:67:E9:4D]
name = E398
type = AG
channel = 7
autoconnect = yes
<< asterisk log >>
[AG] E398 > +BRSF: 63
[AG] E398 > OK
[AG] E398 < AT+CIND=?
[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))
[AG] E398 > OK
[AG] E398 < AT+CIND?
[AG] E398 > +CIND: 0,1,0,0,2,0,1
[AG] E398 > OK
[AG] E398 < AT+CMER=3,0,0,1
[AG] E398 > OK
[AG] E398 < AT+CLIP=1
[AG] E398 > OK
[AG] E398 < AT+CGMI
[AG] E398 > +CGMI: "Motorola CE, Copyright 2000"
[AG] E398 > OK
[AG] E398 < AT+CGMI
[AG] E398 > +CGMI: "Motorola CE, Copyright 2000"
[AG] E398 > OK
[AG] E398 > +CIEV: 5,5
-- Executing Dial("SIP/52337-ab61", "BLT/E398/21064014") in new stack
[AG] E398 < ATD21064014;
-- Called E398
[AG] E398 > OK
[AG] E398 > +CIEV: 6,2
[AG] E398 > +CIEV: 6,3
-- BLT/E398 is ringing
[AG] E398 > D: VOICE
[AG] E398 > +CIEV: 3,1
[AG] E398 > +CIEV: 6,0
-- BLT/E398 answered SIP/52337-ab61
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
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)
[AG] E398 < ATH
[AG] E398 < AT+CHUP
== Spawn extension (default, 121064014, 1) exited non-zero on
'SIP/52337-ab61'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.digium.com/pipermail/asterisk-dev/attachments/20060131/4d38bf71/attachment.htm
More information about the asterisk-dev
mailing list