[Asterisk-code-review] chan_pjsip: Transfer failure sip result passed through channel: Added... (asterisk[master])

Dan Cropp asteriskteam at digium.com
Fri Jan 22 14:47:15 CST 2021


Hello Friendly Automation, 

I'd like you to reexamine a change. Please visit

    https://gerrit.asterisk.org/c/asterisk/+/15338

to look at the new patch set (#2).

Change subject: chan_pjsip: Transfer failure sip result passed through channel: Added new app_transfer_protocol app_transfer: TRANSFERSTATUSPROTOCOL channel variable addition
......................................................................

chan_pjsip: Transfer failure sip result passed through
channel: Added new app_transfer_protocol
app_transfer: TRANSFERSTATUSPROTOCOL channel variable addition

When a Transfer/REFER is executed, the SIP protocol code is now
passed from chan_pjsip through the channel to the application
layer.  Application layer sets the TRANSFERSTATUSPROTOCOL
channel variable to this value.

This allows applications to detect the failure reason and
take different actions based on the failure reason.

ASTERISK-29252 #close
Reported-by: Dan Cropp

Change-Id: Ia6a94784b4925628af122409cdd733c9f29abfc4
---
M apps/app_transfer.c
M channels/chan_pjsip.c
M include/asterisk/channel.h
M main/channel.c
4 files changed, 80 insertions(+), 8 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/38/15338/2
-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/15338
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: Ia6a94784b4925628af122409cdd733c9f29abfc4
Gerrit-Change-Number: 15338
Gerrit-PatchSet: 2
Gerrit-Owner: Dan Cropp <dan at amtelco.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20210122/40b9dc81/attachment.html>


More information about the asterisk-code-review mailing list