Eliminate a use of a C++ keyword as a variable. new to new_frame

git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@380653 f38db490-d61c-443f-a65b-d21fe96a405b
Eliminate an unused lock in ast_bridge_channel.

git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@380654 f38db490-d61c-443f-a65b-d21fe96a405b
Improve func FRAME_TRACE DTMF digit format.

git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@380655 f38db490-d61c-443f-a65b-d21fe96a405b
bridge_multiplexed: Keep the multiplexed thread until no more bridges use it.

* Fixed the potential of losing the multiplexed bridge thread when the
last channel leaves and another joins while the multiplexed thread is
being shut down.

* Refactored and improved the management of the serviced channels array.

* Changed the channels count to a bridges count so it only needs to be
incremented rather than changed by two.


git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@380666 f38db490-d61c-443f-a65b-d21fe96a405b
Multiple revisions 380671-380673

........
  r380671 | qwell | 2013-01-31 12:59:28 -0600 (Thu, 31 Jan 2013) | 4 lines
  
  Remove a cross-compile workaround.
  
  ar and ranlib can be easily detected with autoconf.
........
  r380672 | qwell | 2013-01-31 13:00:38 -0600 (Thu, 31 Jan 2013) | 2 lines
  
  Always check for libm, regardless of configure options.
........
  r380673 | qwell | 2013-01-31 13:03:03 -0600 (Thu, 31 Jan 2013) | 7 lines
  
  Add support for parallel builds of pjproject.
  
  Also adds proper dependency checking, and direct .a file targets.  We don't
  take advantage of this currently, but we will soon.
  
  (issue ASTERISK-20815)
........

Merged revisions 380671-380673 from http://svn.asterisk.org/svn/asterisk/branches/11


git-svn-id: http://svn.asterisk.org/svn/asterisk/trunk@380674 f38db490-d61c-443f-a65b-d21fe96a405b