When the remote party puts a call on hold, res_pjsip_sdp_rtp answers
recvonly or inactive and stops the RTP instance, which clears the remote
address so that nothing more is sent. With rtp_symmetric enabled, the
next RTP packet from the held party set the remote address again in
ast_rtp_read(), and Asterisk resumed sending media for the rest of the
hold. A sendonly holder keeps sending, so this happened on every such
hold; on an inactive or c=0.0.0.0 hold, one late packet was enough.
Symmetric RTP now only changes where RTP is sent if the remote side has
explicitly requested that media be sent to it. A stopped instance has no
such request until new SDP makes one, as an unhold does, so the held
party's RTP no longer restarts it. A unit test covers the stopped case.
Aided by Claude Opus 5.5 (investigation, code).