summaryrefslogtreecommitdiff
path: root/channels/sip/include
diff options
context:
space:
mode:
authorMark Michelson <mmichelson@digium.com>2013-05-28 15:26:15 +0000
committerMark Michelson <mmichelson@digium.com>2013-05-28 15:26:15 +0000
commitcfe32ec1dac6d3f4a9e1052f87846c91b345997a (patch)
treede140d1dfc3d05c9adfd27f515ab1c7a5439e692 /channels/sip/include
parentfac3839e6837241c10bee6f2563a27f1d367ddc6 (diff)
Add attended transfer support for chan_sip.c
This now uses the core API for performing attended transfers. Review https://reviewboard.asterisk.org/r/2513 (Closes issue ASTERISK-21520) reported by Matt Jordan git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@389869 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels/sip/include')
-rw-r--r--channels/sip/include/sip.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/channels/sip/include/sip.h b/channels/sip/include/sip.h
index 07f233f44..185f3935d 100644
--- a/channels/sip/include/sip.h
+++ b/channels/sip/include/sip.h
@@ -834,16 +834,6 @@ struct sip_request {
*/
#define REQ_OFFSET_TO_STR(req,offset) (ast_str_buffer((req)->data) + ((req)->offset))
-/*! \brief structure used in transfers */
-struct sip_dual {
- struct ast_channel *chan1; /*!< First channel involved */
- struct ast_channel *chan2; /*!< Second channel involved */
- struct sip_request req; /*!< Request that caused the transfer (REFER) */
- uint32_t seqno; /*!< Sequence number */
- char *park_exten;
- char *park_context;
-};
-
/*! \brief Parameters to the transmit_invite function */
struct sip_invite_param {
int addsipheaders; /*!< Add extra SIP headers */
@@ -935,10 +925,6 @@ struct sip_refer {
AST_STRING_FIELD(replaces_callid_totag); /*!< Replace info: to-tag */
AST_STRING_FIELD(replaces_callid_fromtag); /*!< Replace info: from-tag */
);
- struct sip_pvt *refer_call; /*!< Call we are referring. This is just a reference to a
- * dialog owned by someone else, so we should not destroy
- * it when the sip_refer object goes.
- */
int attendedtransfer; /*!< Attended or blind transfer? */
int localtransfer; /*!< Transfer to local domain? */
enum referstatus status; /*!< REFER status */