Merged revisions 339463 via svnmerge from
authorGregory Nietsky <gregory@distrotech.co.za>
Wed, 5 Oct 2011 06:40:40 +0000 (06:40 +0000)
committerGregory Nietsky <gregory@distrotech.co.za>
Wed, 5 Oct 2011 06:40:40 +0000 (06:40 +0000)
commit1b3bd7ddb4ad2013ce0a6f6d42ef06b8e3b40775
tree2590ff5892f0257393bb9791218723f6bb83fc7c
parentf1440edfa7f008cc8b69724160c65f18d7b00367
Merged revisions 339463 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/10

........
  r339463 | irroot | 2011-10-05 08:28:46 +0200 (Wed, 05 Oct 2011) | 9 lines

  Only change the capabilities on the gateway when
  the session is been destroyed there is still
  a race condition that ends in a segfault.

  if the caps are changed the logic in res_fax_spandsp
  will run T30 code not gateway code to end the session.
  this has been experienced on a "slower" under spec system.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@339464 65c4cc65-6c06-0410-ace0-fbb531ad65f3
res/res_fax.c