diff --git a/daemon/call.c b/daemon/call.c index 46540c7ad..14df7c8b0 100644 --- a/daemon/call.c +++ b/daemon/call.c @@ -2376,6 +2376,9 @@ static void __update_media_protocol(struct call_media *media, struct call_media if (media && !media->protocol) media->protocol = other_media->protocol; + if (media && !media->protocol_str.s) + call_str_cpy(other_media->call, &media->protocol_str, &other_media->protocol_str); + // handler overrides requested by the user /* allow override of outgoing protocol even if we know it already */