Commit Graph

17184 Commits

Author SHA1 Message Date
Russell Bryant
68b9042b7b Blocked revisions 176771 via svnmerge
........
r176771 | russell | 2009-02-17 16:52:43 -0600 (Tue, 17 Feb 2009) | 2 lines

Remove a dependency that no longer exists.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@176773 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-17 22:53:44 +00:00
Dwayne M. Hubbard
e51c85db06 Merged revisions 176705 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r176705 | dhubbard | 2009-02-17 15:59:38 -0600 (Tue, 17 Feb 2009) | 11 lines
  
  create a UDPTL structure in create_addr_from_peer() if it does not already exist for T38
  
  This is required to create a UDPTL structure in create_addr_from_peer() to handle the
  scenario where 't38pt_udptl=yes' is not defined in the [general] section of sip.conf but 
  is defined the peer's context.  I tested this patch by enabling t38pt_udptl in the 
  [general] section on one system and only enabling t38pt_udptl in a peer's context on
  the system sending a fax.  Without the patch, the sending system will fail to initiate
  T38 negotiation with the warning message, "No way to add SDP without an UDPTL structure".
  When this patch is applied the sending side will successfully initiate T38 negotiation.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@176731 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-17 22:21:59 +00:00
Jeff Peeler
22dafa5396 Merged revisions 176708 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r176708 | jpeeler | 2009-02-17 16:08:00 -0600 (Tue, 17 Feb 2009) | 23 lines
  
  Merged revisions 176701 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r176701 | jpeeler | 2009-02-17 15:54:34 -0600 (Tue, 17 Feb 2009) | 17 lines
    
    Modify bridging to properly evaluate DTMF after first warning is played
    
    The main problem is currently if the Dial flag L is used with a warning sound,
    DTMF is not evaluated after the first warning sound. To fix this, a flag has 
    been added in ast_generic_bridge for playing the warning which ensures that if
    a scheduled warning is missed, multiple warrnings are not played back (due to a
    feature evaluation or waiting for digits). ast_channel_bridge was modified to
    store the nexteventts in the ast_bridge_config structure as that information
    was lost every time ast_channel_bridge was reentered, causing a hangup due to
    incorrect time calculations.
    
    (closes issue #14315)
    Reported by: tim_ringenbach
    
    Reviewed on reviewboard:
    http://reviewboard.digium.com/r/163/
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@176711 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-17 22:15:26 +00:00
Mark Michelson
b34935bb7f Blocked revisions 176706 via svnmerge
........
  r176706 | mmichelson | 2009-02-17 16:02:42 -0600 (Tue, 17 Feb 2009) | 3 lines
  
  Use constants from inttypes.h to clear up 64-bit compilation errors
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@176707 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-17 22:03:06 +00:00
Mark Michelson
b03ba14e81 Merged revisions 176697 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r176697 | mmichelson | 2009-02-17 15:40:09 -0600 (Tue, 17 Feb 2009) | 3 lines
  
  Clear up documentation of AST_FRIENDLY_OFFSET in frame.h
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@176699 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-17 21:41:40 +00:00
Russell Bryant
18b14510f2 Merged revisions 176666 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r176666 | russell | 2009-02-17 15:22:40 -0600 (Tue, 17 Feb 2009) | 16 lines

Update the timing API to have better support for multiple timing interfaces.

1) Add module use count handling so that timing modules can be unloaded.

2) Implement unload_module() functions for the timing interface modules.

3) Allow multiple timing modules to be loaded, and use the one with the
   highest priority value.

4) Report which timing module is being use in the "timing test" CLI command.

