summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2016-03-31 16:04:47 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2016-03-31 16:04:47 +0200
commit8763cf8850f879cb0fd6120bdc60e5fbd4c2534d (patch)
tree4a9919b4dd86870c932014e734dbc4f22b1d02c1 /src
parent275571ff20090030c2bc8b9fca81dc1c89424c8b (diff)
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.
Diffstat (limited to 'src')
-rw-r--r--src/sip.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sip.c b/src/sip.c
index 4821eb8..5c2b5ab 100644
--- a/src/sip.c
+++ b/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());