[asterisk-bugs] [Asterisk 0016188]: chan_mobile pairs, dials, and receives calls, but no audio

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Jul 1 08:14:52 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16188 
====================================================================== 
Reported By:                haunma
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16188
Category:                   Addons/chan_mobile
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           SVN 
JIRA:                       SWP-1175 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 209993 
Request Review:              
====================================================================== 
Date Submitted:             2009-11-05 23:26 CST
Last Modified:              2010-07-01 08:14 CDT
====================================================================== 
Summary:                    chan_mobile pairs, dials, and receives calls, but no
audio
Description: 
I am using Asterisk 1.6.2.0~dfsg~rc1-1 from Debian Squeeze with a custom
compiled chan_mobile.c from the trunk version (svn 209993) supplied as an
attachment to issue https://issues.asterisk.org/view.php?id=16087.

It appears to be a working configuration with no obvious errors, but I get
no audio over the bluetooth link.  (I test by calling my cell phone from
the Asterisk console via an IAX provider, with the incoming call going to
an echo test.)

I've attached the Asterisk debugging output (with some IAX debugging
output removed) as well as hcidump -X -V.

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

---------------------------------------------------------------------- 
 (0124147) mnicholson (administrator) - 2010-07-01 08:14
 https://issues.asterisk.org/view.php?id=16188#c124147 
---------------------------------------------------------------------- 
In order to fix this a check for (errno == EINTR || errno == EAGAIN) should
be added to the loop in do_sco_listen() and those two error conditions
should be ignored instead of exiting the loop.

Also exiting the thread is probably never the best choice here, because
that will cause things to silently fail in the future.  Perhaps a big
warning should be printed in the event of a fatal failure and the thread
should sleep for a few mins then try again. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-07-01 08:14 mnicholson     Note Added: 0124147                          
======================================================================




More information about the asterisk-bugs mailing list