summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlfred E. Heggestad <alfred.heggestad@gmail.com>2017-05-02 19:39:23 +0200
committerGitHub <noreply@github.com>2017-05-02 19:39:23 +0200
commit9dd09211bb52d85ccf7cc78e7e818ad0663f5d9a (patch)
tree574031af192e3f93d39cf1eb6930aaeb3a357165 /src
parent893ba0894236eecf497e1d013bda364cc88569ee (diff)
attempt to fix SRTP for early-media (ref #229) (#243)
Diffstat (limited to 'src')
-rw-r--r--src/call.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/call.c b/src/call.c
index 18b9b3a..15c8e8c 100644
--- a/src/call.c
+++ b/src/call.c
@@ -1485,6 +1485,9 @@ static void sipsess_progr_handler(const struct sip_msg *msg, void *arg)
call_event_handler(call, CALL_EVENT_PROGRESS, call->peer_uri);
else
call_event_handler(call, CALL_EVENT_RINGING, call->peer_uri);
+
+ if (media)
+ update_media(call);
}