Fix pvt_sip for inbound call to use peer's allowtransfer setting
authorMichael L. Young <elgueromexicano@gmail.com>
Fri, 25 May 2012 02:31:58 +0000 (02:31 +0000)
committerMichael L. Young <elgueromexicano@gmail.com>
Fri, 25 May 2012 02:31:58 +0000 (02:31 +0000)
commit2eff35bafa161be155019c9186b7aa9e26e22aad
tree6b580487cf2c8c6231e7258c917e2cf326a33348
parente5185367735ee26b93cddc9d162d584f412456ad
Fix pvt_sip for inbound call to use peer's allowtransfer setting

The pvt_sip allowtransfer was not being set to that of the peer's setting.
Therefore, the global allowtransfer setting was being used instead which would
lead to calls not being transfered if the global setting was set to 'no' despite
the setting on the peer being 'yes' and vice versa, calls would be allowed to
transfer even if the peer's setting was 'no' but the global setting was 'yes'.

(Closes issue ASTERISK-19856)
Reported by: Jacek
Tested by: Michael L. Young, Jacek
Patches:
issue-asterisk-19856-branch10-v3.diff uploaded by
                                                 Michael L. Young (license 5026)

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

Merged revisions 367730 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 367731 from http://svn.asterisk.org/svn/asterisk/branches/10

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@367732 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_sip.c