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:
parent
275571ff20
commit
8763cf8850
|
@ -264,6 +264,7 @@ static void sip_connect_call(struct call_leg *_leg)
|
||||||
|
|
||||||
leg->state = SIP_CC_CONNECTED;
|
leg->state = SIP_CC_CONNECTED;
|
||||||
nua_respond(leg->nua_handle, SIP_200_OK,
|
nua_respond(leg->nua_handle, SIP_200_OK,
|
||||||
|
NUTAG_MEDIA_ENABLE(0),
|
||||||
SIPTAG_CONTENT_TYPE_STR("application/sdp"),
|
SIPTAG_CONTENT_TYPE_STR("application/sdp"),
|
||||||
SIPTAG_PAYLOAD_STR(sdp),
|
SIPTAG_PAYLOAD_STR(sdp),
|
||||||
TAG_END());
|
TAG_END());
|
||||||
|
|
Loading…
Reference in New Issue