[Home]

Summary:ASTERISK-11710: No audio or audio one way
Reporter:ignition (ignition)Labels:
Date Opened:2008-03-24 04:41:13Date Closed:2009-01-09 13:15:20.000-0600
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Addons/chan_mobile
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:When initiating a call
outside->mobile->bluetooth->Asterisk
only the outside party can hear, (sound is ok, no echo or white noise) the other party can only talk.

Asterisk->bluetooth->mobile->outside
no sound at all

Many time the adapter block, only solution, to unplug from USB, and plugin back, after that works ok...for a while

****** ADDITIONAL INFORMATION ******

software:
kernel 2.6.24.3
asterisk 1.6 beta 6
addons 1.6 beta 6
bluez 3.28

hardware:
bluetooth dongle USB, class 1, Trendnet
Nokia E60 (both same problem)
Sony-Ericson K750i (both same problem)

logs:
-----------------
Asterisk log
-------------------------
-- Bluetooth Device E60 has connected.
-- Bluetooth Device E60 initialised and ready.
------------------------
ID Address Group Adapter Connected State SMS
K750I 00:18:13:6A:7F:41 1 blue No Busy No
E60 00:12:37:F2:71:BD 1 blue Yes Free No
-------------------------
-- SIP/1002-08293ad8 answered Mobile/E60-8a55
== Spawn extension (mobile, s, 1) exited non-zero on 'Mobile/E60-8a55'
-- Bluetooth Device E60 has disconnected, reason (104).
-------------------------

Bluetooth daemon
-------------------------
hcid[25926]: Bluetooth HCI daemon
hcid[25926]: Enabling debug information
hcid[25926]: HCI dev 0 registered
hcid[25926]: HCI dev 0 already up
hcid[25926]: Device hci0 has been added
hcid[25926]: Starting security manager 0
hcid[25926]: Device hci0 has been activated
hcid[25926]: Starting SDP server
hcid[25926]: Adding rec : 0x8081998
hcid[25926]: with handle : 0x1
hcid[25926]: Adding rec : 0x8081d18
hcid[25926]: with handle : 0x0
hcid[25926]: Service classes 0x00
hcid[25926]: Created local server at unix:abstract=/var/run/dbus-CyMCr2rRZv,guid=ce9cca572915230d41a7c50047e604de
hcid[25926]: child 25927 exited
hcid[25926]: child 25928 exited
hcid[25926]: /org/bluez: org.bluez.Security.RegisterDefaultPasskeyAgent()
hcid[25926]: name_listener_add(:1.12)
hcid[25926]: Default passkey agent (:1.12, /org/bluez/passkey_agent_25978) registered
hcid[25926]: link_key_request (sba=00:0B:0D:0A:E5:57, dba=00:12:37:F2:71:BD)
hcid[25926]: Got a svc srch req
hcid[25926]: Seq type : 53
hcid[25926]: Data size : 17
hcid[25926]: Data type: 0x1c
hcid[25926]: No of elements : 1
hcid[25926]: Expected count: 65535
hcid[25926]: Bytes scanned : 19
hcid[25926]: Continuation State size : 0
hcid[25926]: Checking svcRec : 0x0
hcid[25926]: Checking svcRec : 0x1
hcid[25926]: Match count: 0
hcid[25926]: Sending rsp. status 0
hcid[25926]: Bytes Sent : 10
hcid[25926]: Got a svc srch req
hcid[25926]: Seq type : 53
hcid[25926]: Data size : 3
hcid[25926]: Data type: 0x19
hcid[25926]: No of elements : 1
hcid[25926]: Expected count: 65535
hcid[25926]: Bytes scanned : 5
hcid[25926]: Continuation State size : 0
hcid[25926]: Checking svcRec : 0x0
hcid[25926]: Checking svcRec : 0x1
hcid[25926]: Match count: 0
hcid[25926]: Sending rsp. status 0
hcid[25926]: Bytes Sent : 10
hcid[25926]: Got a svc srch req
hcid[25926]: Seq type : 53
hcid[25926]: Data size : 3
hcid[25926]: Data type: 0x19
hcid[25926]: No of elements : 1
hcid[25926]: Expected count: 65535
hcid[25926]: Bytes scanned : 5
hcid[25926]: Continuation State size : 0
hcid[25926]: Checking svcRec : 0x0
hcid[25926]: Checking svcRec : 0x1
hcid[25926]: Match count: 0
hcid[25926]: Sending rsp. status 0
hcid[25926]: Bytes Sent : 10
hcid[25926]: link_key_request (sba=00:0B:0D:0A:E5:57, dba=00:12:37:F2:71:BD)
hcid[25926]: Got a svc srch req
hcid[25926]: Seq type : 53
hcid[25926]: Data size : 17
hcid[25926]: Data type: 0x1c
hcid[25926]: No of elements : 1
hcid[25926]: Expected count: 65535
hcid[25926]: Bytes scanned : 19
hcid[25926]: Continuation State size : 0
hcid[25926]: Checking svcRec : 0x0
hcid[25926]: Checking svcRec : 0x1
hcid[25926]: Match count: 0
hcid[25926]: Sending rsp. status 0
hcid[25926]: Bytes Sent : 10
hcid[25926]: Got a svc srch req
hcid[25926]: Seq type : 53
hcid[25926]: Data size : 3
hcid[25926]: Data type: 0x19
hcid[25926]: No of elements : 1
hcid[25926]: Expected count: 65535
hcid[25926]: Bytes scanned : 5
hcid[25926]: Continuation State size : 0
hcid[25926]: Checking svcRec : 0x0
hcid[25926]: Checking svcRec : 0x1
hcid[25926]: Match count: 0
hcid[25926]: Sending rsp. status 0
hcid[25926]: Bytes Sent : 10
hcid[25926]: Got a svc srch req
hcid[25926]: Seq type : 53
hcid[25926]: Data size : 3
hcid[25926]: Data type: 0x19
hcid[25926]: No of elements : 1
hcid[25926]: Expected count: 65535
hcid[25926]: Bytes scanned : 5
hcid[25926]: Continuation State size : 0
hcid[25926]: Checking svcRec : 0x0
hcid[25926]: Checking svcRec : 0x1
hcid[25926]: Match count: 0
hcid[25926]: Sending rsp. status 0
hcid[25926]: Bytes Sent : 10
-------------------------------------
hci0: Type: USB
BD Address: 00:0B:0D:0A:E5:57 ACL MTU: 120:20 SCO MTU: 0:0
UP RUNNING PSCAN
RX bytes:344596 acl:1283 sco:5352 events:5525 errors:0
TX bytes:49839 acl:1265 sco:0 commands:1985 errors:0
----------------------------------------
Bus 002 Device 008: ID 1310:0001 Roper Class 1 Bluetooth Dongle
---------------------------------------
Comments:By: ignition (ignition) 2008-03-26 09:38:38

