[Asterisk-cvs] asterisk/channels chan_sip.c,1.510.2.19,1.510.2.20
russell at lists.digium.com
russell at lists.digium.com
Sun Nov 21 22:57:52 CST 2004
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv31839/channels
Modified Files:
Tag: v1-0
chan_sip.c
Log Message:
don't create owner twice
Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.510.2.19
retrieving revision 1.510.2.20
diff -u -d -r1.510.2.19 -r1.510.2.20
--- chan_sip.c 18 Nov 2004 04:27:12 -0000 1.510.2.19
+++ chan_sip.c 22 Nov 2004 03:57:41 -0000 1.510.2.20
@@ -7227,7 +7227,7 @@
ast_queue_frame(p->owner, &af);
} else if (debug)
ast_verbose("Ignoring this request\n");
- if (!p->lastinvite) {
+ if (!p->lastinvite && !ignore && !p->owner) {
/* Handle authentication if this is our first invite */
res = check_user(p, req, cmd, e, 1, sin, ignore);
if (res) {
More information about the svn-commits
mailing list