[asterisk-bugs] [Asterisk 0014728]: [patch] global mohinterpret setting is ignored

Asterisk Bug Tracker noreply at bugs.digium.com
Mon May 4 17:48:59 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14728 
====================================================================== 
Reported By:                dimas
Assigned To:                dvossel
====================================================================== 
Project:                    Asterisk
Issue ID:                   14728
Category:                   Channels/chan_iax2
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases):  1.4  
SVN Revision (number only!): 166771 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-03-23 17:20 CDT
Last Modified:              2009-05-04 17:48 CDT
====================================================================== 
Summary:                    [patch] global mohinterpret setting is ignored
Description: 
iax.conf says that:

; This option may be specified globally, or on a per-user or per-peer
basis.

in fact, when option is specified globally (in the [general] section), its
value is ignored. I believe this is because global value does not get
copied into pvt structure on build_peer.
====================================================================== 

---------------------------------------------------------------------- 
 (0104173) svnbot (reporter) - 2009-05-04 17:48
 http://bugs.digium.com/view.php?id=14728#c104173 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 192217

_U  branches/1.6.2/
U   branches/1.6.2/channels/chan_iax2.c

------------------------------------------------------------------------
r192217 | dvossel | 2009-05-04 17:48:59 -0500 (Mon, 04 May 2009) | 24
lines

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

................
  r192214 | dvossel | 2009-05-04 17:44:51 -0500 (Mon, 04 May 2009) | 17
lines
  
  Merged revisions 192213 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r192213 | dvossel | 2009-05-04 17:37:31 -0500 (Mon, 04 May 2009) | 11
lines
    
    global mohinterpret setting is ignored
    
    mohinterpret and mohsuggest global variables were not copied over
during build_users and build_peers.
    
    (closes issue http://bugs.digium.com/view.php?id=14728)
    Reported by: dimas
    Patches:
          v1-14728.patch uploaded by dimas (license 88)
    Tested by: dimas, dvossel
  ........
................

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-04 17:48 svnbot         Checkin                                      
2009-05-04 17:48 svnbot         Note Added: 0104173                          
======================================================================




More information about the asterisk-bugs mailing list