More info & testing:

I have tryed a new cheap USB bluetooth adapter (Cambridge Silicon Radio), with this one it works fine, both audio, with Nokia E60. As soon as I get back K750i, I will test it. I guess that it is a problem with some bluetooth adapters...
Please request more specific info/log if I can help.

------------
root@core:/etc/asterisk# lsusb
Bus 001 Device 001: ID 0000:0000
Bus 003 Device 005: ID 0665:5161
Bus 003 Device 001: ID 0000:0000
Bus 002 Device 009: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 002 Device 008: ID 1310:0001 Roper Class 1 Bluetooth Dongle
Bus 002 Device 001: ID 0000:0000
root@core:/etc/asterisk# hciconfig
hci0:   Type: USB
       BD Address: 00:0B:0D:0A:E5:57 ACL MTU: 120:20 SCO MTU: 0:0
       UP RUNNING PSCAN
       RX bytes:499109 acl:1299 sco:5352 events:21626 errors:0
       TX bytes:179118 acl:1280 sco:0 commands:10041 errors:0

hci1:   Type: USB
       BD Address: 00:12:C8:00:26:94 ACL MTU: 192:8 SCO MTU: 64:8
       UP RUNNING PSCAN
       RX bytes:700206 acl:77 sco:13620 events:192 errors:0
       TX bytes:590630 acl:62 sco:11540 commands:68 errors:0
-------------

By: ignition (ignition) 2008-03-27 08:36:40

Tested with K750i and it work fine with
Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)

Note:
on initialization or reception of a call
There is a delay (1000-3000ms) of the sound, on
mobile->asterisk
on the other side there is no delay

By: Leif Madsen (lmadsen) 2008-10-07 13:23:15

Just sending a ping to see if there is any chance of moving this issue forward?

ignition: do you still have this problem with latest version of Asterisk?

By: Leif Madsen (lmadsen) 2009-01-09 13:15:19.000-0600

I'm closing this due to no activity from the original reporter. Please feel free to find a bug marshall on the IRC server irc.freenode.net in #asterisk-bugs if you wish to have this issue reopened.