pub async fn send_prack(
endpoint: &Handle,
dialog: &mut Dialog,
target: &Target,
rseq: u32,
invite_cseq: u32,
body: Option<SessionDescription>,
) -> Result<()>Expand description
Send the PRACK acknowledging a reliable provisional (RFC 3262 §4).
It goes inside the dialog the provisional established — which may be a dialog that did not exist a moment ago, since §4 says “the provisional response MUST establish a dialog if one is not yet created”. Sending it outside would reach a UAS that has no matching transaction.