Summary:ASTERISK-21456: New SIP Channel Driver - add basic REFER support and SIP blind transfers
Reporter:Matt Jordan (mjordan)Labels:Asterisk12 NewSIP
Date Opened:2013-04-16 13:48:40Date Closed:2013-05-28 11:00:07
Versions:Frequency of
cannot be resolved before completion ofASTERISK-21457 New SIP Channel Driver - enhance basic REFER support to handle SIP attended transfers
is related toASTERISK-21335 Bridge API Enhancements - add externally initiated blind transfers
Description:Oh boy. Here we go.

REFERs, Replaces, and all the joy they bring.

We need to be able to:
* Receive and authenticate a REFER request.
* Use the bridging API's blind transfer function and blind transfer the channel to either an extension or into a new bridge (or parking lot, etc.)
* Convey progress of the transfer using SIP NOTIFY requests

As well, we need to handle a transfer indication. This should determine if the endpoint is ringing, and if not, transmit a REFER request to the target endpoint. (If ringing, we need to redirect it). This also means processing NOTIFY requests and determining the success/failure of the transfer based on the NOTIFY requests.