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.
This commit is contained in:
Holger Hans Peter Freyther 2016-03-31 16:04:47 +02:00
parent 275571ff20
commit 8763cf8850
1 changed files with 1 additions and 0 deletions

View File

@ -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());