Commit Graph

722 Commits

Author SHA1 Message Date
Leif Madsen
d4938a111e Introduce <support_level> tags in MODULEINFO.
This change introduces MODULEINFO into many modules in Asterisk in order to show
the community support level for those modules. This is used by changes committed
to menuselect by Russell Bryant recently (r917 in menuselect). More information about
the support level types and what they mean is available on the wiki at
https://wiki.asterisk.org/wiki/display/AST/Asterisk+Module+Support+States

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@328209 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-07-14 20:13:06 +00:00
Tilghman Lesher
9a3fd9a994 Removing type attributes, as a change to menuselect makes them no longer necessary.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@326469 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-07-06 14:35:01 +00:00
Tilghman Lesher
d104b4e701 Add the attribute "type" to each "<use>" for menuselect.
This matters only when autoconf fails to detect that weak linking is supported.
External optional dependencies will become optional in both cases, as they are
removed at compile time when not detected.  However, runtime-optional modules
are made mandatory when weak linking is not found.  This change affects only
the external optional dependencies; previously, they were incorrectly required
when weak linking support was not detected.

Patches:
	20110702__issue18062__asterisk_trunk.diff.txt by tilghman (License #5003)

Tested by: iasgoscouk


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@326411 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-07-05 22:08:29 +00:00
Richard Mudgett
42633d22f9 Syntax errors in dialplan do not display the file name.
When issuing the CLI command "dialplan reload" syntax errors and warnings
are displayed on the console.  The offending line number is displayed on
the console, but the file name is not displayed.  Errors caught in
main/config.c do display the file name.

(closes issue ASTERISK-17985)
Reported by: ulogic
Patches:
      pbx_config.patch uploaded by ulogic (License #5685) modified format
Tested by: rmudgett

JIRA SWP-3554


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@324849 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-06-24 20:46:01 +00:00
Matthew Nicholson
8ed15a49a1 pbx_lua autoservice fixes
Don't start an autoservice in pbx_lua if pbx_lua already started one and don't
stop one if we didn't start one.  Also start and stop the autoservice when
transferring control from and to the pbx.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@317858 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-05-06 19:31:50 +00:00
Russell Bryant
08ae269e5c Add a datastore fixup to fix a pbx_lua crash.
(closes issue #19055)
Reported by: jamhed
Patches:
      lua_datastore_fixup1.diff uploaded by mnicholson (license 96)
Tested by: mnicholson, jamhed


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@317476 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-05-05 22:47:57 +00:00
Russell Bryant
1ccfa50ba8 Fix more "set but unused" warnings.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@317474 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-05-05 22:36:33 +00:00
Russell Bryant
1c252efce5 Use htons() instead of ntohs() in some places.
(closes issue #19200)
Reported by: wdoekes
Patches:
      issue19200-trunk.patch uploaded by wdoekes (license 717)
      issue19200-1.8.x.patch uploaded by wdoekes (license 717)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@316336 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-05-03 22:13:31 +00:00
Russell Bryant
a82f1bb995 Fix a bunch of compiler warnings generated by gcc 4.6.0.
Most of these are -Wunused-but-set-variable, but there were a few others
mixed in here, as well.


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@316265 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-05-03 19:55:49 +00:00
Paul Belanger
4601371021 Merged revisions 315393 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r315393 | pabelanger | 2011-04-25 22:17:43 -0400 (Mon, 25 Apr 2011) | 7 lines
  
  Add back CLI command 'dialplan save'
  
  (closes issue #19140)
  Reported by: lmadsen
  Patches:
        __20110419_dialplan_save.patch.txt uploaded by lmadsen (license 10)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@315394 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-04-26 02:18:50 +00:00
Tilghman Lesher
49fa80b8d3 Merged revisions 310448 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r310448 | tilghman | 2011-03-12 14:24:54 -0600 (Sat, 12 Mar 2011) | 38 lines
  
  Recorded merge of revisions 310435 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r310435 | tilghman | 2011-03-12 14:22:07 -0600 (Sat, 12 Mar 2011) | 31 lines
    
    Add AELSub, which provides a stable entry point into AEL subroutines.
    
    This commit needs some explanation, given that we're adding a new application
    into an existing release branch.  This is generally a violation of our release
    policy, except in very limited circumstances, and I believe this is one of
    those circumstances.
    
    The problem that this solves is one of the sanity of using multiple dialplan
    languages to define a dialplan.  In the case of the reporter, he or she is
    using AEL is define subroutines, while using Realtime extensions to invoke
    those subroutines.  While you can do this, it's based upon the reality of AEL
    using actual dialplan extensions; however, there is no guarantee that the
    details of _how_ AEL is compiled into extensions will remain stable.  In fact,
    at the time of this commit, it has already changed twice, once in a
    fundamental way.
    
    Now normally, a new application would only be added to trunk.  However, this
    application is explicitly to create a stable user-level API between versions,
    and adding it to trunk only will not solve the user's problem of switching
    between 1.6.2 and 1.8, nor will it help anybody switching from 1.8 to 1.10.
    Therefore, it needs to go into existing release branches.  For the sake of
    consistency, and also because one of the changes was between 1.4 and 1.6.x,
    I am also electing to commit this to 1.4.
    
    (closes issue #18910)
     Reported by: alexandrekeller
     Patches: 
           20110304__issue18919__1.6.2.diff.txt uploaded by tilghman (license 14)
           20110304__issue18919__1.4.diff.txt uploaded by tilghman (license 14)
     Tested by: alexandrekeller
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@310462 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-03-12 20:27:54 +00:00
Matthew Nicholson
d4a55c8fd8 Merged revisions 309584 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r309584 | mnicholson | 2011-03-04 13:37:13 -0600 (Fri, 04 Mar 2011) | 2 lines
  
  Restore mysterious lua_pushvalue() call removed in r309494.  The mystery has been solved.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@309585 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-03-04 19:38:25 +00:00
Matthew Nicholson
a6f3fd48e0 Merged revisions 309541 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r309541 | mnicholson | 2011-03-04 12:59:20 -0600 (Fri, 04 Mar 2011) | 4 lines
  
  Check for errors from fseek() when loading config file, properly abort on errors from fread(), and supply a traceback for errors generated when loading the config file.
  
  Also, prepend a newline to traceback output so that the main error message is on it's own line.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@309542 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-03-04 19:00:33 +00:00
Matthew Nicholson
43918cb291 Merged revisions 309494 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r309494 | mnicholson | 2011-03-04 11:55:57 -0600 (Fri, 04 Mar 2011) | 2 lines
  
  remove mysterious lua_pushvalue() that is never used
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@309495 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-03-04 18:10:23 +00:00
Matthew Nicholson
4988f8f6e1 Export global symbols from pbx_lua to allow modules to be loaded. Fixes a regression introduced in r278132.
(closes issue #18671)
Reported by: Igels
Patches:
      pbx_lua_global_symbols1.diff uploaded by mnicholson (license 96)
Tested by: Igels


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@309448 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-03-04 15:59:25 +00:00
Leif Madsen
eced809a27 Increase side of mapping response field.
I've increased the size of the response field in a DUNDi mapping because of
some documentation I'm writing. Previously it was set to AST_MAX_EXTENSION which
is only 80 characters, which is far too small when you're using some dialplan
functions to craft a response. The example I'm using is:

extensions =>
RegisteredDevices,0,SIP,dundi:very_awesome_password/${IF($[${DB_EXISTS(phones/${NUMBER}/device)}]?${DB(phones/${NUMBER}/device)}:None)},nopartial



git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@300082 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-01-03 13:14:25 +00:00
Tilghman Lesher
6963e5d1c4 Merged revisions 299448 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r299448 | tilghman | 2010-12-22 14:03:30 -0600 (Wed, 22 Dec 2010) | 8 lines
  
  Resolve warnings by disambiguating the "s" extension as used by chan_dahdi from the "s" extension as used by the AEL macros.
  
  (closes issue #18480)
   Reported by: nivek
   Patches: 
         20101215__issue18480__2.diff.txt uploaded by tilghman (license 14)
   Tested by: nivek
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@299449 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-12-22 20:05:02 +00:00
Tilghman Lesher
c6973b1187 Fixing the Mac OS X build (bamboo warning)
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@294605 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-11-10 23:26:39 +00:00
Tilghman Lesher
1c692b86e5 Properly queue files with inotify(7).
(closes issue #18089)
 Reported by: abelbeck
 Patches: 
       20101021__issue18089.diff.txt uploaded by tilghman (license 14)
 Tested by: tilghman


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@294569 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-11-10 23:13:37 +00:00
Jeff Peeler
d04d58c7c6 Disable use of inotify for call file handling as it is not working properly.
(related to #18089)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@292083 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-18 15:32:40 +00:00
Tilghman Lesher
bbc7614ac9 Merged revisions 290254 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

........
  r290254 | tilghman | 2010-10-04 18:14:59 -0500 (Mon, 04 Oct 2010) | 11 lines
  
  Change new pattern matcher to regard dashes the same as the old pattern matcher -- as visual candy to be ignored.
  
  Also change the AEL parser to not generate dashes within extensions, as those
  dashes would be ignored.  Update the AEL tests to match this behavior.
  
  (closes issue #17366)
   Reported by: murf
   Patches: 
         20100727__issue17366.diff.txt uploaded by tilghman (license 14)
   Tested by: tilghman
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290255 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-04 23:23:11 +00:00
Tilghman Lesher
8eabdae78c Get notification only when file is closed, not when created.
(closes issue #17924)
 Reported by: mkeuter
 Patches: 
       asterisk-1.8-bugid17924.patch uploaded by abelbeck (license 946)
 Tested by: abelbeck


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@290066 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-10-03 20:02:29 +00:00
Tilghman Lesher
80903051e9 Don't notify on attribute changes, and change how the queuing mechanism works.
Fixes call spools in 1.8.

(closes issue #17337)
 Reported by: loloski
 Patches: 
       20100827__issue17337.diff.txt uploaded by tilghman (license 14)

(closes issue #17924)
 Reported by: mkeuter
 Tested by: mkeuter


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@285386 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-07 21:20:16 +00:00
Tilghman Lesher
7ea473942b Merged revisions 285366 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r285366 | tilghman | 2010-09-07 15:31:41 -0500 (Tue, 07 Sep 2010) | 16 lines
  
  Merged revisions 285365 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r285365 | tilghman | 2010-09-07 15:30:22 -0500 (Tue, 07 Sep 2010) | 9 lines
    
    Catch invalid extensions at the parser, instead of making the core deal with them.
    
    (closes issue #17794)
     Reported by: PavelL
     Patches: 
           20100820__issue17794__1.6.2.diff.txt uploaded by tilghman (license 14)
           20100820__issue17794__1.4.diff.txt uploaded by tilghman (license 14)
     Tested by: PavelL
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@285367 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-07 20:56:07 +00:00
Tilghman Lesher
7e3f95e00a When optional_api is non-optional, force dependent modules to be loaded.
(closes issue #17707)
 Reported by: ira
 Patches: 
       20100819__issue17707__asterisk1.8.diff.txt uploaded by tilghman (license 14)
 Tested by: tilghman
 
Review: https://reviewboard.asterisk.org/r/876/


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@284610 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-09-02 05:20:59 +00:00
Russell Bryant
f222d17fcf Print exten@context:priority in verbose messages from pbx_realtime.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@283951 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-27 21:33:55 +00:00
Jason Parker
8f739efcd4 Merged revisions 282130 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2

................
  r282130 | qwell | 2010-08-12 17:50:54 -0500 (Thu, 12 Aug 2010) | 9 lines
  
  Merged revisions 282129 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r282129 | qwell | 2010-08-12 17:49:28 -0500 (Thu, 12 Aug 2010) | 1 line
    
    Register CLI commands before parsing config, in case there is a config error.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@282131 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-08-12 22:51:44 +00:00
Terry Wilson
d6e1c724e5 Remove built-in AES code and use optional_api instead
Review: https://reviewboard.asterisk.org/r/793/


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278538 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-21 19:11:32 +00:00
Tilghman Lesher
b4e18d5660 Add load priority order, such that preload becomes unnecessary in most cases
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@278132 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-07-20 19:35:02 +00:00
David Vossel
3f00e3ff03 fixes issue with 'dialplan remove extension blah' segfaulting with tab completion
(closes issue #17440)
Reported by: kobaz


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@272014 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-06-22 22:11:50 +00:00
Matthew Nicholson
01507f4ab7 Merged revisions 271761 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r271761 | mnicholson | 2010-06-22 09:49:36 -0500 (Tue, 22 Jun 2010) | 9 lines
  
  Allow users to specify a port for dundi peers.
  
  (closes issue #17056)
  Reported by: klaus3000
  Patches:
        dundi-peerport-patch-trunk.txt uploaded by klaus3000 (license 65)
  Tested by: klaus3000
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@271762 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-06-22 14:54:58 +00:00
Jeff Peeler
54f2dfc91c Merged revisions 271399 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r271399 | jpeeler | 2010-06-18 14:28:24 -0500 (Fri, 18 Jun 2010) | 11 lines
  
  Fix crash when parsing some heavily nested statements in AEL on reload.
  
  Due to the recursion used when compiling AEL in gen_prios, all the stack space 
  was being consumed when parsing some AEL that contained nesting 13 levels deep.
  Changing a few large buffers to be heap allocated fixed the crash, although I
  did not test how many more levels can now be safely used.
  
  (closes issue #16053)
  Reported by: diLLec
  Tested by: jpeeler
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@271483 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-06-18 21:32:09 +00:00
Jeff Peeler
a370bc1522 fix compile error
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@266240 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-05-27 20:08:49 +00:00
Tilghman Lesher
05a1ec8abc Cache query results for one second.
Queries from the PBX core come in 3's.  Caching avoids the additional
performance penalty from those two additional queries hitting the database.

(closes issue #16521)
 Reported by: tilghman
 Patches: 
       20091229__issue16521.diff.txt uploaded by tilghman (license 14)
 Tested by: Hubguru, tilghman


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@266238 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-05-27 19:25:16 +00:00
Tilghman Lesher
a7498ae02e Use configure to determine the prefixes and include directories properly.
This ensures cross-platform compatibility, even among Linux distributions,
which don't always put headers in the same place.

(closes issue #17391)
 Reported by: loloski


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@265747 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-05-26 00:29:40 +00:00
Russell Bryant
7c4a95f2ea Fix build on linux.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@262895 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-05-13 15:33:49 +00:00
Tilghman Lesher
8d6ee962c7 Add kqueue(2) implementation to Asterisk in various places.
This will save a considerable amount of CPU on the BSDs, including Mac OS X,
as it eliminates several places in the code that we previously used a busy
loop.  Additionally, this adds a res_timing interface, using kqueue timers.

Review: https://reviewboard.asterisk.org/r/543/


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@262852 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-05-13 05:37:31 +00:00
Paul Belanger
663a368a87 Improve logging by displaying line number
(closes issue #16303)
Reported by: dant
Patches:
      issue16303.patch.v2 uploaded by pabelanger (license 224)
Tested by: dant, lmadsen, pabelanger


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@262419 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-05-11 19:40:37 +00:00
Russell Bryant
be672528e6 Merged revisions 255322 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r255322 | russell | 2010-03-30 11:06:06 -0500 (Tue, 30 Mar 2010) | 2 lines
  
  Don't make Asterisk not start if pbx_dundi fails to initialize.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@255323 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-03-30 16:07:49 +00:00
Tilghman Lesher
11f57c6806 inotify support for pbx_spool
This should give a good speed boost, in that one particular thread isn't waking
up once a second to read directory contents.

Reviewboard: https://reviewboard.asterisk.org/r/137/


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@255117 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-03-27 06:09:26 +00:00
Kevin P. Fleming
ae6008ef3a Change per-file debug and verbose levels to be per-module, the way
users expect them to work.

'core set debug' and 'core set verbose' can optionally change the
level for a specific filename; however, this is actually for a
specific source file name, not the module that source file is included
in. With examples like chan_sip, chan_iax2, chan_misdn and others
consisting of multiple source files, this will not lead to the
behavior that users expect. If they want to set the debug level for
chan_sip, they want it set for all of chan_sip, and not to have to
also set it for reqresp_parser and other files that comprise the
chan_sip module.

This patch changes this functionality to be module-name based instead
of file-name based.

To make this work, some Makefile modifications were required to ensure
that the AST_MODULE definition is present in each object file produced
for each module as well.

Review: https://reviewboard.asterisk.org/r/574/



git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@253917 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-03-23 14:22:27 +00:00
Russell Bryant
b6e5e180b9 Resolve a compiler warning on FreeBSD.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@253537 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-03-20 11:39:39 +00:00
Russell Bryant
925aad8944 Remove pbx_gtkconsole and related gtk1 checks.
Review: https://reviewboard.asterisk.org/r/541/


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@251022 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-03-05 19:32:19 +00:00
Leif Madsen
b310356d93 Convert some DUNDI functions to XML documentation.
(closes issue #16798)
Reported by: snuffy
Patches: 
      xml_dundi.diff uploaded by snuffy (license 35)

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@249912 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-03-02 19:21:19 +00:00
Russell Bryant
77578f5e35 Add a todo for pbx_gtkconsole for updating to gtk2.
This module needs to be converted to gtk2, or we will eventually have to just
remove it from the tree.  gtk1 isn't even packaged anymore in the distro I'm
using.  I suspect nobody uses this and that nobody would notice if we removed
it.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@245384 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-02-08 04:43:55 +00:00
Tilghman Lesher
bc9f02a60d Merged revisions 242520 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r242520 | tilghman | 2010-01-24 00:33:01 -0600 (Sun, 24 Jan 2010) | 8 lines
  
  Only rebuild bison and flex source files on demand, if bison and flex are detected by the configure script.
  
  Changed after discussion on the -dev list about possible unnecessary build
  failures, due to checkouts/untars causing these special source files to
  possibly be newer than their resulting C files.  This should additionally
  ensure that nobody need learn about extra Makefile arguments to ensure the
  proper files get rebuilt when changes are made to these special source files.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@242521 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-24 06:40:31 +00:00
Jeff Peeler
568c057c4c Extend max call limit duration from 24.8 days to 292+ million years.
If the limit was set past MAX_INT upon answering, the call was immediately
hung up due to overflow from the return of ast_tvdiff_ms (in ast_check_hangup).
The time calculation functions ast_tvdiff_sec and ast_tvdiff_ms have been
changed to return an int64_t to prevent overflow. Also the reporter suggested
adding a message indicating the reason for the call hanging up. Given that the
new limit is so much higher, the message (which would only really be useful in
the overflow scenario) has been made a debug message only.

(closes issue #16006)
Reported by: viraptor


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@241143 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2010-01-18 22:31:25 +00:00
Matthias Nick
89b02b583a Parse global variables or expressions in hint extensions
Parse global variables or expressions in hint extensions. Like: exten => 400,hint,DAHDI/i2/${GLOBAL(var)}

(closes issue #16166)
Reported by: rmudgett
Tested by: mnick, rmudgett


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@233093 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-04 17:15:47 +00:00
Matthew Nicholson
a723865e5c Load pbx_lua with global symbols to allow linking with other lua libraries.
Found by Maxim Litnitskiy.


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@231189 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-25 15:42:48 +00:00
Tilghman Lesher
d8e0c58437 Expand codec bitfield from 32 bits to 64 bits.
Reviewboard: https://reviewboard.asterisk.org/r/416/


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@227580 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-04 14:05:12 +00:00