Fix a few fax gateway failures
authorMatthew Jordan <mjordan@digium.com>
Sun, 26 May 2013 16:49:28 +0000 (16:49 +0000)
committerMatthew Jordan <mjordan@digium.com>
Sun, 26 May 2013 16:49:28 +0000 (16:49 +0000)
commit9e35096623951be99de2361164f1621f4e17837c
treea54918d9d3a188b2703b1674820fcab58d00d595
parentfe3ca5401f2543bcc59d73de0ffd779112322d6c
Fix a few fax gateway failures

Fax gateway requires knowledge of a channel's peer in a bridge. This patch
now uses the supported mechanisms to get this information.

This is acceptable for a few reasons:
* Fax gateway can only ever work in a 2-party bridge
* Fax gateway cannot work when not in a bridge
* Fax gateway cannot work without knowledge of the capabilities of both
  channels in the fax operation (it is, after all, a gateway)

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