Commit Graph

17652 Commits

Author SHA1 Message Date
Russell Bryant
e1f0d3d146 Fix breakage of the "module load <module>" CLI command.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@233881 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-09 20:00:25 +00:00
Russell Bryant
886ea54ec5 Set a module load priority for format modules.
A recent change to app_voicemail made it such that the module now assumes that
all format modules are available while processing voicemail configuration.
However, when autoloading modules, it was possible that app_voicemail was
loaded before the format modules. Since format modules don't depend on
anything, set a module load priority on them to ensure that they get loaded
first when autoloading.

This version of the patch is specific to Asterisk 1.4 and 1.6.0.  These versions
did not already support module load priority in the module API.  This adds a
trivial version of this which is just a module flag to include it in a pass before
loading "everything".

Thanks to mmichelson for the review!

(closes issue #16412)
Reported by: jiddings
Tested by: russell

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@233841 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-09 15:28:59 +00:00
Tilghman Lesher
a632989c97 Merged revisions 233718 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r233718 | tilghman | 2009-12-08 12:22:44 -0600 (Tue, 08 Dec 2009) | 8 lines
  
  Find another ref leak and change how we manage module references.
  (closes issue #16388)
   Reported by: parisioa
   Patches: 
         20091208__issue16388.diff.txt uploaded by tilghman (license 14)
   Tested by: parisioa, tilghman
   Review: https://reviewboard.asterisk.org/r/442/
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@233729 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-08 18:28:18 +00:00
Atis Lezdins
0261987060 Merged revisions 233577 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r233577 | atis | 2009-12-08 01:10:13 +0200 (Tue, 08 Dec 2009) | 8 lines
  
  Fix compatibility with valgrind 3.3 and older.
  
  (noticed in issue #16388)
  Reported by: parisioa
  Patches:
      valgrind.supp uloaded by atis (license 242)
  Tested by: atis, parisioa
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@233617 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-07 23:57:21 +00:00
David Vossel
bad5b138b9 Merged revisions 233611 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r233611 | dvossel | 2009-12-07 17:28:51 -0600 (Mon, 07 Dec 2009) | 4 lines
  
  fixes incorrect logic in ast_uri_encode
  
  issue #16299
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@233614 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-07 23:30:14 +00:00
David Vossel
786d48dba6 Merged revisions 233472 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r233472 | dvossel | 2009-12-07 12:08:46 -0600 (Mon, 07 Dec 2009) | 15 lines
  
  Merged revisions 233471 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r233471 | dvossel | 2009-12-07 12:07:38 -0600 (Mon, 07 Dec 2009) | 9 lines
    
    fixes missing Contact header angle brackets
    
    (closes issue #16298)
    Reported by: mgernoth
    Patches:
          reg_parse_issue_1.4.diff uploaded by dvossel (license 671)
    Tested by: dvossel
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@233475 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-07 18:10:36 +00:00
Matthew Nicholson
8a68c3b217 Merged revisions 233394 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r233394 | mnicholson | 2009-12-07 10:14:42 -0600 (Mon, 07 Dec 2009) | 8 lines
  
  Do not reject SDP packets describing only non audio streams.
  
  (closes issue #16387)
  Reported by: zalex1953
  Patches:
        media-level-c-fix1.diff uploaded by mnicholson (license 96)
  Tested by: mnicholson, zalex1953
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@233397 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-07 16:16:32 +00:00
David Vossel
9efb60adf2 Merged revisions 233280 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r233280 | dvossel | 2009-12-04 15:54:44 -0600 (Fri, 04 Dec 2009) | 14 lines
  
  Merged revisions 233279 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r233279 | dvossel | 2009-12-04 15:54:01 -0600 (Fri, 04 Dec 2009) | 7 lines
    
    clarify requirecalltoken option in iax.sample.conf
    
    (closes issue #16223)
    Reported by: bklang
    Patches:
          clarify-iax-requirecalltoken.patch uploaded by bklang (license 919)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@233284 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-04 21:56:28 +00:00
Matthias Nick
420bfdf561 Merged revisions 233093 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r233093 | mnick | 2009-12-04 11:15:47 -0600 (Fri, 04 Dec 2009) | 8 lines
  
  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/branches/1.6.0@233236 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-04 20:29:30 +00:00
Russell Bryant
2abb6f70b8 unblock a rev.
git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@233230 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-04 20:11:22 +00:00
David Vossel
f35d69a94c Merged revisions 233121 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r233121 | dvossel | 2009-12-04 11:22:31 -0600 (Fri, 04 Dec 2009) | 12 lines
  
  Merged revisions 233116 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r233116 | dvossel | 2009-12-04 11:21:34 -0600 (Fri, 04 Dec 2009) | 6 lines
    
    document and rename strip_control() in app_voicemail
    
    (closes issue #16291)
    Reported by: wdoekes
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@233167 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-04 17:39:32 +00:00
Russell Bryant
8041c006fd Merged revisions 233100 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r233100 | russell | 2009-12-04 11:18:22 -0600 (Fri, 04 Dec 2009) | 14 lines
  
  Merged revisions 233092 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r233092 | russell | 2009-12-04 11:12:47 -0600 (Fri, 04 Dec 2009) | 7 lines
    
    Only do frame payload check for HOLD frames.
    
    This code was added for helping to debug the source of invalid HOLD frames.
    However, a side effect of this is that it will incorrectly report errors for
    frames that have an integer payload.  Make the check for this block specific
    to the HOLD frame case.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@233112 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-04 17:20:56 +00:00
Matthias Nick
7261fde74b Merged revisions 233046 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r233046 | mnick | 2009-12-04 09:38:33 -0600 (Fri, 04 Dec 2009) | 17 lines
  
  Merged revisions 233014 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r233014 | mnick | 2009-12-04 09:17:03 -0600 (Fri, 04 Dec 2009) | 11 lines
    
    Warning message gets displayed only once
    
    Added additional field 'int display_inband_dtmf_warning', which when set to '1' displays the warning ('Inband DTMF is not supported on codec %s. Use RFC2833'), and when set to '0' doesn't display the warning. Otherwise you would get hundreds of warnings every second.
    
    (closes issue #15769)
    Reported by: falves11
    Patches:
    	patch_15769_14.txt uploaded by mnick (license 874)
    Tested by: mnick, falves11
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@233047 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-04 15:46:46 +00:00
Tilghman Lesher
6669e921ce Merged revisions 232854 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r232854 | tilghman | 2009-12-03 14:47:07 -0600 (Thu, 03 Dec 2009) | 15 lines
  
  Merged revisions 232820 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r232820 | tilghman | 2009-12-03 14:10:19 -0600 (Thu, 03 Dec 2009) | 8 lines
    
    Deprecate "cz" in favor of "cs".
    Also, change the use of language codes so that language registers as a prefix,
    rather than an exact match.
    (closes issue #16272)
     Reported by: patrol-cz
     Patches: 
           20091203__issue16272.diff.txt uploaded by tilghman (license 14)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@232864 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-03 21:03:30 +00:00
David Ruggles
1678c52471 Merged revisions 232587 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r232587 | diruggles | 2009-12-02 17:17:22 -0500 (Wed, 02 Dec 2009) | 12 lines
  
  Prevent double closing of FDs by EIVR
  
  This caused a problem when asterisk was under heavy load and running both AGI and EIVR applications.
  EIVR would close an FD at which point it would be considered freed and be used by a new AGI instance
  the second close would then close the FD now in use by AGI.
  
  (closes issue #16305)
  Reported by: diLLec
  Tested by: thedavidfactor, diLLec
  
  Review: https://reviewboard.asterisk.org/r/436/
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@232811 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-03 14:47:57 +00:00
Tilghman Lesher
7bfd44c35e Merged revisions 232660-232661 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r232660 | tilghman | 2009-12-02 18:08:55 -0600 (Wed, 02 Dec 2009) | 19 lines
  
  Fix multiple issues with musiconhold, which led to classes not getting destroyed properly.
   * Classes are now tracked past removal from the core container, and module
     removal is actively prevented until all references are freed.
   * A hanging reference stored in the channel has been removed.  This could have
     caused a mismatch and the music state not properly cleared, if two or more
     reloads occurred between MOH being stopped and MOH being restarted.
   * In certain circumstances, duplicate classes were possible.
   * A race existed at reload time between a process being killed and the thread
     responsible for reading from the related pipe respawning that process.
   * Several reference counts have also been corrected.  At least one could have
     caused deleted classes to stick around forever, consuming resources.  This
     originally manifested as MOH external processes that were not killed at
     reload time.
  (closes issue #16279, closes issue #16207)
   Reported by: parisioa, dcabot
   Patches: 
         20091202__issue16279__2.diff.txt uploaded by tilghman (license 14)
   Tested by: parisioa, tilghman
........
  r232661 | tilghman | 2009-12-02 18:09:36 -0600 (Wed, 02 Dec 2009) | 2 lines
  
  Remove debugging line
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@232699 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-03 00:32:37 +00:00
Jeff Peeler
b5b53e2bb4 Merged revisions 232582 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r232582 | jpeeler | 2009-12-02 16:02:43 -0600 (Wed, 02 Dec 2009) | 14 lines
  
  Merged revisions 232581 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r232581 | jpeeler | 2009-12-02 15:57:42 -0600 (Wed, 02 Dec 2009) | 7 lines
    
    Send ack (response/message) after receiving manager action userevent
    
    (closes issue #16264)
    Reported by: dimas
    Patches: 
          event-ack.patch uploaded by dimas (license 88)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@232583 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-02 22:03:50 +00:00
Jeff Peeler
145eebba3f Merged revisions 232576 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r232576 | jpeeler | 2009-12-02 15:32:50 -0600 (Wed, 02 Dec 2009) | 8 lines
  
  Make manager response to "Action: events" finish with empty line
  
  (closes issue #16275)
  Reported by: vnovy
  Patches: 
        manager.c.diff uploaded by vnovy (license 922)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@232577 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-02 21:33:58 +00:00
Joshua Colp
a2c4e9e097 Merged revisions 232356 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r232356 | file | 2009-12-02 13:06:54 -0400 (Wed, 02 Dec 2009) | 12 lines
  
  Merged revisions 232355 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r232355 | file | 2009-12-02 13:04:52 -0400 (Wed, 02 Dec 2009) | 5 lines
    
    Fix a bug where if you hung up very quickly after calling AMD it would overwrite the AMDSTATUS of HANGUP with TOOLONG.
    
    (closes issue #16239)
    Reported by: CGMChris
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@232357 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-02 17:08:55 +00:00
David Vossel
e7b09710a0 Merged revisions 232351 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r232351 | dvossel | 2009-12-02 11:00:15 -0600 (Wed, 02 Dec 2009) | 12 lines
  
  Merged revisions 232350 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r232350 | dvossel | 2009-12-02 10:59:18 -0600 (Wed, 02 Dec 2009) | 6 lines
    
    ast_outaddrfor doesn't do htons() on port, looks odd in strace.
    
    (closes issue #16290)
    Reported by: wdoekes
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@232354 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-02 17:03:26 +00:00
Joshua Colp
a73b397c54 Merged revisions 232345 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r232345 | file | 2009-12-02 12:40:14 -0400 (Wed, 02 Dec 2009) | 7 lines
  
  Add support for handling the 415 Unsupported media type response like we do for a 488 Not acceptable here response.
  
  (closes issue #16186)
  Reported by: atis
  Patches:
        sip_t38_response_415.patch uploaded by atis (license 242)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@232346 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-02 16:41:54 +00:00
David Vossel
3a859720f2 Merged revisions 232269 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r232269 | dvossel | 2009-12-02 09:42:54 -0600 (Wed, 02 Dec 2009) | 15 lines
  
  Merged revisions 232268 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r232268 | dvossel | 2009-12-02 09:41:36 -0600 (Wed, 02 Dec 2009) | 9 lines
    
    fixes segfault in func_groupcount
    
    closes issue #16337)
    Reported by: Parantido
    Patches:
          issue_16337.diff uploaded by dvossel (license 671)
    	  Tested by: Parantido, dvossel
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@232272 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-02 15:45:26 +00:00
Jeff Peeler
37560eb976 Merged revisions 232091 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r232091 | jpeeler | 2009-12-01 18:45:18 -0600 (Tue, 01 Dec 2009) | 17 lines
  
  Merged revisions 232090 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r232090 | jpeeler | 2009-12-01 18:42:58 -0600 (Tue, 01 Dec 2009) | 10 lines
    
    Do not modify the gain settings on data calls.
    
    (The digital flag actually represents a data call.)
    
    (closes issue #15972)
    Reported by: udosw
    Patches: 
          transcap_digital_fix.diff.txt uploaded by alecdavis (license 585)
    Tested by: alecdavis
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@232092 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-02 00:49:29 +00:00
Russell Bryant
7ef2df21e2 Merged revisions 232012 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r232012 | russell | 2009-12-01 17:38:34 -0600 (Tue, 01 Dec 2009) | 2 lines
  
  Fix a build error on FreeBSD.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@232013 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-01 23:39:22 +00:00
Russell Bryant
5c22635f29 Merged revisions 232008 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r232008 | russell | 2009-12-01 17:27:53 -0600 (Tue, 01 Dec 2009) | 9 lines
  
  Merged revisions 232007 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r232007 | russell | 2009-12-01 17:25:36 -0600 (Tue, 01 Dec 2009) | 2 lines
    
    Fix a warning pointed out by buildbot.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@232009 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-01 23:30:32 +00:00
Jeff Peeler
69807342ea Merged revisions 231927 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r231927 | jpeeler | 2009-12-01 15:54:21 -0600 (Tue, 01 Dec 2009) | 19 lines
  
  Merged revisions 231911 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r231911 | jpeeler | 2009-12-01 15:29:31 -0600 (Tue, 01 Dec 2009) | 12 lines
    
    Fix crash with invalid frame data
    
    The crash was happening as a result of a frame containing an invalid data
    pointer, but was set with data length of zero. The few times the issue was
    reproduced it _seemed_ that the frame was queued properly, that is the data
    pointer was set to NULL. I never could reproduce the crash so as a last resort
    the crash has been fixed, but a check in __ast_read has been added to give as
    much information about the source of problematic frames in the future.
    
    (closes issue #16058)
    Reported by: atis
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@231928 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-01 21:57:45 +00:00
David Vossel
4231ba3e97 Merged revisions 231867 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r231867 | dvossel | 2009-12-01 15:20:19 -0600 (Tue, 01 Dec 2009) | 9 lines
  
  Merged revisions 231853 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r231853 | dvossel | 2009-12-01 15:14:31 -0600 (Tue, 01 Dec 2009) | 3 lines
    
    WaitExten m option with no parameters generates frame with zero datalen but non-null data ptr
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@231879 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-01 21:22:30 +00:00
Matthew Nicholson
412a941046 Merged revisions 231741 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r231741 | mnicholson | 2009-12-01 09:47:36 -0600 (Tue, 01 Dec 2009) | 9 lines
  
  Merged revisions 231740 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r231740 | mnicholson | 2009-12-01 09:34:57 -0600 (Tue, 01 Dec 2009) | 2 lines
    
    Ignore unknown formats in ast_format_str_reduce() and return an error if no know formats are found.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@231744 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-12-01 15:51:33 +00:00
Kevin P. Fleming
bb10b22e34 Merged revisions 231692 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r231692 | kpfleming | 2009-11-30 15:47:42 -0600 (Mon, 30 Nov 2009) | 22 lines
  
  Another round of UDPTL stack fixes/improvements:
  
  1) Allow users of UDPTL stack to associate a character-string tag with a UDPTL
     session, so that log/error/debug messages generated by the UDPTL stack can
     be 'connected' to the endpoint that caused them to be generated.
  
  2) Improve comments (and process) of calculating the far end's maximum IFP size
     when redundancy mode is in use for error correction.
  
  3) When an IFP larger than the calculated 'far max IFP' size is presented for
     writing, truncate it rather than putting in the buffer and allowing the buffer
     to overflow; this will cause the ends to retrain to a lower bit rate that
     produces IFPs of an appropriate size if possible, and if not possible, the
     FAX transfer will fail completely. In these cases, it is due to the one endpoint
     supplying a T38FaxMaxDatagram value that is improperly calculated and is
     too low to be of use; we have configuration options available to override
     this behavior.
  
  4) Eliminate use of T38FaxMaxDatagram value in udptl.conf; it is no longer
     needed.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@231693 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-30 21:52:01 +00:00
Matthew Nicholson
f9fc028293 Merged revisions 231688 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r231688 | mnicholson | 2009-11-30 15:31:55 -0600 (Mon, 30 Nov 2009) | 15 lines
  
  Merged revisions 231614 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r231614 | mnicholson | 2009-11-30 15:11:44 -0600 (Mon, 30 Nov 2009) | 8 lines
    
    Remove duplicate entries from voicemail format lists. This prevents app_voicemail from entering an infinite loop when the same format is specified twice in the format list.
    
    (closes issue #15625)
    Reported by: Shagg63
    Tested by: mnicholson
    
    Review: https://reviewboard.asterisk.org/r/429/
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@231691 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-30 21:37:21 +00:00
Joshua Colp
32152e49a5 Merged revisions 231602 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r231602 | file | 2009-11-30 16:44:30 -0400 (Mon, 30 Nov 2009) | 5 lines
  
  When receiving SDP that matches the version of the last one do not treat it as a fatal error.
  
  (closes issue #16238)
  Reported by: seandarcy
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@231603 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-30 20:45:34 +00:00
David Vossel
bffa76f003 Merged revisions 231556 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r231556 | dvossel | 2009-11-30 12:55:07 -0600 (Mon, 30 Nov 2009) | 11 lines
  
  app_queue crashes randomly, often during call-transfers
  
  This patch adds a ref to the queue_ent object's parent call_queue
  in queue_exec() so the call_queue won't be destroyed
  while the the queue_ent still holds a pointer to it.
  
  (closes issue 0015686)
  Tested by: dvossel, aragon
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@231560 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-30 18:58:05 +00:00
David Vossel
c14142bad1 Merged revisions 231491 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r231491 | dvossel | 2009-11-30 11:28:28 -0600 (Mon, 30 Nov 2009) | 17 lines
  
  Merged revisions 231441 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r231441 | dvossel | 2009-11-30 11:14:08 -0600 (Mon, 30 Nov 2009) | 11 lines
    
    fixes crash caused by RTP comfort noise payload greater than 24 bytes
    
    AST-2009-010
    
    (closes issue #16242)
    Reported by: amorsen
    Patches:
          issue16242.diff uploaded by oej (license 306)
    Tested by: amorsen, oej, dvossel
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@231517 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-30 17:34:17 +00:00
Tilghman Lesher
3ee8b628c4 Merged revisions 231299 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r231299 | tilghman | 2009-11-25 16:33:02 -0600 (Wed, 25 Nov 2009) | 9 lines
  
  Merged revisions 231298 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r231298 | tilghman | 2009-11-25 16:31:57 -0600 (Wed, 25 Nov 2009) | 2 lines
    
    After a frame duplication failure, unlock the channel before returning.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@231300 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-25 22:34:29 +00:00
Matthew Nicholson
373cbcd2f6 Merged revisions 231189 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r231189 | mnicholson | 2009-11-25 09:42:48 -0600 (Wed, 25 Nov 2009) | 4 lines
  
  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/branches/1.6.0@231192 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-25 15:48:55 +00:00
Jeff Peeler
e3333fc495 Merged revisions 231095 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r231095 | jpeeler | 2009-11-24 12:50:36 -0600 (Tue, 24 Nov 2009) | 11 lines
  
  Fix erroneous hangup extension execution
  
  ast_spawn_extension behaves differently from 1.4 in that hangups and extensions
  that do not exist do not return an error, whereas in 1.6 it does. This is now 
  taken into account so that the AST_FLAG_BRIDGE_HANGUP_RUN flag gets set
  properly.
  
  (closes issue #16106)
  Reported by: ajohnson
  Tested by: ajohnson
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@231096 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-24 18:53:44 +00:00
Joshua Colp
2ed6571d4a Merged revisions 230881 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r230881 | file | 2009-11-23 09:45:45 -0600 (Mon, 23 Nov 2009) | 7 lines
  
  Change fax detection in chan_sip so it behaves as one would expect.
  
  Internally the way T.38 is negotiated has changed and the option no longer
  reflects a behavior that is valid. It will now look for a CNG tone on
  received calls and if present send the call to the 'fax' extension. It is
  then up to the application or channel to request the switch over to T.38.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@230882 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-23 15:46:39 +00:00
Kevin P. Fleming
238b4d1e07 Merged revisions 230877 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r230877 | kpfleming | 2009-11-23 09:34:16 -0600 (Mon, 23 Nov 2009) | 9 lines
  
  Merged revisions 230839 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r230839 | kpfleming | 2009-11-23 09:09:24 -0600 (Mon, 23 Nov 2009) | 1 line
    
    Correct fix for issue #16268... the reporter's original patch was very close to correct.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@230878 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-23 15:35:19 +00:00
Kevin P. Fleming
d7573defac Merged revisions 230773 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r230773 | kpfleming | 2009-11-23 08:15:48 -0600 (Mon, 23 Nov 2009) | 12 lines
  
  Merged revisions 230772 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r230772 | kpfleming | 2009-11-23 08:13:56 -0600 (Mon, 23 Nov 2009) | 5 lines
    
    Ensure that SDP parsing does not ignore the last line of the SDP.
    
    (closes issue #16268)
    Reported by: sgimeno
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@230782 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-23 14:19:01 +00:00
David Vossel
2e8d394505 Merged revisions 230726 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r230726 | dvossel | 2009-11-20 16:35:54 -0600 (Fri, 20 Nov 2009) | 7 lines
  
  fixes iax2 show cache locking error, thanks alecdavis!

  (closes issue #16094)
  Reported by: alecdavis
  Patches:
        bug16094.diff.txt uploaded by alecdavis (license 585)
  Tested by: alecdavis, dvossel
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@230729 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-20 22:37:42 +00:00
Matthew Nicholson
88397ae314 Merged revisions 230628 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r230628 | mnicholson | 2009-11-20 15:01:10 -0600 (Fri, 20 Nov 2009) | 15 lines
  
  Merged revisions 230627 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r230627 | mnicholson | 2009-11-20 14:53:06 -0600 (Fri, 20 Nov 2009) | 8 lines
    
    Copy the peer CDR's userfield to the bridge CDR if it exists.  This is necessary for the recordagentcalls option in chan_agent to store the recorded file name in the bridge CDR.
    
    (closes issue #14590)
    Reported by: msetim
    Patches:
          queue_agent_userfield.patch uploaded by Laureano (license 265)
    Tested by: Laureano, mnicholson
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@230631 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-20 21:09:45 +00:00
David Vossel
f87c2212d4 Merged revisions 230583 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r230583 | dvossel | 2009-11-20 11:26:20 -0600 (Fri, 20 Nov 2009) | 6 lines
  
  audiohook signal trigger on every status change
  
  (issue #14618)
  
  Review: https://reviewboard.asterisk.org/r/434/
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@230587 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-20 17:37:03 +00:00
David Vossel
8e3196a9d6 Merged revisions 230509 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r230509 | dvossel | 2009-11-19 15:26:21 -0600 (Thu, 19 Nov 2009) | 17 lines
  
  Merged revisions 230508 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r230508 | dvossel | 2009-11-19 15:22:46 -0600 (Thu, 19 Nov 2009) | 10 lines
    
    fixes MixMonitor thread not exiting when StopMixMonitor is used
    
    (closes issue #16152)
    Reported by: AlexMS
    Patches:
          stopmixmonitor_1.4.diff uploaded by dvossel (license 671)
    Tested by: dvossel, AlexMS
    
    Review: https://reviewboard.asterisk.org/r/424/
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@230512 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-19 21:33:37 +00:00
Kevin P. Fleming
763d586dc7 Merged revisions 230381 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r230381 | kpfleming | 2009-11-16 10:40:25 -0600 (Mon, 16 Nov 2009) | 1 line
  
  Fix another buglet in T.38 session teardown at the end of FAX sessions.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@230382 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-16 16:41:11 +00:00
Kevin P. Fleming
8d0527f467 Merged revisions 230343 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r230343 | kpfleming | 2009-11-16 06:51:59 -0600 (Mon, 16 Nov 2009) | 2 lines
  
  Ensure that only one end of a T.38 session initiates teardown at completion.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@230344 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-16 12:52:48 +00:00
Kevin P. Fleming
67f257a067 Merged revisions 230247 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r230247 | kpfleming | 2009-11-15 11:23:02 -0600 (Sun, 15 Nov 2009) | 12 lines
  
  Merged revisions 230246 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r230246 | kpfleming | 2009-11-15 11:19:06 -0600 (Sun, 15 Nov 2009) | 6 lines
    
    Correct mistaken option name in error message.
    
    The configuration option for allowing hosts to make non-token-based calls
    is 'calltokenoptional', not 'calltokenignore'. (reported on asterisk-users)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@230248 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-15 17:23:50 +00:00
Joshua Colp
dbca3dc939 Merged revisions 230145 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r230145 | file | 2009-11-13 16:00:44 -0600 (Fri, 13 Nov 2009) | 15 lines
  
  Merged revisions 230144 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r230144 | file | 2009-11-13 16:00:19 -0600 (Fri, 13 Nov 2009) | 8 lines
    
    Respect the maddr parameter in the Via header.
    
    (closes issue #14446)
    Reported by: frawd
    Patches:
          via_maddr.patch uploaded by frawd (license 610)
    Tested by: frawd
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@230146 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-13 22:01:06 +00:00
Joshua Colp
b2ac09ca22 Merged revisions 230039 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r230039 | file | 2009-11-13 13:44:53 -0600 (Fri, 13 Nov 2009) | 16 lines
  
  Merged revisions 230038 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r230038 | file | 2009-11-13 13:44:07 -0600 (Fri, 13 Nov 2009) | 9 lines
    
    Fix a crash caused by two threads thinking they should both free the
    chan_local private structure when only one should.
    
    (closes issue #15314)
    Reported by: sroberts
    Patches:
          Issue15314_Move_Nulling_owner.patch uploaded by davidw (license 780)
    Tested by: davidw, lottc
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@230040 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-13 19:45:13 +00:00
Joshua Colp
8e1050a1af Merged revisions 229966 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r229966 | file | 2009-11-13 11:20:26 -0600 (Fri, 13 Nov 2009) | 13 lines
  
  Merged revisions 229965 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r229965 | file | 2009-11-13 11:19:59 -0600 (Fri, 13 Nov 2009) | 6 lines
    
    Document a limitation in the AVAILSTATUS variable from ChanIsAvail and provide
    a workaround for it that does not change existing behavior.
    
    (closes issue #14426)
    Reported by: macli
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@229967 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-13 17:20:53 +00:00
Joshua Colp
7ccaf843fe Merged revisions 229912 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r229912 | file | 2009-11-13 09:56:16 -0600 (Fri, 13 Nov 2009) | 2 lines
  
  Fix T.38 negotiation regression introduced with the SDP parser changes.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@229913 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-11-13 15:56:48 +00:00