[Asterisk-cvs] asterisk/channels chan_sip.c,1.571,1.572

markster at lists.digium.com markster at lists.digium.com
Sun Nov 21 14:34:29 CST 2004


Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv29636/channels

Modified Files:
	chan_sip.c 
Log Message:
Don't create owner twice (this should go to -stable too)


Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.571
retrieving revision 1.572
diff -u -d -r1.571 -r1.572
--- chan_sip.c	21 Nov 2004 19:18:04 -0000	1.571
+++ chan_sip.c	21 Nov 2004 19:34:19 -0000	1.572
@@ -7255,7 +7255,7 @@
 				ast_queue_frame(p->owner, &af);
 		} else if (debug)
 			ast_verbose("Ignoring this request\n");
-		if (!p->lastinvite) {
+		if (!p->lastinvite && !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