<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>Dear Daniel,</p>
    <p>thanks for your idea.. for anyone need it on their config..</p>
    <p>on branch_route[MANAGE_BRANCH] ...<br>
    </p>
    <p>    if ($avp(lcr_tag)!=$null) {<br>
      <br>
      #!ifdef WITH_XLOG<br>
              xlog("L_INFO","BRANCH_ROUTE: lcr_tag: $avp(lcr_tag) ->
      add field on INVITE\n");<br>
      #!endif<br>
              append_hf("$avp(lcr_tag)\r\n");<br>
      <br>
          }<br>
    </p>
    <br>
    Pratically if the field tag on lcr_gw modules is not empty .. i'll
    add the datas inside the INVITE :)<br>
    <br>
    Regards<br>
    Laura<br>
    <br>
    <br>
    <div class="moz-cite-prefix">Il 10/01/17 11:38, Daniel-Constantin
      Mierla ha scritto:<br>
    </div>
    <blockquote
      cite="mid:0bdabafa-5616-a5b7-da1d-18f9b7423296@gmail.com"
      type="cite">
      <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
      <p>Hello,</p>
      <p>afaik the params column stores the parameters for request URI.</p>
      <p>You are looking to add extra headers.</p>
      <p>One option is to leverage on tag column -- its value should be
        returned in a variable inside kamailio.cfg. There you can test
        the value and if it has a specific value, then you can add the
        extra header you need. The operation to add the headers should
        be done inside a branch_route in order to have different values
        for each gateway.</p>
      <p>Cheers,<br>
        Daniel<br>
      </p>
      <br>
      <div class="moz-cite-prefix">On 10/01/2017 10:51, Laura wrote:<br>
      </div>
      <blockquote
        cite="mid:64e6ae0e-e7e5-0768-d8db-73dc74f2d59e@plugit.net"
        type="cite">
        <meta http-equiv="content-type" content="text/html;
          charset=utf-8">
        <p>Dear all,</p>
        <p>I'm using kamailio 4.3.6 and LCR modules.. i was wondering if
          it was possibile to add some special paramenter to all call
          sent to a specific gateway.</p>
        <p>I was try to use the "
          <meta http-equiv="content-type" content="text/html;
            charset=utf-8">
          <label class="control-label col-lg-4">params" field on </label>
          <meta http-equiv="content-type" content="text/html;
            charset=utf-8">
          lcr_gw table but it's not working like i was think..</p>
        <p>
          <meta http-equiv="content-type" content="text/html;
            charset=utf-8">
          The issue is simple.. i want to add to field "Privacy: id" to
          any call i send over a specific gateway..</p>
        <p>What is the best and easy way to do that ?</p>
        <p>Any idea is appreciate.</p>
        <p>Regards</p>
        <p>Laura<br>
        </p>
        <br>
        <fieldset class="mimeAttachmentHeader"></fieldset>
        <br>
        <pre wrap="">_______________________________________________
SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:sr-users@lists.sip-router.org">sr-users@lists.sip-router.org</a>
<a moz-do-not-send="true" 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 moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.twitter.com/miconda">www.twitter.com/miconda</a> -- <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.linkedin.com/in/miconda">www.linkedin.com/in/miconda</a>
Kamailio World Conference - May 8-10, 2017 - <a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="http://www.kamailioworld.com">www.kamailioworld.com</a></pre>
      <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>
  </body>
</html>