<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Hello,</p>
    <p>I don't recall having any out-of-the-box function for it, but you
      should be able to leverage the text operation functions, like:</p>
    <p>replace_hdrs("^f:", "From:");</p>
    <p>If you need to see the update in the config, you have to see the
      msg_apply_changes() function.<br>
    </p>
    <p>Otherwise, it should not be hard to add such a function, I will
      try to implement it when I get some spare time.</p>
    <p>Cheers,<br>
      Daniel<br>
    </p>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 12.07.20 16:52, Abdoul Osséni wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CABc7nxt9xAm086fMPzwP-YXDw4QEcF71r5tWYgfUQsw_5vNXdg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">
          <div class="gmail-result-shield-container
            gmail-tlid-copy-target" tabindex="0">Sorry, my request was
            not clear.</div>
          <div class="gmail-result-shield-container
            gmail-tlid-copy-target" tabindex="0"><br>
          </div>
          <div class="gmail-result-shield-container
            gmail-tlid-copy-target" tabindex="0">For some calls, we need
            to restore SIP full header messages. <br>
          </div>
          <div class="gmail-result-shield-container
            gmail-tlid-copy-target" tabindex="0">
            <div class="gmail-text-wrap gmail-tlid-copy-target">
              <div class="gmail-result-shield-container
                gmail-tlid-copy-target" tabindex="0"><span
                  class="gmail-tlid-translation gmail-translation"
                  lang="en"><span title="" class="gmail-">Can this task
                    be done with Kamailio?</span></span><span
                  class="gmail-tlid-translation-gender-indicator
                  gmail-translation-gender-indicator"></span></div>
            </div>
             </div>
          <div>Regards</div>
          <div><br>
          </div>
          <div>
            <div>
              <div dir="ltr" class="gmail_signature"
                data-smartmail="gmail_signature">
                <div dir="ltr">
                  <div>
                    <div dir="ltr">
                      <div>
                        <div dir="ltr">
                          <div><span style="font-size:12.8px">Abdoul
                              OSSENI</span><br>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
            <br>
          </div>
        </div>
        <br>
        <div class="gmail_quote">
          <div dir="ltr" class="gmail_attr">Le dim. 12 juil. 2020
            à 14:53, Daniel-Constantin Mierla <<a
              href="mailto:miconda@gmail.com" moz-do-not-send="true">miconda@gmail.com</a>>
            a écrit :<br>
          </div>
          <blockquote class="gmail_quote" style="margin:0px 0px 0px
            0.8ex;border-left:1px solid
            rgb(204,204,204);padding-left:1ex">
            <div>
              <p>Hello,</p>
              <p>what do you mean by disable compact header in Kamailio?
                Reject traffic that comes with compact header names?</p>
              <p>Cheers,<br>
                Daniel<br>
              </p>
              <div>On 12.07.20 10:48, Abdoul Osséni wrote:<br>
              </div>
              <blockquote type="cite">
                <div dir="ltr">
                  <div>Hello,</div>
                  <div><br>
                  </div>
                  <div>I use Kamailio and Asterisk.</div>
                  <div>SIP Compact header is activated by ASTERISK (<a
                      href="https://www.cs.columbia.edu/sip/compact.html"
                      target="_blank" moz-do-not-send="true">https://www.cs.columbia.edu/sip/compact.html</a>).</div>
                  <div>I am trying to disable the SIP Compact header on
                    KAMAILIO. <br>
                  </div>
                  <div><br>
                  </div>
                  <div>Is it possible?<br>
                  </div>
                  <div><br>
                  </div>
                  <div>Regards<br>
                  </div>
                  <div>
                    <div>
                      <div dir="ltr">
                        <div dir="ltr">
                          <div>
                            <div dir="ltr">
                              <div>
                                <div dir="ltr">
                                  <div><span style="font-size:12.8px">Abdoul
                                      OSSENI</span><br>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
                <br>
                <fieldset></fieldset>
                <pre>_______________________________________________
Kamailio (SER) - Users Mailing List
<a href="mailto:sr-users@lists.kamailio.org" target="_blank" moz-do-not-send="true">sr-users@lists.kamailio.org</a>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank" moz-do-not-send="true">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a>
</pre>
              </blockquote>
              <pre cols="72">-- 
Daniel-Constantin Mierla -- <a href="http://www.asipto.com" target="_blank" moz-do-not-send="true">www.asipto.com</a>
<a href="http://www.twitter.com/miconda" target="_blank" moz-do-not-send="true">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" target="_blank" moz-do-not-send="true">www.linkedin.com/in/miconda</a>
Funding: <a href="https://www.paypal.me/dcmierla" target="_blank" moz-do-not-send="true">https://www.paypal.me/dcmierla</a></pre>
            </div>
          </blockquote>
        </div>
      </div>
    </blockquote>
    <pre class="moz-signature" cols="72">-- 
Daniel-Constantin Mierla -- <a class="moz-txt-link-abbreviated" href="http://www.asipto.com">www.asipto.com</a>
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Funding: <a class="moz-txt-link-freetext" href="https://www.paypal.me/dcmierla">https://www.paypal.me/dcmierla</a></pre>
  </body>
</html>