Skip to content

Commit

Permalink
Re-enable delay-offer-if-INVITE-contains-payload kludge.
Browse files Browse the repository at this point in the history
  • Loading branch information
Pekka Pessi authored and Pekka Pessi committed Aug 5, 2010
1 parent 2ff6ba6 commit a4e47dd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions libsofia-sip-ua/nua/nua_session.c
Original file line number Diff line number Diff line change
Expand Up @@ -802,6 +802,9 @@ static int nua_invite_client_request(nua_client_request_t *cr,

if (soa_is_delayed_offer(nh->nh_soa))
offer_sent = 0;
else if (sip->sip_payload)
/* Kludge, we should probably use multipart */
offer_sent = 0;
else if (soa_generate_offer(nh->nh_soa, 0, NULL) < 0)
return -1;
else
Expand Down

0 comments on commit a4e47dd

Please sign in to comment.