From: Mark Spencer Date: Tue, 2 Mar 2004 23:29:00 +0000 (+0000) Subject: Process SDP on 183 session progress (bug #930) X-Git-Tag: 1.0.0-rc1~1013 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b82aa22442fe159f05605535e654cc3c4ac08e73;p=thirdparty%2Fasterisk.git Process SDP on 183 session progress (bug #930) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2301 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 3a0b3d885d..275caa703d 100755 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -4922,9 +4922,13 @@ static void handle_response(struct sip_pvt *p, int resp, char *rest, struct sip_ case 100: break; case 183: - if (p->owner) { - /* Queue a progress frame */ - ast_queue_control(p->owner, AST_CONTROL_PROGRESS, 0); + if (!strcasecmp(msg, "INVITE")) { + if (strlen(get_header(req, "Content-Type"))) + process_sdp(p, req); + if (p->owner) { + /* Queue a progress frame */ + ast_queue_control(p->owner, AST_CONTROL_PROGRESS, 0); + } } break; case 180: