<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    you have to use remove_hf(...) and insert_hf(...) in this case --
    see the readme of textops module for details about these two
    functions.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <br>
    <div class="moz-cite-prefix">On 05/08/14 12:41, Stefan Kohlhauser
      wrote:<br>
    </div>
    <blockquote
cite="mid:trinity-3c0758d5-ff19-4dd8-814d-c4b33fa4794a-1407235265481@3capp-gmx-bs23"
      type="cite">
      <div style="font-family: Verdana;font-size: 12.0px;">
        <div>Hello,</div>
        <div> </div>
        <div>I have a subnet with a Kamailio and some phones.
          Unfortunately these phones are the only ones in the network
          that are unaware of the prefixes for the sip usernames. These
          prefixes should be added by Kamailio. For INVITEs its no
          problem as $ru/$rU are writeable.</div>
        <div>Problem: If I send a REFER message to an other phone I want
          to add a prefix to the username in the Refer-To header.
          However, the $rt pseudo variable is read only.</div>
        <div>Question: How can Kamailio modify the username of the URI
          in the Refer-To header?</div>
        <div> </div>
        <div>Best regards and thanks in advance,</div>
        <div>Stefan<br>
           </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
    </blockquote>
    <br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
<a class="moz-txt-link-freetext" href="http://twitter.com/#!/miconda">http://twitter.com/#!/miconda</a> - <a class="moz-txt-link-freetext" href="http://www.linkedin.com/in/miconda">http://www.linkedin.com/in/miconda</a></pre>
  </body>
</html>