[asterisk-commits] mmichelson: branch mmichelson/sip_attended_transfer r387775 - /team/mmichelso...
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Mon May 6 14:03:26 CDT 2013
Author: mmichelson
Date: Mon May 6 14:03:22 2013
New Revision: 387775
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=387775
Log:
Remove unused parameter from handle_invite_replaces
Modified:
team/mmichelson/sip_attended_transfer/channels/chan_sip.c
Modified: team/mmichelson/sip_attended_transfer/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/mmichelson/sip_attended_transfer/channels/chan_sip.c?view=diff&rev=387775&r1=387774&r2=387775
==============================================================================
--- team/mmichelson/sip_attended_transfer/channels/chan_sip.c (original)
+++ team/mmichelson/sip_attended_transfer/channels/chan_sip.c Mon May 6 14:03:22 2013
@@ -1475,8 +1475,7 @@
static void handle_request_info(struct sip_pvt *p, struct sip_request *req);
static int handle_request_options(struct sip_pvt *p, struct sip_request *req, struct ast_sockaddr *addr, const char *e);
static int handle_invite_replaces(struct sip_pvt *p, struct sip_request *req,
- uint32_t seqno, int *nounlock, struct sip_pvt *replaces_pvt,
- struct ast_channel *replaces_chan);
+ int *nounlock, struct sip_pvt *replaces_pvt, struct ast_channel *replaces_chan);
static int handle_request_notify(struct sip_pvt *p, struct sip_request *req, struct ast_sockaddr *addr, uint32_t seqno, const char *e);
static int local_attended_transfer(struct sip_pvt *transferer, struct ast_channel *transferer_chan, uint32_t seqno, int *nounlock);
@@ -24775,7 +24774,6 @@
*
* \param p The sip_pvt where the INVITE with Replaces was received
* \param req The incoming INVITE
- * \param seqno CSeq of INVITE
* \param[out] nounlock Indicator if p->owner should remained locked. On successful transfer, this will be set true.
* \param replaces_pvt sip_pvt referenced by Replaces header
* \param replaces_chan replaces_pvt's owner channel
@@ -24783,8 +24781,7 @@
* \retval non-zero Failure
*/
static int handle_invite_replaces(struct sip_pvt *p, struct sip_request *req,
- uint32_t seqno, int *nounlock, struct sip_pvt *replaces_pvt,
- struct ast_channel *replaces_chan)
+ int *nounlock, struct sip_pvt *replaces_pvt, struct ast_channel *replaces_chan)
{
RAII_VAR(struct ast_bridge *, bridge, NULL, ao2_cleanup);
RAII_VAR(struct ast_channel *, c, NULL, ao2_cleanup);
@@ -25632,7 +25629,7 @@
/* Go and take over the target call */
if (sipdebug)
ast_debug(4, "Sending this call to the invite/replaces handler %s\n", p->callid);
- res = handle_invite_replaces(p, req, seqno, nounlock, replaces_pvt, replaces_chan);
+ res = handle_invite_replaces(p, req, nounlock, replaces_pvt, replaces_chan);
goto request_invite_cleanup;
}
}
More information about the asterisk-commits
mailing list