[Home]

Summary:ASTERISK-14712: chan_mobile: audio trouble
Reporter:Alexander Heinz (alexanderheinz)Labels:
Date Opened:2009-09-08 12:54:48Date Closed:2011-06-07 14:00:23
Priority:MajorRegression?No
Status:Closed/CompleteComponents:Addons/chan_mobile
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:I am testing chan_mobile to see if it fits my needs.

Therefore I have setup a simple test: an incoming call on my mobile. Asterisk waits 3s and then answers the call and plays a message announcing the following echo test.

The message plays fine but the echo test is broken: I do not hear anything unless I really *really* shout into the microphone (tried both, calling from a landline and another mobile phone).

SSH access to this machine is possible if required for further analysis

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

Asterisk SVN 217037 running on ubuntu 9.04
phone: Sony Ericcson V800 (also tried with Nokia E51)

USB dongle:
0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)

hci0: Type: USB
BD Address: 00:19:86:00:2B:48 ACL MTU: 1017:8 SCO MTU: 64:1
UP RUNNING PSCAN ISCAN
RX bytes:4661290 acl:162 sco:91176 events:268 errors:2
TX bytes:4569326 acl:88 sco:89563 commands:109 errors:23
Features: 0xff 0xff 0x8f 0xfe 0x9b 0xf9 0x00 0x80
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: RSWITCH HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: 'mypc-0'
Class: 0x0a2104
Service Classes: Networking, Capturing
Device Class: Computer, Desktop workstation
HCI Ver: 2.0 (0x3) HCI Rev: 0x0 LMP Ver: 2.0 (0x3) LMP Subver: 0x2303
Manufacturer: Broadcom Corporation (15)

extensions.conf (excerpt):
[incoming-mobile]
exten => s,1,Wait(3)
exten => s,n,Answer
exten => s,n,Wait(1)
exten => s,n,Playback(demo-echotest) ; Let them know what's going on
exten => s,n,Echo ; Do the echo test
exten => s,n,Playback(demo-echodone) ; Let them know it's over
exten => s,n,Hangup

chan_mobile.conf (complete (some comments removed)):
[general]
interval=30
[adapter]
id=csr
address=00:19:86:00:2B:48
alignmentdetection=yes ;also tried "no"
[v800]
address=00:0F:DE:97:FF:BF
port=5
context=incoming-mobile
adapter=csr
group=1
sms=no
Comments:By: Alexander Heinz (alexanderheinz) 2009-09-09 09:14:27

I have played a little bit more with the setup and recorded what is received by the Asterisk server. Incoming audio was already very quiet, so it is obvious that the echo is also very quiet. I have adjusted the volume on my cell phone and the situation has improved. However I still feel like it is not loud enough.

I think it makes sense to add a paragraph about setting the volume to maximum on the cell phone to the documentation (is there any?). Would it also be possible to add volume control to chan_mobile. I have read some parts of the code and it looks like volume control is a defined bluetooth feature.

By: Leif Madsen (lmadsen) 2009-09-15 12:54:34

This is getting into the realm of a feature request, however, it may be possible for you to increase the volume of the channel using the VOLUME() function. Give that a shot and see if that helps.

Thanks!