diff --git a/daemon/call.c b/daemon/call.c index 7affbc3e5..f2c0f0fb2 100644 --- a/daemon/call.c +++ b/daemon/call.c @@ -2261,7 +2261,7 @@ int monologue_offer_answer(struct call_monologue *other_ml, GQueue *streams, __disable_streams(other_media, num_ports); goto init; } - if (is_addr_unspecified(&sp->rtp_endpoint.address) && !is_trickle_ice_address(&sp->rtp_endpoint)) { + if (is_addr_unspecified(&sp->rtp_endpoint.address) && !MEDIA_ISSET(other_media, TRICKLE_ICE)) { /* Zero endpoint address, equivalent to setting the media stream * to sendonly or inactive */ MEDIA_CLEAR(media, RECV); diff --git a/t/auto-daemon-tests.pl b/t/auto-daemon-tests.pl index 4e8236e8e..68957e647 100755 --- a/t/auto-daemon-tests.pl +++ b/t/auto-daemon-tests.pl @@ -86,6 +86,50 @@ SDP new_call; +offer('null address test A trickle', + { }, < 'remove' }, < 'remove' }, <