[Asterisk-cvs] asterisk/channels chan_sip.c,1.510.2.8,1.510.2.9
russell at lists.digium.com
russell at lists.digium.com
Sat Oct 23 08:19:39 CDT 2004
- Previous message: [Asterisk-cvs] asterisk/channels chan_agent.c, 1.84,
1.85 chan_iax2.c, 1.210, 1.211 chan_local.c, 1.34,
1.35 chan_mgcp.c, 1.86, 1.87 chan_oss.c, 1.35, 1.36 chan_sip.c,
1.542, 1.543 chan_skinny.c, 1.57, 1.58 chan_zap.c, 1.360, 1.361
- Next message: [Asterisk-cvs] asterisk/apps app_meetme.c,1.60,1.60.2.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv459/channels
Modified Files:
Tag: v1-0
chan_sip.c
Log Message:
Don't "ignore" on CANCEL (bug #2670)
Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.510.2.8
retrieving revision 1.510.2.9
diff -u -d -r1.510.2.8 -r1.510.2.9
--- chan_sip.c 14 Oct 2004 23:08:03 -0000 1.510.2.8
+++ chan_sip.c 23 Oct 2004 12:23:25 -0000 1.510.2.9
@@ -7106,7 +7106,7 @@
if (p->icseq && (p->icseq > seqno)) {
ast_log(LOG_DEBUG, "Ignoring too old packet packet %d (expecting >= %d)\n", seqno, p->icseq);
return -1;
- } else if (p->icseq && (p->icseq == seqno)) {
+ } else if (p->icseq && (p->icseq == seqno) && (strcasecmp(cmd, "CANCEL") || p->alreadygone)) {
/* ignore means "don't do anything with it" but still have to
respond appropriately. We do this if we receive a repeat of
the last sequence number */
- Previous message: [Asterisk-cvs] asterisk/channels chan_agent.c, 1.84,
1.85 chan_iax2.c, 1.210, 1.211 chan_local.c, 1.34,
1.35 chan_mgcp.c, 1.86, 1.87 chan_oss.c, 1.35, 1.36 chan_sip.c,
1.542, 1.543 chan_skinny.c, 1.57, 1.58 chan_zap.c, 1.360, 1.361
- Next message: [Asterisk-cvs] asterisk/apps app_meetme.c,1.60,1.60.2.1
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the svn-commits
mailing list