dect
/
asterisk
Archived
13
0
Fork 0

Issue #6657 - Ignore 183 Session Progress without SDP (imported from 1.2 rev 12458)

git-svn-id: http://svn.digium.com/svn/asterisk/trunk@12459 f38db490-d61c-443f-a65b-d21fe96a405b
This commit is contained in:
oej 2006-03-08 10:54:40 +00:00
parent 2d5bc7ca0c
commit 4d754f3b01
1 changed files with 5 additions and 4 deletions

View File

@ -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 */