[Home]

Summary:ASTERISK-13500: "dialplan show globals" does not show the correct TRUNKMSD setting
Reporter:Vincent Li (macli)Labels:
Date Opened:2009-02-02 17:50:23.000-0600Date Closed:2009-02-02 18:26:58.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:PBX/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:
Description:I have set TRUNKMSD=0 in /etc/asterisk/extensions.conf, stopped Asterisk, start Asterisk, make a test call, the console message is (I masked the real phone number):

*CLI> core set verbose 5
Verbosity was 0 and is now 5
   -- Starting simple switch on 'DAHDI/1-1'
   -- Hungup 'DAHDI/1-1'
   -- Starting simple switch on 'DAHDI/1-1'
   -- Executing [9NXXNXXXXXX@brc-internal:1] Dial("DAHDI/1-1", ""DAHDI/G2"/NXXNXXXXXX") in new stack
   -- Called G2/NXXNXXXXXX
   -- DAHDI/4-1 answered DAHDI/1-1
   -- Native bridging DAHDI/1-1 and DAHDI/4-1
   -- Hungup 'DAHDI/4-1'
 == Spawn extension (brc-internal, 9NXXNXXXXXX, 1) exited non-zero on 'DAHDI/1-1'
   -- Hungup 'DAHDI/1-1'

*CLI> dialplan show globals
  TRUNKMSD=1
  TRUNK="DAHDI/G2"
  IAXINFO=guest
  CONSOLE="Console/dsp"

The dial plan:

exten => _9NXXNXXXXXX,1,Dial(${GLOBAL(TRUNK)}/${EXTEN:${GLOBAL(TRUNKMSD)}})


Comments:By: Tilghman Lesher (tilghman) 2009-02-02 17:59:29.000-0600

Please set "noload => pbx_lua.so" in your modules.conf and try again.  The problem is that the alternate dialplan configuration engine is rewriting the variable to value 1 after pbx_config is loaded and has set it to 0.

By: Digium Subversion (svnbot) 2009-02-02 18:15:59.000-0600

Repository: asterisk
Revision: 173070

U   branches/1.4/configs/extensions.conf.sample

------------------------------------------------------------------------
r173070 | tilghman | 2009-02-02 18:15:59 -0600 (Mon, 02 Feb 2009) | 5 lines

Add warning to standard config, that globals may be overridden by other
dialplan configuration files.
(closes issue ASTERISK-13500)
Reported by: macli

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

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

By: Digium Subversion (svnbot) 2009-02-02 18:25:10.000-0600

Repository: asterisk
Revision: 173104

_U  trunk/
U   trunk/configs/extensions.conf.sample

------------------------------------------------------------------------
r173104 | tilghman | 2009-02-02 18:25:10 -0600 (Mon, 02 Feb 2009) | 12 lines

Merged revisions 173070 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
 r173070 | tilghman | 2009-02-02 18:15:59 -0600 (Mon, 02 Feb 2009) | 5 lines
 
 Add warning to standard config, that globals may be overridden by other
 dialplan configuration files.
 (closes issue ASTERISK-13500)
  Reported by: macli
........

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

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

By: Digium Subversion (svnbot) 2009-02-02 18:26:12.000-0600

Repository: asterisk
Revision: 173111

_U  branches/1.6.0/
U   branches/1.6.0/configs/extensions.conf.sample

------------------------------------------------------------------------
r173111 | tilghman | 2009-02-02 18:26:12 -0600 (Mon, 02 Feb 2009) | 19 lines

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

................
 r173104 | tilghman | 2009-02-02 18:24:52 -0600 (Mon, 02 Feb 2009) | 12 lines
 
 Merged revisions 173070 via svnmerge from
 https://origsvn.digium.com/svn/asterisk/branches/1.4
 
 ........
   r173070 | tilghman | 2009-02-02 18:15:59 -0600 (Mon, 02 Feb 2009) | 5 lines
   
   Add warning to standard config, that globals may be overridden by other
   dialplan configuration files.
   (closes issue ASTERISK-13500)
    Reported by: macli
 ........
................

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

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

By: Digium Subversion (svnbot) 2009-02-02 18:26:58.000-0600

Repository: asterisk
Revision: 173115

_U  branches/1.6.1/
U   branches/1.6.1/configs/extensions.conf.sample

------------------------------------------------------------------------
r173115 | tilghman | 2009-02-02 18:26:58 -0600 (Mon, 02 Feb 2009) | 19 lines

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

................
 r173104 | tilghman | 2009-02-02 18:24:52 -0600 (Mon, 02 Feb 2009) | 12 lines
 
 Merged revisions 173070 via svnmerge from
 https://origsvn.digium.com/svn/asterisk/branches/1.4
 
 ........
   r173070 | tilghman | 2009-02-02 18:15:59 -0600 (Mon, 02 Feb 2009) | 5 lines
   
   Add warning to standard config, that globals may be overridden by other
   dialplan configuration files.
   (closes issue ASTERISK-13500)
    Reported by: macli
 ........
................

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

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