Merged revision(s) 29953-29954 from opal/branches/v3_12:
Fixed some more race conditions when releasing a call while it is either still being set up or is being transferred.
Fixed currently selected sound device in OpenPhone options dialog being used when test button pressed.
Merged revision(s) 29955-29963 from opal/branches/v3_12:
r29962
Fixed bug #404 "Assertion with H323Gatekeeper", reported by  Valeriy V. Argunov
---------------------
r29961
Applied patch for bug #350 "OpalMixer issue with media bypass in rev. 27617", thanks Valeriy V. Argunov
---------------------
r29960
Fixed closing video sending H.323 CLC command to remote. In process deprecated old OpalConnection::CloseMediaStream(stream) function as it can cause confusion, use stream->Close().
Separate pre-processor from compiler flags as it can upset dependency build.
Merged revision(s) 29964-29972 from opal/branches/v3_12:
Fixed accidentally setting too many audio buffers increasing latency on play back. The number of buffers was set to the maximum possible received audio frames per packet, often 240ms, which is relevant to the memory allocation dependent on OpalMediaStream::SetDataSize() but not to the number of audio buffers which should be strictly based on the OpalPCSSConnection::SetSoundChannelBufferTime() value.
Added a menu to Android test app to call Ekiga echo test, saving a bit of typing.
Allow adjusting of thread priorities in Android.
Merged revision(s) 29973-29979 from opal/branches/v3_12:
Added VPX_CODEC_UNSUP_BITSTREAM to the list of non-fatal errors for VP8 decoder, sometimes happens accidentally on lost packets.
Update configure script
Merged revision(s) 29980-29985 from opal/branches/v3_12:
Fixed failure to clean up SIP transport instances, again, regression by revision 29812.
Merged revision(s) 29986-29987 from opal/branches/v3_12:
Applied fix for bug #455 Assertion "Assignment of container that was deleted" on releasing call, thanks  Valeriy V. Argunov
Merged revision(s) 29988-29992 from opal/branches/v3_12:
Fixed media pass through mode when used on same connection, this constitutes an RTP "loopback" mode.

Added loopback endpoint to opal server, if call sip:loopback@wherever for example, will get RTP level loopback media.
Merged revision(s) 29993-29995 from opal/branches/v3_12:
Fixed incorrect CANCEL of INVITE if get a 482 loop detected error on second path to remote host.

Added more verbosity to standard console applications.
Tiny cosmetic change to gstreamer test app.
Merged revision(s) 29996-30001 from opal/branches/v3_12:
r30001
The VP8 decoder is easily confused so if there is a missing packet, it now forgets the all of the frame data collected so far and ignores everything further until it sees an ...
---------------------
r29999
Fixed extraneous new line in presence note field.
Allow distinction between CFLAGS, CXXFLAGS and CPPFLAGS in pkg-config
Merged revision(s) 30002-30015 from opal/branches/v3_12:
r30008
Fixed bug #457 Memory leak in SIPConnection::OnSendAnswerSDPSession
---------------------
r30007
Fixed passing up to application (via SIP handler or "C" API) status of failed subscription, most paths worked, one didn't.
---------------------
r30003
Enhanced listener handling so if use OpalEndPoint::SetListeners() if can stop all listeners not included in the supplied list, leave ones in list still running and start new ones.
Fixed XCode build projects for both OS-X and iOS.
Changed iOS logging to output to stderr instead of a file, as this goes to the XCode logging window.
Added an "easter egg" into "C" API so can do sound player and recorder tests by making a call to the destination address "testplayer" and "testrecorder".