Checkout
may
committed
2 years and 8 months ago
Multiple revisions 343534,343579,343581,343636,343684,343692-343693,343744,343790,343853,343905,343951,344005

........
r343534 | mnichols… Show more
Multiple revisions 343534,343579,343581,343636,343684,343692-343693,343744,343790,343853,343905,343951,344005

........

 r343534 | mnicholson | 2011-11-07 22:42:04 +0400 (Mon, 07 Nov 2011) | 7 lines

 

 list all of the codecs associated with a particular format id for CLI command "core show codec"

 

 AST-699

 ........

 

 Merged revisions 343533 from http://svn.asterisk.org/svn/asterisk/branches/10

........

 r343579 | rmudgett | 2011-11-07 23:54:09 +0400 (Mon, 07 Nov 2011) | 27 lines

 

 Fix deadlock if peer is destroyed while sending MWI notice.

 

 A dialog cannot be destroyed by the ao2_callback dialog_needdestroy

 because of a deadlock between the dialogs container lock and the RWLOCK of

 the events subscription list.

 

 * Create dialogs_to_destroy container to hold dialogs that will be

 destroyed.

 

 * Ensure that the event subscription callback will never happen with an

 invalid peer pointer by making the event callback removal the first thing

 in the peer destructor callback.

 

 NOTE: This particular deadlock will not happen with Asterisk 10, but some

 of the changes still apply.

 

 (closes issue ASTERISK-18747)

 Reported by: Gregory Hinton Nietsky

 

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

 ........

 

 Merged revisions 343577 from http://svn.asterisk.org/svn/asterisk/branches/1.8

 ........

 

 Merged revisions 343578 from http://svn.asterisk.org/svn/asterisk/branches/10

........

 r343581 | wdoekes | 2011-11-07 23:58:44 +0400 (Mon, 07 Nov 2011) | 14 lines

 

 Correct the default udptl port range.

 

 The udptl port range was defined as 4000-4999 in the udptl.conf.sample,

 as 4500-4599 if you didn't have a config and 4500-4999 if your config

 was broken. Default is now 4000-4999.

 

 (closes issue ASTERISK-16250)

 Reviewed by: Tilghman Lesher

 

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

 ........

 

 Merged revisions 343580 from http://svn.asterisk.org/svn/asterisk/branches/10

........

 r343636 | kmoore | 2011-11-08 00:35:58 +0400 (Tue, 08 Nov 2011) | 16 lines

 

 Prevent BLF subscriptions from causing deadlocks

 

 Fix a locking inversion in sip_send_mwi_to_peer that was causing deadlocks.

 This function now requires that both the peer and associated pvt be unlocked

 before it is called for cases where peer and peer->mwipvt form a circular

 reference.

 

 (closes issue ASTERISK-18663)

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

 ........

 

 Merged revisions 343621 from http://svn.asterisk.org/svn/asterisk/branches/1.8

 ........

 

 Merged revisions 343635 from http://svn.asterisk.org/svn/asterisk/branches/10

........

 r343684 | rmudgett | 2011-11-08 01:29:01 +0400 (Tue, 08 Nov 2011) | 15 lines

 

 Fix __sip_subscribe_mwi_do() incorectly changing dialogs hash key callid.

 

 Changing an object value used as a container key requires removing the

 object from the container and reinserting it.

 

 * Created change_callid_pvt() to call instead of build_callid_pvt().  The

 change_callid_pvt() will correctly change the dialog callid so the ao2

 conainter can explicitly unlink it.

 ........

 

 Merged revisions 343637 from http://svn.asterisk.org/svn/asterisk/branches/1.8

 ........

 

 Merged revisions 343677 from http://svn.asterisk.org/svn/asterisk/branches/10

........

 r343692 | mnicholson | 2011-11-08 01:44:05 +0400 (Tue, 08 Nov 2011) | 10 lines

 

 respect case changes in peer names on sip reload

 

 ASTERISK-18669

 ........

 

 Merged revisions 343690 from http://svn.asterisk.org/svn/asterisk/branches/1.8

 ........

 

 Merged revisions 343691 from http://svn.asterisk.org/svn/asterisk/branches/10

