<div dir="ltr">Hello,<br><br>we ran into a trouble with sharing variable into reply route...<br><br>We are going to match asterisk's uniqueid with rtpengine records like this:<br><br>route[from_asterisk]{<br>$var(UniqueId)=$hdr(X-UniqueId);<br>$var(rtp_flags) = $var(rtp_flags) + " label={uid:$var(UniqueId),stream:outgoing} record-call=on";<br><br> rtpengine_manage($var(rtp_flags));<br>}<br><br>reply_route[from_pstn]{<br> rtpengine_manage("replace-origin replace-session-connection ICE=remove RTP/AVP rtcp-mux-demux label={uid:$var(UniqueId),stream:outgoing");<br>}<br>and it doesn't work... The one possible way what we found its using $shv instead of $var... But its unsecure way, cuz it may confus our bussines logic...<br><br>Do you have any idea how to implement this? <br>Many thanks! </div>