From cfe32ec1dac6d3f4a9e1052f87846c91b345997a Mon Sep 17 00:00:00 2001 From: Mark Michelson Date: Tue, 28 May 2013 15:26:15 +0000 Subject: 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 --- channels/sip/include/sip.h | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'channels/sip/include') 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 */ -- cgit v1.2.3