From: Olle Johansson Date: Wed, 8 Mar 2006 10:54:40 +0000 (+0000) Subject: Issue #6657 - Ignore 183 Session Progress without SDP (imported from 1.2 rev 12458) X-Git-Tag: 1.4.0-beta1~2460 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a2b0d6c2b908140e6005067766737f459d81a50;p=thirdparty%2Fasterisk.git Issue #6657 - Ignore 183 Session Progress without SDP (imported from 1.2 rev 12458) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@12459 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 57d7c7db00..8a5d362627 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -9597,12 +9597,13 @@ static void handle_response_invite(struct sip_pvt *p, int resp, char *rest, stru break; case 183: /* Session progress */ sip_cancel_destroy(p); + /* Ignore 183 Session progress without SDP */ if (!strcasecmp(get_header(req, "Content-Type"), "application/sdp")) { process_sdp(p, req); - } - if (!ignore && p->owner) { - /* Queue a progress frame */ - ast_queue_control(p->owner, AST_CONTROL_PROGRESS); + if (!ignore && p->owner) { + /* Queue a progress frame */ + ast_queue_control(p->owner, AST_CONTROL_PROGRESS); + } } break; case 200: /* 200 OK on invite - someone's answering our call */