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

noreply at bugs.digium.com noreply at bugs.digium.com
Mon Feb 4 07:39:42 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:              02-04-2008 07:39 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 - 02-04-08 07:39  
---------------------------------------------------------------------- 
Hello,
I retested the disconnect after hangup issue with latest trunk of both
asterisk and chan_mobile. The issue is still there. Can this be connected
with
http://bugs.digium.com/view.php?id=11566 ?

With this line commented out it works:

                               if (strstr(buf, "OK") || strstr(buf,
pvt->ciev_call_0)) {
                                        /* close(pvt->sco_socket); */
                                        pvt->sco_socket = -1;
                                        pvt->state = MBL_STATE_IDLE;
                                }

If some other thread used pvt->sco_socket and it was closed, but not yet
set to -1, it could possibly do something unintended. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
02-04-08 07:39  phokz          Note Added: 0081645                          
======================================================================




More information about the asterisk-bugs mailing list