[Asterisk-cvs] asterisk/channels chan_sip.c,1.669,1.670
markster at lists.digium.com
markster at lists.digium.com
Wed Mar 2 10:05:34 CST 2005
- Previous message: [Asterisk-cvs] libpri libpri.h, 1.41, 1.42 pri.c, 1.31,
1.32 pri_facility.c, 1.3, 1.4 pri_facility.h, 1.2,
1.3 pri_internal.h, 1.16, 1.17 pri_q931.h, 1.19, 1.20 q931.c,
1.115, 1.116 testprilib.c, 1.4, 1.5
- Next message: [Asterisk-cvs] libpri libpri.h, 1.42, 1.43 pri_facility.c, 1.4,
1.5 q931.c, 1.116, 1.117
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv6514/channels
Modified Files:
chan_sip.c
Log Message:
Be sure to process SDP if we already have an owner (bug #3701)
Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.669
retrieving revision 1.670
diff -u -d -r1.669 -r1.670
--- chan_sip.c 26 Feb 2005 16:29:15 -0000 1.669
+++ chan_sip.c 2 Mar 2005 16:02:54 -0000 1.670
@@ -8001,6 +8001,16 @@
p->pendinginvite = seqno;
copy_request(&p->initreq, req);
check_via(p, req);
+ if (p->owner) {
+ /* Handle SDP here if we already have an owner */
+ if (!ast_strlen_zero(get_header(req, "Content-Type"))) {
+ if (process_sdp(p, req))
+ return -1;
+ } else {
+ p->jointcapability = p->capability;
+ ast_log(LOG_DEBUG, "Hm.... No sdp for the moment\n");
+ }
+ }
} else if (debug)
ast_verbose("Ignoring this request\n");
if (!p->lastinvite && !ignore && !p->owner) {
- Previous message: [Asterisk-cvs] libpri libpri.h, 1.41, 1.42 pri.c, 1.31,
1.32 pri_facility.c, 1.3, 1.4 pri_facility.h, 1.2,
1.3 pri_internal.h, 1.16, 1.17 pri_q931.h, 1.19, 1.20 q931.c,
1.115, 1.116 testprilib.c, 1.4, 1.5
- Next message: [Asterisk-cvs] libpri libpri.h, 1.42, 1.43 pri_facility.c, 1.4,
1.5 q931.c, 1.116, 1.117
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the svn-commits
mailing list