<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Hey All,<div class=""><br class=""></div><div class="">I always have issues with substituting out header values. I’ve tried subst and subst_hf. </div><div class=""><br class=""></div><div class="">Here is the value that I want to change out:</div><div class=""><br class=""></div><div class="">Contact: <<a href="sip:52.41.52.34:5060;line=sr-h06Cy7RYRFkYacM0a7epa7sVa7sVRcNCW7IbaGZ9RGlC" class="">sip:52.41.52.34:5060;line=sr-h06Cy7RYRFkYacM0a7epa7sVa7sVRcNCW7IbaGZ9RGlC</a>></div><div class=""><br class=""></div><div class=""> And this is what I want it to be</div><div class=""><br class=""></div><div class="">Contact: <<a href="sip:1313717555@jump.dsiprouter.net" class="">sip:1313717555@jump.dsiprouter.net</a>;line=sr-h06Cy7RYRFkYacM0a7epa7sVa7sVRcNCW7IbaGZ9RGlC></div><div class=""><br class=""></div><div class="">I’m using this </div><div class=""><br class=""></div><div class="">subst('/^Contact: <sip:(.*);(.*)>$/Contact: <<a href="sip:1313717555@jump.dsiprouter.net;\2" class="">sip:1313717555@jump.dsiprouter.net;\2</a>>\r/ig’);</div><div class=""><br class=""></div><div class="">And it doesn’t work, but putting into a online regular expression tester it looks good as shown below. Any ideas? </div><div class=""><br class=""></div><div class=""><img apple-inline="yes" id="DC790256-F7FA-45BD-B244-734ED5427061" width="663" height="615" src="cid:71DF5B41-831E-48A2-9F06-D3D3F84F1CEF" class=""></div></body></html>