[asterisk-bugs] [Asterisk 0015386]: [patch] Milliwatt() is off by -11dbm

Asterisk Bug Tracker noreply at bugs.digium.com
Sat Aug 1 06:03:30 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15386 
====================================================================== 
Reported By:                rue_mohr
Assigned To:                russell
====================================================================== 
Project:                    Asterisk
Issue ID:                   15386
Category:                   Applications/app_milliwatt
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Asterisk Version:           1.6.1.1 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-06-23 20:15 CDT
Last Modified:              2009-08-01 06:03 CDT
====================================================================== 
Summary:                    [patch] Milliwatt() is off by -11dbm
Description: 

Confirmed on asterisk 1.4.25.1 and 1.6.1.1 that the milliwatt is about
-11dbm 

Standard PC system, T100P T1 card, to Newbridge Mainstreet 3624
using dahdi-linux-complete-2.1.0.4+2.1.0.2
Debian kernel linux-2.6.28
measured with dbm meter from channelbank

its -11dbm at 1.000kHz, and at 1.004kHz

This can be confirmed because it worked perfectly on same hardware before
software upgrade ( kernel-2.6.15  asterisk-1.2.15  zaptel-1.2.13). 

suspect slinear<->ulaw conversion process, can't confirm.

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

---------------------------------------------------------------------- 
 (0108496) svnbot (reporter) - 2009-08-01 06:03
 https://issues.asterisk.org/view.php?id=15386#c108496 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 209840

_U  branches/1.6.0/
U   branches/1.6.0/apps/app_milliwatt.c

------------------------------------------------------------------------
r209840 | russell | 2009-08-01 06:03:30 -0500 (Sat, 01 Aug 2009) | 27
lines

Merged revisions 209839 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
  r209839 | russell | 2009-08-01 06:02:07 -0500 (Sat, 01 Aug 2009) | 20
lines
  
  Merged revisions 209838 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r209838 | russell | 2009-08-01 05:59:05 -0500 (Sat, 01 Aug 2009) | 13
lines
    
    Modify how Playtones() is used in Milliwatt() to resolve gain issue.
    
    When Milliwatt() was changed internally to use Playtones() so that the
proper
    tone was used, it introduced a drop in gain in the output signal.  So,
use
    the playtones API directly and specify a volume argument such that the
output
    matches the gain of the original Milliwatt() code.
    
    (closes issue https://issues.asterisk.org/view.php?id=15386)
    Reported by: rue_mohr
    Patches:
          issue_15386.rev2.diff uploaded by russell (license 2)
    Tested by: rue_mohr
  ........
................

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=209840 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-08-01 06:03 svnbot         Checkin                                      
2009-08-01 06:03 svnbot         Note Added: 0108496                          
======================================================================




More information about the asterisk-bugs mailing list