[Asterisk-cvs] asterisk/channels chan_sip.c,1.540,1.541
markster at lists.digium.com
markster at lists.digium.com
Fri Oct 22 09:19:57 CDT 2004
Update of /usr/cvsroot/asterisk/channels
In directory mongoose.digium.com:/tmp/cvs-serv25888/channels
Modified Files:
chan_sip.c
Log Message:
Fixed in CVS head.
Index: chan_sip.c
===================================================================
RCS file: /usr/cvsroot/asterisk/channels/chan_sip.c,v
retrieving revision 1.540
retrieving revision 1.541
diff -u -d -r1.540 -r1.541
--- chan_sip.c 22 Oct 2004 13:18:20 -0000 1.540
+++ chan_sip.c 22 Oct 2004 13:24:00 -0000 1.541
@@ -6824,9 +6824,14 @@
if (!p->owner)
p->needdestroy = 1;
} else if ((resp >= 100) && (resp < 200)) {
- /* Unknown 1xx repsonses should be treated as 100 */
if (!strcasecmp(msg, "INVITE")) {
sip_cancel_destroy(p);
+ if (!ast_strlen_zero(get_header(req, "Content-Type")))
+ process_sdp(p, req);
+ if (p->owner) {
+ /* Queue a progress frame */
+ ast_queue_control(p->owner, AST_CONTROL_PROGRESS);
+ }
}
} else
ast_log(LOG_NOTICE, "Dunno anything about a %d %s response from %s\n", resp, rest, p->owner ? p->owner->name : ast_inet_ntoa(iabuf, sizeof(iabuf), p->sa.sin_addr));
More information about the svn-commits
mailing list