(closes issue #14489)
Reported by: russell

Review: http://reviewboard.digium.com/r/162/

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@176675 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-17 21:24:17 +00:00
Tilghman Lesher
75ff7a609d Merged revisions 176592,176642 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r176592 | tilghman | 2009-02-17 12:49:20 -0600 (Tue, 17 Feb 2009) | 4 lines
  
  Add assertions in the quest to track down a refcount leak.
  (closes issue #14485)
   Reported by: davevg
........
  r176642 | tilghman | 2009-02-17 15:14:18 -0600 (Tue, 17 Feb 2009) | 8 lines
  
  Prior to masquerade, move the group definitions to the channel performing the
  masq, so that the group count lingers past the bridge.
  (closes issue #14275)
   Reported by: kowalma
   Patches: 
         20090216__bug14275.diff.txt uploaded by Corydon76 (license 14)
   Tested by: kowalma
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@176644 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-17 21:16:53 +00:00
Russell Bryant
de6aec7594 Blocked revisions 176639 via svnmerge
........
r176639 | russell | 2009-02-17 15:04:08 -0600 (Tue, 17 Feb 2009) | 9 lines

Significantly improve scheduler performance under high load.

This patch changes the scheduler to use a max-heap to store pending scheduler
entries instead of a fully sorted doubly linked list.  When the number of
entries in the scheduler gets large, this will perform much better.  For much
more detailed information on this change, see the review request.

Review: http://reviewboard.digium.com/r/160/

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@176641 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-17 21:05:17 +00:00
Russell Bryant
60fa843ca7 Merged revisions 176635 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r176635 | russell | 2009-02-17 14:56:26 -0600 (Tue, 17 Feb 2009) | 4 lines

Add a test module for the heap implementation.

Review: http://reviewboard.digium.com/r/160/

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@176637 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-17 20:57:01 +00:00
Russell Bryant
24d7b89cbe Merged revisions 176632 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r176632 | russell | 2009-02-17 14:51:10 -0600 (Tue, 17 Feb 2009) | 8 lines

Add an implementation of the heap data structure.

A heap is a convenient data structure for implementing a priority queue.

Code from svn/asterisk/team/russell/heap/.

Review: http://reviewboard.digium.com/r/160/

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@176634 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-17 20:52:24 +00:00
Russell Bryant
ea60dabb76 Blocked revisions 176627 via svnmerge
........
r176627 | russell | 2009-02-17 14:41:24 -0600 (Tue, 17 Feb 2009) | 37 lines

Merge a large set of updates to the Asterisk indications API.

This patch includes a number of changes to the indications API.  The primary
motivation for this work was to improve stability.  The object management
in this API was significantly flawed, and a number of trivial situations could
cause crashes.

The changes included are:

1) Remove the module res_indications.  This included the critical functionality
   that actually loaded the indications configuration.  I have seen many people
   have Asterisk problems because they accidentally did not have an
   indications.conf present and loaded.  Now, this code is in the core,
   and Asterisk will fail to start without indications configuration.

   There was one part of res_indications, the dialplan applications, which did
   belong in a module, and have been moved to a new module, app_playtones.

2) Object management has been significantly changed.  Tone zones are now
   managed using astobj2, and it is no longer possible to crash Asterisk by
   issuing a reload that destroys tone zones while they are in use.

3) The API documentation has been filled out.

4) The API has been updated to follow our naming conventions.

5) Various bits of code throughout the tree have been updated to account
   for the API update.

6) Configuration parsing has been mostly re-written.

7) "Code cleanup"

The code is from svn/asterisk/team/russell/indications/.

Review: http://reviewboard.digium.com/r/149/

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@176629 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-17 20:42:04 +00:00
Russell Bryant
ceffd56266 Merged revisions 176557 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r176557 | russell | 2009-02-17 11:33:38 -0600 (Tue, 17 Feb 2009) | 12 lines

Fix a race condition that caused device states to become incorrect for hints.

The problem here is that the hint processing code was subscribed to the wrong
event type.  So, it started processing state for a hint too soon, before the
device state cache had been updated.

Also, fix a similar bug in app_queue, as it was also subscribed to the wrong
event type.

