FS-4779 try this patch

This commit is contained in:
Anthony Minessale 2012-11-08 09:52:20 -06:00
parent 48a0924b54
commit e8f3e42f8b
2 changed files with 8 additions and 2 deletions

View File

@ -1 +1 @@
Wed Nov 7 10:37:42 CST 2012
Thu Nov 8 09:48:11 CST 2012

View File

@ -1245,6 +1245,7 @@ int nua_invite_client_ack(nua_client_request_t *cr, tagi_t const *tags)
int status = 200;
char const *phrase = "OK", *reason = NULL;
char const *invite_branch;
char const *pl_s = NULL;
assert(cr->cr_orq);
assert(cr->cr_method == sip_method_invite);
@ -1256,6 +1257,11 @@ int nua_invite_client_ack(nua_client_request_t *cr, tagi_t const *tags)
goto error;
}
tl_gets(tags,
SIPTAG_PAYLOAD_STR_REF(pl_s),
TAG_END());
assert(ds->ds_leg);
msg = nta_outgoing_getrequest(cr->cr_orq);
@ -1305,7 +1311,7 @@ int nua_invite_client_ack(nua_client_request_t *cr, tagi_t const *tags)
while (sip->sip_supported)
sip_header_remove(msg, sip, (sip_header_t*)sip->sip_supported);
if (ss == NULL || ss->ss_state > nua_callstate_ready)
if (ss == NULL || ss->ss_state > nua_callstate_ready || pl_s)
;
else if (cr->cr_offer_recv && !cr->cr_answer_sent) {
if (nh->nh_soa == NULL) {