diff options
-rw-r--r-- | res/res_pjsip_sdp_rtp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/res/res_pjsip_sdp_rtp.c b/res/res_pjsip_sdp_rtp.c index ee9976bc0..ec1141a94 100644 --- a/res/res_pjsip_sdp_rtp.c +++ b/res/res_pjsip_sdp_rtp.c @@ -1188,7 +1188,8 @@ static int apply_negotiated_sdp_stream(struct ast_sip_session *session, struct a if (ast_sockaddr_isnull(addrs) || ast_sockaddr_is_any(addrs) || - pjmedia_sdp_media_find_attr2(remote_stream, "sendonly", NULL)) { + pjmedia_sdp_media_find_attr2(remote_stream, "sendonly", NULL) || + pjmedia_sdp_media_find_attr2(remote_stream, "inactive", NULL)) { if (!session_media->remotely_held) { /* The remote side has put us on hold */ ast_queue_hold(session->channel, session->endpoint->mohsuggest); |