res_pjsip_t38: Fix FAX failures when using PJSIP with authentication
authorJonathan Rose <jrose@digium.com>
Wed, 8 Apr 2015 18:32:31 +0000 (18:32 +0000)
committerJonathan Rose <jrose@digium.com>
Wed, 8 Apr 2015 18:32:31 +0000 (18:32 +0000)
commita759714101741365edc6337ed7540422e41c0701
tree36f71cf72edc8a527c89f91183792fbe17947ff9
parent09df34d880728db61dba26fd33980a1d3169cbae
res_pjsip_t38: Fix FAX failures when using PJSIP with authentication

Without this patch, if a PJSIP endpoint with udptl enabled and authentication
set attempted to use sendFax, the FAX session would fail during setup. This
was because the invite issued in response to being auth challenged would cause
the PJSIP channel performing the FAX to receive a second T38 framehook and
this would cause frames to be consumed in an inappropriate manner.

ASTERISK-24933 #close
Reported by: Jonathan Rose
Review: https://reviewboard.asterisk.org/r/4577/
........

Merged revisions 434425 from http://svn.asterisk.org/svn/asterisk/branches/13

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