[Asterisk-Users] chan_bluetooth with Plantronics Heaset (some good
stuff)
Ben Higley
pbx at itsngroup.com
Sun Nov 27 11:34:35 MST 2005
Hi:
I have made some success in attaching my plantronics M2500 headset to
asterisk. I can get the headset to ring, however there is no Audio
I have tried using the connection below by having the api manager dial the
headset, then when answered, dial an internal extension (2000). I get no
audio on the channel. I also have an internal extension for MOH, and that
doesn't produce any audio as well... I have also tried to connect to a
toll free information service, 18005551212 and that doesn't produce any
audio.
HS connecting:
Nov 27 10:29:51 NOTICE[7862]:
/usr/src/chan_bluetooth/chan_bluetooth.c:2226 try_connect: Initialised
bluetooth link to device HS-1
[HS] HS-1 > AT+BRSF=24
[HS] HS-1 < +BRSF: 23
[HS] HS-1 < OK
[HS] HS-1 > AT+CIND=?
[HS] HS-1 < +CIND:
("service",(0,1)),("call",(0,1)),("callsetup",(0-4))
[HS] HS-1 < OK
[HS] HS-1 > AT+CIND?
[HS] HS-1 < +CIND: 1,0,0
[HS] HS-1 < OK
[HS] HS-1 > AT+CMER=3, 0, 0, 1
[HS] HS-1 < OK
[HS] HS-1 > AT+VGS=07
[HS] HS-1 < OK
HS Getting a call:
[HS] HS-1 < +CIEV: 3,1
[HS] HS-1 < RING
[HS] HS-1 > ATA
[HS] HS-1 < +CIEV: 2,1
[HS] HS-1 < +CIEV: 3,0
[HS] HS-1 < OK
> Channel BLT/HS-1 was answered.
Nov 27 10:23:37 WARNING[7667]:
/usr/src/chan_bluetooth/chan_bluetooth.c:621 sco_thread: SCO thread
started on fd 30, pid 7622
-- Executing Dial("BLT/HS-1", "SIP/2000|30|rtT") in new stack
-- SIP Seeding peer from astdb: '2000' at 2000 at 10.1.1.30:5060 for 3600
-- Called 2000
-- SIP/2000-e947 is ringing
-- SIP/2000-e947 answered BLT/HS-1
Nov 27 10:23:41 WARNING[7668]:
/usr/src/chan_bluetooth/chan_bluetooth.c:1139 blt_indicate: Don't know how
to condition -1
The warning above: i dont understand...
Can someone please help...??
my bluetooth.conf file is:
[general]
; Channel we listen on as a HS (Headset)
rfchannel_hs = 2
; Channel we listen on as an AG (AudioGateway)
rfchannel_ag = 3
; hci interface to use (number - e.g '0')
interface = 0
[00:03:89:5E:0F:2A]
name = HS-1
type = HS
;
;
; RFCOMM channel to connect to. For a HandsSet:
; sdptool search --bdaddr xx:xx:xx:xx:xx:xx 0x111E
; or,for an AudioGateway (Phone):
; sdptool search --bdaddr xx:xx:xx:xx:xx:xx 0x111F
;
; Find the 'channel' value under RFCOMM.
;
channel = 2
; Automatically conenct?
autoconnect = yes
The channel that I got back was channel 2 from the rfcomm search command
Thanks.....
More information about the asterisk-users
mailing list