[asterisk-bugs] [Asterisk 0010824]: Poor audio quality and sometimes disconnection after hangup

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Jan 3 06:04:40 CST 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10824 
====================================================================== 
Reported By:                swatchy
Assigned To:                dbowerman
====================================================================== 
Project:                    Asterisk
Issue ID:                   10824
Category:                   Addons/chan_mobile
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     ready for testing
Asterisk Version:            SVN 
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!): 83834 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             09-26-2007 03:18 CDT
Last Modified:              01-03-2008 06:04 CST
====================================================================== 
Summary:                    Poor audio quality and sometimes disconnection after
hangup
Description: 
Some information about my system:
OS Ubuntu 7.04
Bluez: 3.9-0ubuntu1
Bluetooth: Internal Bluetooth from Acer C110 Notebook
Asterisk: SVN-trunk-r83834
chan_mobile: Revision 451
Cellphone: Nokia 6230i

These things are working:
1. Notebook and Nokia are paired
2. Outgoing call from iax phone -> asterisk -> pstn works
3. Incoming call not tested
4. Incoming/outgoing SMS are working

The problem:
At the time the pstn phone picks up the call from the cellphone, you can
hear the person sitting behind the iax softphone very quiet and with a
really poor audio quality. It sounds like a robot is speaking to you. 

My tries to solve the problem:
In mobile.conf:
forcemaster set to no and yes
alignmentdetection set to no and yes
Set the iax softphone to gsm and ulaw

Another problem:
Sometimes after hangup the call the connection between asterisk and the
cellphone breaks up. I don't know why? See this for more information:






====================================================================== 

---------------------------------------------------------------------- 
 phokz - 01-03-08 06:04  
---------------------------------------------------------------------- 
Hello,
I tested my setup again on Ubuntu 7.04 and unfortunately it is not working
well.
Outgoing calls are quite good, I got several successfull calls and one
problem (Disconnect reason 104). Phone disconnected just before it started
dialing.

But with incoming calls I have worse score. I got few successfull calls,
but most calls end with Disconnect reason 104 before mobile is picked up by
asterisk.

[Jan  3 13:02:59] DEBUG[1664]: chan_mobile.c:1818 do_sco_listen:
accept()ed socket.
[Jan  3 13:02:59] DEBUG[1664]: chan_mobile.c:1823 do_sco_listen: Incoming
Audio Connection from device 00:16:BC:12:CB:5E MTU is 64
[Jan  3 13:02:59] DEBUG[1664]: chan_mobile.c:1815 do_sco_listen: About to
accept() socket.
[Jan  3 13:02:59] DEBUG[1663]: chan_mobile.c:1306 do_monitor_phone:
rfcomm_read() (nokia) [RING]
[Jan  3 13:02:59] DEBUG[1663]: chan_mobile.c:1404 do_monitor_phone: Device
nokia [RING]
[Jan  3 13:02:59] DEBUG[1663]: chan_mobile.c:1306 do_monitor_phone:
rfcomm_read() (nokia) [+CLIP: "+420776026526",145]
    -- Executing [s at incoming-nokia:1] Wait("Mobile/nokia-5985", "3") in
new stack
[Jan  3 13:02:59] DEBUG[1663]: chan_mobile.c:1306 do_monitor_phone:
rfcomm_read() (nokia) [+CIEV: 3,1]
[Jan  3 13:02:59] DEBUG[1663]: chan_mobile.c:1306 do_monitor_phone:
rfcomm_read() (nokia) [+CIEV: 4,1]
    -- Bluetooth Device nokia has disconnected, reason (104).
    -- Executing [s at incoming-nokia:2] Answer("Mobile/nokia-5985", "") in
new stack
]Jan  3 13:03:02] DEBUG[1666]: chan_mobile.c:981 rfcomm_write:
rfcomm_write() (nokia) [ATA
[Jan  3 13:03:02] DEBUG[1666]: chan_mobile.c:986 rfcomm_write:
rfcomm_write() error [9] 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
01-03-08 06:04  phokz          Note Added: 0076244                          
======================================================================




More information about the asterisk-bugs mailing list