[asterisk-bugs] [Asterisk 0016188]: chan_mobile pairs, dials, and receives calls, but no audio
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Nov 25 23:44:34 CST 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=16188
======================================================================
Reported By: haunma
Assigned To: mnicholson
======================================================================
Project: Asterisk
Issue ID: 16188
Category: Addons/chan_mobile
Reproducibility: always
Severity: major
Priority: normal
Status: assigned
Asterisk Version: Addons-1.6.2.0-rc1
JIRA:
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: 2009-11-25 23:44 CST
======================================================================
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.
======================================================================
----------------------------------------------------------------------
(0114306) haunma (reporter) - 2009-11-25 23:44
https://issues.asterisk.org/view.php?id=16188#c114306
----------------------------------------------------------------------
I think I may have had the debug level set too low. I ran the test again
with "core set debug 5" during incoming and outgoing calls, saving the
asterisk log and hcidump as attachments (see the files "new_xxxxxx"
above).
Clearly there is an audio connection. Just to make sure I ran "hcitool
con" during various call phases. When the phone has registered with
Asterisk and is in the free state, this reports
< ACL 00:25:E5:FA:BD:9A handle 6 state 1 lm MASTER
and during a call it reports
> SCO 00:25:E5:FA:BD:9A handle 1 state 1 lm SLAVE
< ACL 00:25:E5:FA:BD:9A handle 6 state 1 lm MASTER
(This is the same for either an incoming or outgoing call.)
As you can see in the asterisk logs, at debug level 5 there are now some
errors visible, starting with
[Nov 25 20:51:21] DEBUG[4004]: channel.c:1843 __ast_answer: Didn't receive
a media frame from Mobile/MarksLG-bb1f within 500 ms of answering.
Continuing anyway
[Nov 25 20:51:21] DEBUG[4004]: channel.c:3661 set_format: Set channel
Mobile/MarksLG-bb1f to write format gsm
[Nov 25 20:51:21] DEBUG[4004]: chan_mobile.c:1130 mbl_write: ***
mbl_write
[Nov 25 20:51:21] DEBUG[4004]: chan_mobile.c:1704 sco_write: sco_write()
not ready
[Nov 25 20:51:21] DEBUG[4004]: chan_mobile.c:1704 sco_write: sco_write()
not ready
and continuing this way endlessly as it tries to play the echo test
announcement. During the call SCO packets are arriving continually from
the phone and I can see my voice in the packet dump. But, we are not
sending any packets to the phone.
Another odd thing is that the SCO connection persists after I hang up the
remote extension, and after the mobile phone display indicates that the
call has ended. Even "mobile show devices" lists the handset as free, but
hcidump shows SCO packets of silence streaming continuously from the phone,
and "hcitool con" shows the SCO connection still up. I don't know if this
would continue indefinitely; it stops when I exit asterisk.
Regards,
Mark
Issue History
Date Modified Username Field Change
======================================================================
2009-11-25 23:44 haunma Note Added: 0114306
======================================================================
More information about the asterisk-bugs
mailing list