<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <br>
    <div class="moz-cite-prefix">On 13/08/14 16:41, Alex Villací­s Lasso
      wrote:<br>
    </div>
    <blockquote cite="mid:53EB7920.2070809@palosanto.com" type="cite">
      <meta content="text/html; charset=windows-1252"
        http-equiv="Content-Type">
      <div class="moz-cite-prefix">El 13/08/14 03:12, Daniel-Constantin
        Mierla escribió:<br>
      </div>
      <blockquote cite="mid:53EB1E05.8040804@gmail.com" type="cite">
        <meta content="text/html; charset=windows-1252"
          http-equiv="Content-Type">
        Would be nicer not to forward all headers inline, that results
        in a message easy to read (especially on mobile devices) and
        therefore faster to answer.<br>
        <br>
        You use subst over contact and set contact allias, which both
        append values there, deleting same old content. Note that any
        change to sip message is not applied immediately, but kept as a
        diff operation. You need to use msg_apply_changes() after each
        change that you need to be visible immediately -- read the
        readme of textopsx for proper usage of this function.<br>
        <br>
        Cheers,<br>
        Daniel<br>
      </blockquote>
      Thanks, I will try this immediately. However, the call to
      add_contact_alias only runs if a websocket is detected, and I am
      having this issue over ordinary SIP through UDP. <br>
    </blockquote>
    Well, the alias parameter in contact is there, so one of the
    functions adding it is executed.<br>
    <br>
    Maybe you can load debugger and enable cfgtrace to see what actions
    from kamailio.cfg are executed.<br>
    <br>
    Cheers,<br>
    Daniel<br>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla
<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>
Next Kamailio Advanced Trainings 2014 - <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
Sep 22-25, Berlin, Germany ::: Oct 15-17, San Francisco, USA</pre>
  </body>
</html>