summaryrefslogtreecommitdiffstats
path: root/src/router/call.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/router/call.c')
-rw-r--r--src/router/call.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/router/call.c b/src/router/call.c
index ae0303d..eca0f75 100644
--- a/src/router/call.c
+++ b/src/router/call.c
@@ -387,7 +387,7 @@ static void proxy_send_sdp_answer(call_relation_t *relation, osmo_cc_msg_t *msg)
// if (!relation->codec_negotiated || msg->type == OSMO_CC_MSG_SETUP_CNF) { gibt einen crash, da codec vor der antwort schon gesetzt ist. warum sollten wir nach einer antwort denn nochmal den codec schicken?
if (!relation->codec_negotiated) {
- sdp = osmo_cc_helper_audio_accept(relation, relation->orig_codecs, receive_originator, relation->call->setup_msg, &relation->cc_session, &relation->codec, 0);
+ sdp = osmo_cc_helper_audio_accept(&relation->cc_ep->session_config, relation, relation->orig_codecs, receive_originator, relation->call->setup_msg, &relation->cc_session, &relation->codec, 0);
if (sdp) {
relation->codec_negotiated = 1;
PDEBUG(DROUTER, DEBUG_DEBUG, "Sending SDP answer to originator with supported codecs.\n");