]> git.ipfire.org Git - thirdparty/asterisk.git/commit
chan_pjsip, app_transfer: Add TRANSFERSTATUSPROTOCOL variable
authorDan Cropp <dan@amtelco.com>
Fri, 22 Jan 2021 15:12:12 +0000 (09:12 -0600)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Wed, 27 Jan 2021 17:42:10 +0000 (11:42 -0600)
commit088816284a51a72207344324671beb53ada56ae7
tree9c7636547a0a14f3f60309a37aa1e01fa848c380
parent176274caa4c4c85b6c7d8022b01e48bc59fe2843
chan_pjsip, app_transfer: Add TRANSFERSTATUSPROTOCOL variable

When a Transfer/REFER is executed, TRANSFERSTATUSPROTOCOL variable is
0 when no protocl specific error
SIP example of failure, 3xx-6xx for the SIP error code received

This allows applications to perform actions based on the failure
reason.

ASTERISK-29252 #close
Reported-by: Dan Cropp
Change-Id: Ia6a94784b4925628af122409cdd733c9f29abfc4
apps/app_transfer.c
channels/chan_pjsip.c
doc/CHANGES-staging/app_transferprotocol.txt [new file with mode: 0644]
include/asterisk/channel.h
main/channel.c