<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:10pt"><div>Hi,</div><div><br></div><div style="background-color: transparent;">Is it possible to modify a TM request after being copied to the shared memory by the TM module?</div><div style="background-color: transparent;">For example if you programatically detect that relay failed and want to try sending it somewhere else?</div><div style="background-color: transparent;"><br></div><div style="background-color: transparent;">My current approach is to basically do what the lookup registrar method does:</div><div style="background-color: transparent;">1. call set_ruri to the next destination;<br></div><div style="background-color: transparent;">2. call&nbsp;set_path_vector and&nbsp;set_dst_uri to update the path to the destination;</div><div style="background-color: transparent;"><br></div><div
 style="background-color: transparent;">The relayed message seems to be well formatted but I tend to have some memory corruption problems afterwards.</div><div style="background-color: transparent;">Should I clone the above methods but clone the data in shared memory? Is there any smarter way of doing this?</div><div style="background-color: transparent;"><br></div><div style="background-color: transparent;">Thanks a bunch,</div><div style="background-color: transparent;">Andrei</div></div></body></html>