]> git.ipfire.org Git - thirdparty/asterisk.git/commit
res/res_pjsip_t38: Add missing initialization of t38faxmaxdatagram 39/239/1
authorMatthew Jordan <mjordan@digium.com>
Sat, 11 Apr 2015 15:10:34 +0000 (15:10 +0000)
committerMatt Jordan <mjordan@digium.com>
Thu, 23 Apr 2015 18:23:30 +0000 (13:23 -0500)
commite84fcb246483ed017a9b6c00a8144c1806228bca
treedc8ff46b30c99805520fb2e2b26c4f9ff5d31c3b
parentd7e82690f1782c28c64bd71992ae376b8f90cc8e
res/res_pjsip_t38: Add missing initialization of t38faxmaxdatagram

Prior to this patch, the far_max_datagram value on the UDPTL structure would
remain -1 if the remote endpoint fails to provide the SDP media attribute
T38FaxMaxDatagram. This can result in the INVITE request being rejected. With
this patch, we will now properly initialize the value with either the default
value or with the value provided by pjsip.conf's t38_udptl_maxdatagram
parameter.

Review: https://reviewboard.asterisk.org/r/4589

ASTERISK-24928 #close
Reported by: Juergen Spies
Tested by: Juergen Spies
patches:
  pjsipT38patch20150331.txt submitted by Juergen Spies (License 6698)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/13@434688 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Change-Id: I15bde169fd59a224a02005fec9a439f0679a375e
res/res_pjsip_t38.c