summaryrefslogtreecommitdiff
path: root/src/call.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/call.c')
-rw-r--r--src/call.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/call.c b/src/call.c
index c057dd4..18b9b3a 100644
--- a/src/call.c
+++ b/src/call.c
@@ -589,7 +589,7 @@ int call_alloc(struct call **callp, const struct config *cfg, struct list *lst,
err = audio_alloc(&call->audio, cfg, call,
call->sdp, ++label,
acc->mnat, call->mnats, acc->menc, call->mencs,
- acc->ptime, account_aucodecl(call->acc),
+ acc->ptime, account_aucodecl(call->acc), !got_offer,
audio_event_handler, audio_error_handler, call);
if (err)
goto out;