Calling any of the transfer functions results in one of these transfer causes being set.
Transfer causes:
Usage example:
ret = channel.managed_transfer('sip:3301@127.0.0.1:5060;user=phone')
if res is False:
if channel.transfer_cause() == channel.TransferCause.TARGETREJECT:
print("Busy, try again later")