<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <font face="monospace">Hi Antonio,<br>
      <br>
      not sure where you placed the append_hf(), but you need to place
      it in the local_route, for original INVITEs.<br>
      <br>
      Regards,<br>
    </font>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
OpenSIPS eBootcamp 23rd May - 3rd June 2022
  <a class="moz-txt-link-freetext" href="https://opensips.org/training/OpenSIPS_eBootcamp_2022/">https://opensips.org/training/OpenSIPS_eBootcamp_2022/</a></pre>
    <div class="moz-cite-prefix">On 4/18/22 4:58 PM, Antonio Couto
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CABer2ctn3GJiyQ5nCaZTTbxW5ixOsM6EKKc3jiVU4sCZcdqXPg@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div>It is possible to insert header on outgoing INVITE from a
          B2BUA scenario start by mi command</div>
        <div>via UDP like this?</div>
        <div><br>
          <div style="color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:Consolas,"Courier New",monospace;font-weight:normal;font-size:14px;line-height:19px;white-space:pre"><div><span style="color:rgb(0,0,0)"> </span><span style="color:rgb(0,0,255)">let</span><span style="color:rgb(0,0,0)"> obj =  {</span></div><div><span style="color:rgb(0,0,0)">    </span><span style="color:rgb(163,21,21)">"jsonrpc"</span><span style="color:rgb(0,0,0)">:</span><span style="color:rgb(163,21,21)">"2.0"</span><span style="color:rgb(0,0,0)">,</span></div><div><span style="color:rgb(0,0,0)">    </span><span style="color:rgb(163,21,21)">"id"</span><span style="color:rgb(0,0,0)">:</span><span style="color:rgb(163,21,21)">"7684"</span><span style="color:rgb(0,0,0)">,</span></div><div><span style="color:rgb(0,0,0)">    </span><span style="color:rgb(163,21,21)">"method"</span><span style="color:rgb(0,0,0)">:</span><span style="color:rgb(163,21,21)">"b2b_trigger_scenario"</span><span style="color:rgb(0,0,0)">,</span></div><div><span style="color:rgb(0,0,0)">    </span><span style="color:rgb(163,21,21)">"params"</span><span style="color:rgb(0,0,0)">:[</span></div><div><span style="color:rgb(0,0,0)">      </span><span style="color:rgb(163,21,21)">"marketing"</span><span style="color:rgb(0,0,0)">,</span></div><span style="color:rgb(0,0,0)"></span><span style="color:rgb(0,0,0)">      </span><span style="color:rgb(163,21,21)">"operator,<a href="http://sip:9000@192.168.0.213:5060" moz-do-not-send="true">sip:9000@192.168.0.213:5060</a>"</span><span style="color:rgb(0,0,0)">,</span></div>
          <div style="color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:Consolas,"Courier New",monospace;font-weight:normal;font-size:14px;line-height:19px;white-space:pre"><span style="color:rgb(0,0,0)">      </span><span style="color:rgb(163,21,21)">"customer,<a href="http://sip:microsip@192.168.0.44:5060" moz-do-not-send="true">sip:microsip@192.168.0.44:5060</a>"</span><span style="color:rgb(0,0,0)">,</span></div>
          <div style="color:rgb(0,0,0);background-color:rgb(255,255,255);font-family:Consolas,"Courier New",monospace;font-weight:normal;font-size:14px;line-height:19px;white-space:pre">    <span style="color:rgb(0,0,0)">]</span><div><span style="color:rgb(0,0,0)">  }</span></div><div><span style="color:rgb(0,0,0)">
</span></div><div><span style="color:rgb(0,0,0)">I tried to use append_hf but no effect.</span></div><div><span style="color:rgb(0,0,0)">thanks in advance.</span></div><div><span style="color:rgb(0,0,0)">Antonio Couto
</span></div></div>
        </div>
        <div> <br>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>