(closes issue #14461)
Reported by: alecdavis

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@176559 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-17 17:38:47 +00:00
Tilghman Lesher
19515dc39f Merged revisions 176501 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r176501 | tilghman | 2009-02-17 08:39:36 -0600 (Tue, 17 Feb 2009) | 3 lines
  
  In this version, we can combine the queries, because we support dropping
  nonexistent columns.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@176503 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-17 14:48:01 +00:00
Tilghman Lesher
e97be790c0 Merged revisions 176459 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r176459 | tilghman | 2009-02-16 19:58:39 -0600 (Mon, 16 Feb 2009) | 17 lines
  
  Merged revisions 176426 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r176426 | tilghman | 2009-02-16 18:49:22 -0600 (Mon, 16 Feb 2009) | 10 lines
    
    After a 'sip reload', qualifies for realtime peers weren't immediately
    restarted, instead waiting until the next registration.  We're now
    caching the qualify across a reload/restart and starting the qualify
    immediately upon loading the peer.
    (closes issue #14196)
     Reported by: pdf
     Patches: 
           20090120__bug14196_1.4.diff.txt uploaded by pdf (license 663)
     Tested by: pdf
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@176461 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-17 02:07:18 +00:00
David Vossel
1ed4960ea5 Merged revisions 176355 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r176355 | dvossel | 2009-02-16 17:33:55 -0600 (Mon, 16 Feb 2009) | 13 lines
  
  Merged revisions 176354 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r176354 | dvossel | 2009-02-16 17:30:52 -0600 (Mon, 16 Feb 2009) | 8 lines
    
    Fixes issue with AST_CONTROL_SRCUPDATE not being relayed correctly during bridging
    
    This should have been committed with rev176247, but I missed it.  srcupdate frames no longer break out of the native bridge, but are not being sent to the other call leg either.  This fixs that.
    
    issue #13749
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@176362 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-16 23:57:11 +00:00
Tilghman Lesher
687a52e7c3 Blocked revisions 176360 via svnmerge
........
  r176360 | tilghman | 2009-02-16 17:48:54 -0600 (Mon, 16 Feb 2009) | 4 lines
  
  Might want to update the buffer pointer after a realloc (or we crash)
  (closes issue #14485)
   Reported by: davevg
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@176361 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-16 23:49:43 +00:00
Kevin P. Fleming
03f0bcc880 Blocked revisions 176356 via svnmerge
........
  r176356 | kpfleming | 2009-02-16 17:37:37 -0600 (Mon, 16 Feb 2009) | 3 lines
  
  add support for Siren7 and Siren14 flavors of prompts and music on hold
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@176358 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-16 23:38:17 +00:00
Tilghman Lesher
891769666b Merged revisions 176320 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r176320 | tilghman | 2009-02-16 17:14:08 -0600 (Mon, 16 Feb 2009) | 7 lines
  
  Use the correct list macros for deleting an item from the middle of a list.
  (issue #13777)
   Reported by: pj
   Patches: 
         20090203__bug13777.diff.txt uploaded by Corydon76 (license 14)
   Tested by: pj
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@176321 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-16 23:17:01 +00:00
Kevin P. Fleming
b88bed9b07 Merged revisions 176255 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r176255 | kpfleming | 2009-02-16 15:45:54 -0600 (Mon, 16 Feb 2009) | 13 lines
  
  Merged revisions 176216 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r176216 | kpfleming | 2009-02-16 15:10:38 -0600 (Mon, 16 Feb 2009) | 3 lines
    
    fix a flaw in the ast_string_field_build() family of API calls; these functions made no attempt to reuse the space already allocated to a field, so every time the field was written it would allocate new space, leading to what appeared to be a memory leak.
  ........
    r176254 | kpfleming | 2009-02-16 15:41:46 -0600 (Mon, 16 Feb 2009) | 3 lines
  
    correct a logic error in the last stringfields commit... don't mark additional space as allocated if the string was built using already-allocated space
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@176259 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-16 22:00:56 +00:00
Mark Michelson
dc6d1cd3b9 Merged revisions 176253 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r176253 | mmichelson | 2009-02-16 15:40:40 -0600 (Mon, 16 Feb 2009) | 24 lines
  
  Merged revisions 176249,176252 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r176249 | mmichelson | 2009-02-16 15:34:27 -0600 (Mon, 16 Feb 2009) | 14 lines
    
    Open the DAHDI pseudo device and set it to be nonblocking atomically
    
    Apparently on FreeBSD, attempting to set the O_NONBLOCKING flag separately
    from opening the file was causing an "inappropriate ioctl for device" error.
    While I cannot fathom why this would be happening, I certainly am not opposed
    to making the code a bit more compact/efficient if it also fixes a bug.
    
    (closes issue #14482)
    Reported by: ys
    Patches:
          meetme.patch uploaded by ys (license 281)
    Tested by: ys
  ........
    r176252 | mmichelson | 2009-02-16 15:39:21 -0600 (Mon, 16 Feb 2009) | 3 lines
    
    Remove unused variable and make dev-mode compilation happy
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@176257 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-16 21:50:31 +00:00
David Vossel
d9d35e070b Merged revisions 176248 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r176248 | dvossel | 2009-02-16 15:30:17 -0600 (Mon, 16 Feb 2009) | 11 lines
  
  Merged revisions 175597 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/trunk
  
  ........
    r175597 | dvossel | 2009-02-13 14:11:55 -0600 (Fri, 13 Feb 2009) | 4 lines
    
    Fixed iax2 key rotation backwards compatibility
    
    Turns key rotation back on by default.  Added bit into encryption IE to indicate whether or not key rotation is supported or not. If it is not supported then it is not enabled, which insures backwards compatibility.  This eliminates the need for the keyrotate option in iax.conf, so it has been removed.  
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@176251 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-16 21:36:07 +00:00
Mark Michelson
5cb74cdee8 Merged revisions 176174 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r176174 | mmichelson | 2009-02-16 12:25:57 -0600 (Mon, 16 Feb 2009) | 11 lines
  
  Assist proper thread synchronization when stopping the logger thread.
  
  I was finding that on my dev box, occasionally attempting to "stop now" in
  trunk would cause Asterisk to hang. I traced this to the fact that the logger
  thread was waiting on a condition which had already been signalled. The logger
  thread also need to be sure to check the value of the close_logger_thread variable.
  
  The close_logger_thread variable is only checked when the list of logmessages is empty.
  This allows for the logger thread to print and free any pending messages before exiting.
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@176176 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-16 18:38:00 +00:00
Tilghman Lesher
24c159b913 Blocked revisions 176138 via svnmerge
........
  r176138 | tilghman | 2009-02-16 11:44:51 -0600 (Mon, 16 Feb 2009) | 2 lines
  
  Can't set debug level 2 (intense debugging) unless the syntax matches
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@176139 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-16 17:47:12 +00:00
Russell Bryant
fbec79a2f5 Merged revisions 176100 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r176100 | russell | 2009-02-16 11:09:24 -0600 (Mon, 16 Feb 2009) | 4 lines

Remove chan_features.

Review: http://reviewboard.digium.com/r/161/

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@176102 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-16 17:10:16 +00:00
Tilghman Lesher
110c79d194 Eliminate mention of a variable which exists only in trunk.
(Thanks, jsmith)


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@176099 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-16 17:07:57 +00:00
Joshua Colp
800c99a36c Merged revisions 176030 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r176030 | file | 2009-02-16 11:36:19 -0400 (Mon, 16 Feb 2009) | 16 lines
  
  Merged revisions 176029 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r176029 | file | 2009-02-16 11:33:53 -0400 (Mon, 16 Feb 2009) | 9 lines
    
    Don't have the Via header stored as a stringfield as it can change often during the lifetime of a dialog.
    
    This issue crept up with subscriptions on the AA50. When an outgoing NOTIFY is sent a new branch value
    is created and the Via header is changed to reflect it. Since this was a stringfield a new spot in the
    pool was used for the value while the old was left untouched/unused. If the current pool was full a new
    pool was created. This would cause memory usage to increase steadily.
    
    (issue #AA50-2332)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@176032 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-16 15:38:20 +00:00
Michiel van Baak
9dab42b819 Merged revisions 175952 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r175952 | mvanbaak | 2009-02-16 01:26:59 +0100 (Mon, 16 Feb 2009) | 10 lines
  
  Merged revisions 175921 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r175921 | mvanbaak | 2009-02-16 00:37:03 +0100 (Mon, 16 Feb 2009) | 3 lines
    
    fix mis-spelling of the word registered.
    Reported by De_Mon on #asterisk-dev.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@176023 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-16 09:42:46 +00:00
Russell Bryant
d4bc178438 Blocked revisions 175983 via svnmerge
........
r175983 | russell | 2009-02-15 20:54:42 -0600 (Sun, 15 Feb 2009) | 2 lines

Make the causes array static, and remove the type name as it is not needed.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@175985 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-16 02:55:39 +00:00
Russell Bryant
ce201230ea Merged revisions 175882 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r175882 | russell | 2009-02-15 15:27:33 -0600 (Sun, 15 Feb 2009) | 2 lines

Make ast_sched_report() and ast_sched_dump() thread safe.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@175890 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-15 21:28:55 +00:00
Russell Bryant
3e2b976fc0 Merged revisions 175829 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r175829 | russell | 2009-02-15 14:56:27 -0600 (Sun, 15 Feb 2009) | 14 lines

Fix a number of problems with ast_sched_report().

1) It had numerous coding guidelines violations with regards to formatting.

2) It allocated memory using ast_calloc() that was never freed.

3) It didn't check for failure from the allocation.

4) It used sprintf() and strcat() to build the result, doing zero checking to
   prevent writing past the end of the provided buffer.

The function also lacks API documentation, but that has not been addressed in
this commit.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@175831 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-15 21:00:58 +00:00
Mark Michelson
e5ca5bec41 Blocked revisions 175663 via svnmerge
........
  r175663 | mmichelson | 2009-02-13 14:57:37 -0600 (Fri, 13 Feb 2009) | 12 lines
  
  Merge queue-reset branch to Asterisk
  
  From a user point-of-view, this adds new CLI commands and Manager Actions to
  better facilitate the reloading of queues and the resetting of their statistics.
  
  The new CLI commands are the "queue reload" and "queue reset stats" commands.
  
  The new manager actions are the QueueReload and QueueReset commands.
  
  Review: http://reviewboard.digium.com/r/115
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@175664 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-13 21:00:18 +00:00
David Vossel
972e704692 Merged revisions 175597 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r175597 | dvossel | 2009-02-13 14:11:55 -0600 (Fri, 13 Feb 2009) | 4 lines
  
  Fixed iax2 key rotation backwards compatibility
  
  Turns key rotation back on by default.  Added bit into encryption IE to indicate whether or not key rotation is supported or not. If it is not supported then it is not enabled, which insures backwards compatibility.  This eliminates the need for the keyrotate option in iax.conf, so it has been removed.  
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@175662 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-13 20:48:47 +00:00
Mark Michelson
8d187cd7cb Blocked revisions 175655 via svnmerge
........
  r175655 | mmichelson | 2009-02-13 14:35:26 -0600 (Fri, 13 Feb 2009) | 8 lines
  
  Add manager events for chanspy starting or stopping
  
  (closes issue #14469)
  Reported by: caio1982
  Patches:
        chanspy_events2.diff uploaded by caio1982 (license 22)
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@175657 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-13 20:36:27 +00:00
Russell Bryant
f1a5093472 Blocked revisions 175623,175636 via svnmerge
........
r175623 | russell | 2009-02-13 14:23:39 -0600 (Fri, 13 Feb 2009) | 1 line

add missing </para>
........
r175636 | russell | 2009-02-13 14:26:49 -0600 (Fri, 13 Feb 2009) | 1 line

fix a few more XML documentation problems
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@175640 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-13 20:27:54 +00:00
Mark Michelson
a3125621bc Merged revisions 175591 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r175591 | mmichelson | 2009-02-13 13:49:38 -0600 (Fri, 13 Feb 2009) | 22 lines
  
  Merged revisions 175590 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r175590 | mmichelson | 2009-02-13 13:47:48 -0600 (Fri, 13 Feb 2009) | 16 lines
    
    Fix a potential crash situation when using IMAP voicemail
    
    If calling into VoiceMailMain when using IMAP storage, it was
    possible to crash Asterisk by hanging up the phone when prompted
    for a voicemail mailbox. This patch fixes the issue.
    
    While it may appear that this patch is superficial, it allows code
    execution to continue to the failure case just below the IMAP_STORAGE
    code block where this patch has been applied
    
    (closes issue #14473)
    Reported by: dwpaul
    Patches:
          voicemail_imap_crash_no_mailbox.patch uploaded by dwpaul (license 689)
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@175593 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-13 19:52:03 +00:00
Joshua Colp
fea48f9cac Merged revisions 175549 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r175549 | file | 2009-02-13 12:41:15 -0400 (Fri, 13 Feb 2009) | 4 lines
  
  Add an option to keep the recorded file upon hangup.
  (closes issue #14341)
  Reported by: fnordian
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@175551 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-13 16:44:37 +00:00
Kevin P. Fleming
5cf379c7dd Blocked revisions 175512 via svnmerge
........
  r175512 | kpfleming | 2009-02-13 07:41:52 -0600 (Fri, 13 Feb 2009) | 3 lines
  
  document G.722.1/.1C support
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@175513 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-13 13:42:13 +00:00
Kevin P. Fleming
28caa2e0d6 Blocked revisions 175508 via svnmerge
........
  r175508 | kpfleming | 2009-02-13 07:35:24 -0600 (Fri, 13 Feb 2009) | 15 lines
  
  Add basic (passthrough, playback, record) support for ITU G.722.1 and G.722.1C (also known as Siren7 and Siren14)
  
  This patch adds passthrough, file recording and file playback support for the codecs listed above, with negotiation over SIP/SDP supported. Due to Asterisk's current limitation of treating a codec/bitrate combination as a unique codec, only G.722.1 at 32 kbps and G.722.1C at 48 kbps are supported.
  
  Along the way, some related work was done:
  
  1) The rtpPayloadType structure definition, used as a return result for an API call in rtp.h, was moved from rtp.c to rtp.h so that the API call was actually usable. The only previous used of the API all was chan_h323.c, which had a duplicate of the structure definition instead of doing it the right way.
  
  2) The hardcoded SDP sample rates for various codecs in chan_sip.c were removed, in favor of storing these sample rates in rtp.c along with the codec definitions there. A new API call was added to allow retrieval of the sample rate for a given codec.
  
  3) Some basic 'a=fmtp' parsing for SDP was added to chan_sip, because chan_sip *must* decline any media streams offered for these codecs that are not at the bitrates that we support (otherwise Bad Things (TM) would result).
  
  Review: http://reviewboard.digium.com/r/158/
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@175511 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-13 13:37:31 +00:00
Dwayne M. Hubbard
9d47857111 Blocked revisions 175475 via svnmerge
........
  r175475 | dhubbard | 2009-02-12 22:22:35 -0600 (Thu, 12 Feb 2009) | 1 line
  
  add 'faxbuffers' configuration option information to CHANGES
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@175477 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-13 04:28:12 +00:00
Dwayne M. Hubbard
88469bbca4 Blocked revisions 175411 via svnmerge
........
  r175411 | dhubbard | 2009-02-12 18:13:38 -0600 (Thu, 12 Feb 2009) | 13 lines
  
  Add dynamic fax buffer configuration option to chan_dahdi.conf
  
  When the 'faxdetect' configuration option is used, one may also want to use
  the 'faxbuffers' configuration option in chan_dahdi.conf.  This option will
  dynamically use the configured 'faxbuffers' buffer policy on a channel for
  the life of the call following the detection of fax tones.  The faxbuffers
  buffer policy will be reverted during call teardown.
  
  An example use of 'faxbuffers' is below.  This example would switch to using
  6 buffers with a full buffer policy.
  
  faxbuffers=>6,full
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@175473 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-13 03:59:12 +00:00
Mark Michelson
d22aad66d0 Blocked revisions 175408 via svnmerge
................
  r175408 | mmichelson | 2009-02-12 17:23:47 -0600 (Thu, 12 Feb 2009) | 17 lines
  
  Blocked revisions 175407 via svnmerge
  
  ........
    r175407 | mmichelson | 2009-02-12 17:22:44 -0600 (Thu, 12 Feb 2009) | 12 lines
    
    Fix a place where filestreams were not refcounted properly
    
    This section was already present in trunk and other branches,
    but did not exist in 1.4.
    
    (closes issue #14395)
    Reported by: ZX81
    Patches:
          14395.patch uploaded by putnopvut (license 60)
    Tested by: ZX81
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@175409 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-12 23:24:35 +00:00
Russell Bryant
30e5135fec Merged revisions 175368 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r175368 | russell | 2009-02-12 15:41:01 -0600 (Thu, 12 Feb 2009) | 2 lines

Remove useless string copy, and make sscanf safe again

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@175370 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-12 21:41:36 +00:00
David Vossel
36cdee6b70 Blocked revisions 175344 via svnmerge
........
  r175344 | dvossel | 2009-02-12 15:27:11 -0600 (Thu, 12 Feb 2009) | 10 lines
  
  Adds force encryption option to iax.conf
  
  This patch adds forceencryption=yes as an iax.conf option.  When force encryption is enabled, no unencrypted connections are allowed.  This insures all connections are encrypted.  This is a new feature, so CHANGES and iax.conf.sample are updated as well.   
  
  (closes issue #13285)
  Reported by: sgofferj
  Tested by: russell
  Review: http://reviewboard.digium.com/r/150/
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@175367 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-12 21:34:07 +00:00
Tilghman Lesher
051dab14b2 Merged revisions 175334 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r175334 | tilghman | 2009-02-12 15:25:14 -0600 (Thu, 12 Feb 2009) | 16 lines
  
  Merged revisions 175311 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r175311 | tilghman | 2009-02-12 15:19:40 -0600 (Thu, 12 Feb 2009) | 9 lines
    
    Fix crashes when receiving certain T.38 packets.  Also, increase the maximum
    size of T.38 packets and warn users when they try to set the limits above those
    maximums.
    (closes issue #13050)
     Reported by: schern
     Patches: 
           20090212__bug13050.diff.txt uploaded by Corydon76 (license 14)
     Tested by: schern
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@175342 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-12 21:27:03 +00:00
Jeff Peeler
ab4aba0fb5 Merged revisions 175298 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r175298 | jpeeler | 2009-02-12 14:48:56 -0600 (Thu, 12 Feb 2009) | 15 lines
  
  Merged revisions 175294 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r175294 | jpeeler | 2009-02-12 14:34:36 -0600 (Thu, 12 Feb 2009) | 9 lines
    
    Fix ParkedCall event information for From field in the case of a blind transfer
    
    If the parker information can not be obtained from the peer, try and see if
    the BLINDTRANSFER channel variable has been set. Previously, a blind transfer
    to the ParkAndAnnounce app would return nothing for the From.
    
    Closes AST-189
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@175300 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-12 20:51:45 +00:00
Russell Bryant
b792800b01 Merged revisions 175295 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r175295 | russell | 2009-02-12 14:45:47 -0600 (Thu, 12 Feb 2009) | 2 lines

Avoid using ast_strdupa() in a loop.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@175297 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-12 20:48:13 +00:00
Russell Bryant
b49fe2e258 Merged revisions 175255 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
r175255 | russell | 2009-02-12 13:11:08 -0600 (Thu, 12 Feb 2009) | 4 lines

Don't enable something by default that has a dependency on something _not_ enabled by default.

menuselect was not happy with this.

........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@175257 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-12 19:12:06 +00:00
Kevin P. Fleming
63b7cfb593 Merged revisions 175250 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r175250 | kpfleming | 2009-02-12 12:48:52 -0600 (Thu, 12 Feb 2009) | 1 line
  
  correct warning message to not refer specifically to DAHDI
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@175251 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-12 18:50:04 +00:00
Jeff Peeler
63240311a8 Merged revisions 175188 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

................
  r175188 | jpeeler | 2009-02-12 12:00:11 -0600 (Thu, 12 Feb 2009) | 12 lines
  
  Merged revisions 175187 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r175187 | jpeeler | 2009-02-12 11:57:10 -0600 (Thu, 12 Feb 2009) | 6 lines
    
    Fix crash in event of failed attempt to transfer to parking
    
    The peer may not necessarily exist, such as in the case of a transfer to 
    ParkAndAnnounce. In this case don't try to play a sound to it.
  ........
................


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@175190 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-12 18:01:54 +00:00
David Vossel
7827a31bfe Merged revisions 175127 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk

........
  r175127 | dvossel | 2009-02-12 11:07:17 -0600 (Thu, 12 Feb 2009) | 4 lines
  
  Setting key rotation to be off by default
  
  Key rotation breaks compatibility between (trunk/1.6.1) and (1.2/1.4/1.6.0).  As a follow up to this, I am investigating possible ways to allow key rotation to be on by default and not affect the other branches, but for now it must be turned off. 
........


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.1@175130 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2009-02-12 17:09:55 +00:00