[asterisk-bugs] [Asterisk 0016430]: Asterisk crashes on dtmf detection on channel with 2 bluetooth cellphone
Asterisk Bug Tracker
noreply at bugs.digium.com
Thu Jul 1 07:56:39 CDT 2010
The following issue has been RESOLVED.
======================================================================
https://issues.asterisk.org/view.php?id=16430
======================================================================
Reported By: azbest
Assigned To: mnicholson
======================================================================
Project: Asterisk
Issue ID: 16430
Category: Addons/chan_mobile
Reproducibility: always
Severity: crash
Priority: normal
Status: resolved
Asterisk Version: SVN
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.2
SVN Revision (number only!): 1074
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 2009-12-11 08:04 CST
Last Modified: 2010-07-01 07:56 CDT
======================================================================
Summary: Asterisk crashes on dtmf detection on channel with 2
bluetooth cellphone
Description:
When 2 cellular phones connected to a channel dtmf signals will make
asterisk to crash: double free.
sip->gsm and gsm->sip connection works fine, but gsm->gsm connection is
problematic.
Removing these lines from chan_mobile.c will prevent crashing, but dtmf
detection is tured off:
4014 ast_dsp_set_features(pvt->dsp, DSP_FEATURE_DIGIT_DETECT);
4015 ast_dsp_set_digitmode(pvt->dsp, DSP_DIGITMODE_DTMF |
DSP_DIGITMODE_RELAXDTMF);
_My guess_ is that asterisk dsp detects the same dtmf signal on input and
output side too and uses the same memory area to store informations about
that. Finally it tries to free this memory area twice.
======================================================================
----------------------------------------------------------------------
(0124145) svnbot (reporter) - 2010-07-01 07:56
https://issues.asterisk.org/view.php?id=16430#c124145
----------------------------------------------------------------------
Repository: asterisk-addons
Revision: 1124
U branches/1.6.2/channels/chan_mobile.c
------------------------------------------------------------------------
r1124 | mnicholson | 2010-07-01 07:56:38 -0500 (Thu, 01 Jul 2010) | 7
lines
Don't free written frames in chan_mobile's mbl_write() function.
(closes issue https://issues.asterisk.org/view.php?id=16430)
Reported by: azbest
Tested by: azbest
------------------------------------------------------------------------
http://svn.digium.com/view/asterisk-addons?view=rev&revision=1124
Issue History
Date Modified Username Field Change
======================================================================
2010-07-01 07:56 svnbot Checkin
2010-07-01 07:56 svnbot Note Added: 0124145
2010-07-01 07:56 svnbot Status assigned => resolved
2010-07-01 07:56 svnbot Resolution open => fixed
======================================================================
More information about the asterisk-bugs
mailing list