sip: Pass to not enable media on our 200 response

In case we send a 200 but don't have this tag, a 500 response will
be sent and the call will be dropped.
changes/26/126/1
Holger Hans Peter Freyther 7 years ago
parent 275571ff20
commit 8763cf8850
  1. 1
      src/sip.c

@ -264,6 +264,7 @@ static void sip_connect_call(struct call_leg *_leg)
leg->state = SIP_CC_CONNECTED;
nua_respond(leg->nua_handle, SIP_200_OK,
NUTAG_MEDIA_ENABLE(0),
SIPTAG_CONTENT_TYPE_STR("application/sdp"),
SIPTAG_PAYLOAD_STR(sdp),
TAG_END());

Loading…
Cancel
Save