........

 r343693 | lmadsen | 2011-11-08 01:58:14 +0400 (Tue, 08 Nov 2011) | 12 lines

 

 Allow built in variables to be used with dynamic weights.

 

 You can now use the built in variables , , and

 within a dynamic weight. For example, this could be useful when you want

 to pass requested lookup number to the SHELL() function which could be

 used to execute a script to dynamically set the weight of the result.

 

 (Closes issue ASTERISK-13657)

 Reported by: Joel Vandal

 Tested by: Leif Madsen, Russell Bryant

 Patches:

      asterisk-1.6-dundi-varhead.patch uploaded by Joel Vandal (License #5374)

........

 r343744 | kmoore | 2011-11-08 02:37:51 +0400 (Tue, 08 Nov 2011) | 11 lines

 

 Make "sip show settings" CLI command get RPID flags from the right global page

 

 The "Trust RPID" and "Send RPID" entries in the "sip show settings" CLI command

 pulled the flags from the incorrect global flags page.  These are now read from

 sip global flags page 0.

 

 (closes issue AST-711)

 ........

 

 Merged revisions 343743 from http://svn.asterisk.org/svn/asterisk/branches/10

........

 r343790 | lmadsen | 2011-11-08 17:23:27 +0400 (Tue, 08 Nov 2011) | 8 lines

 

 Fix boo-boo in prep_tarball script.

 

 A hardcoded a branch number was in the prep_tarball which could not work. Changed

 it to the  variable.

 ........

 

 Merged revisions 343789 from http://svn.asterisk.org/svn/asterisk/branches/10

........

 r343853 | rmudgett | 2011-11-08 22:02:51 +0400 (Tue, 08 Nov 2011) | 20 lines

 

 Fixed reference to incorrect variable if unknown host configured crash.

 

 * Fixed a LOG_ERROR message referencing the config variable list v that

 had previously been processed and became NULL.

 

 * Added error return value set that was missing in an ast_append_ha()

 error return path.

 

 (closes issue ASTERISK-18743)

 Reported by: Michele

 Patches:

       issueA18743-fix_dynamic_exclude_static_bad_host_log.patch (license #5674) patch uploaded by Walter Doekes

 Tested by: Michele

 ........

 

 Merged revisions 343851 from http://svn.asterisk.org/svn/asterisk/branches/1.8

 ........

 

 Merged revisions 343852 from http://svn.asterisk.org/svn/asterisk/branches/10

........

 r343905 | dvossel | 2011-11-08 22:35:19 +0400 (Tue, 08 Nov 2011) | 17 lines

 

 Merged revisions 343900 via svnmerge from

 https://origsvn.digium.com/svn/asterisk/branches/10

 

 ........

   r343900 | dvossel | 2011-11-08 12:29:33 -0600 (Tue, 08 Nov 2011) | 11 lines

   

   Fixes regression caused by r343635

   

   There was a missing unlock for a function return that is only

   present in Asterisk 10 and Asterisk Trunk.

   

   (closes issue ASTERISK-18839)

   Reported by: Michael L. Young

   Patches:

       asterisk-18839-missing-lock-trunk-v2.diff (License #5026) patch uploaded by Michael L. Young

 ........

........

 r343951 | wdoekes | 2011-11-08 23:29:25 +0400 (Tue, 08 Nov 2011) | 15 lines

 

 Fix crash when dialplan remove include is called with too few arguments.

 

 "dialplan remove include x from y" crashed when the amount of arguments

 was less than 6.

 

 (closes issue ASTERISK-18762)

 Reported by: Andrey Solovyev

 Tested by: Andrey Solovyev

 ........

 

 Merged revisions 343936 from http://svn.asterisk.org/svn/asterisk/branches/1.8

 ........

 

 Merged revisions 343944 from http://svn.asterisk.org/svn/asterisk/branches/10

........

 r344005 | rmudgett | 2011-11-09 02:14:38 +0400 (Wed, 09 Nov 2011) | 17 lines

 

 Residual changes for Asterisk v10 branch from ASTERISK-18747.

 

 Residual changes for Asterisk v10 branch from ASTERISK-18747 after

 https://reviewboard.asterisk.org/r/1564/ commit and associated dialogs

 callid hash key change fix.

 

 * Make check_rtp_timeout() return CMP_MATCH if need to delete dialog from

 dialogs_rtpcheck.  This is an optimization to avoid an unneeded

 lock/unlock and object search when using ao2_unlink.

 

 * Prevent crash in check_rtp_timeout() if dialog->rtp is NULL.

 

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

 ........

 

 Merged revisions 344004 from http://svn.asterisk.org/svn/asterisk/branches/10

........

Merged revisions 343534,343579,343581,343636,343684,343692-343693,343744,343790,343853,343905,343951,344005 from http://svn.asterisk.org/svn/asterisk/trunk

Show less