Avoid race while processing secondary transaction events.

git-svn-id: http://yate.null.ro/svn/yate/trunk@5679 acf43c95-373e-0410-b603-e72c3f656dc1
Safely reset media in hangup.

git-svn-id: http://yate.null.ro/svn/yate/trunk@5680 acf43c95-373e-0410-b603-e72c3f656dc1
Safely set and use the reason string.

git-svn-id: http://yate.null.ro/svn/yate/trunk@5681 acf43c95-373e-0410-b603-e72c3f656dc1
Merge branch 'upstream' of github.com:vir/yate into deb
Updated debian package version to 5.0.1~svn5681