<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<tt>Unfortunately there is no way to do it on 1.11 . Changing the
headers is much to complex (when comes to names) to be done from
script.<br>
<br>
Regards,<br>
</tt>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 04.08.2015 19:44, Newlin, Ben wrote:<br>
</div>
<blockquote cite="mid:E1193EF4-2D22-4308-BE3A-66FD44C3F98C@inin.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<div>
<div>
<div>Bogdan,</div>
<div><br>
</div>
<div>Thank you. I have looked at that module, but we are using
1.11. Is there no similar functionality in 1.11?</div>
<div><br>
</div>
<div>Unfortunately, removing and replacing the headers did not
work when also using topology_hiding and uac_replace
functions because they do not seem to be aware of the
changed/expanded headers.</div>
<div>
<div id="MAC_OUTLOOK_SIGNATURE">
<div><br>
</div>
<div>Ben Newlin</div>
</div>
</div>
</div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:12pt;
text-align:left; color:black; BORDER-BOTTOM: medium none;
BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT:
0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid;
BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>Bogdan-Andrei
Iancu<br>
<span style="font-weight:bold">Date: </span>Tuesday, August
4, 2015 at 12:25 PM<br>
<span style="font-weight:bold">To: </span>OpenSIPS users
mailling list, "Newlin, Ben"<br>
<span style="font-weight:bold">Subject: </span>Re:
[OpenSIPS-Users] Compact/Full Headers<br>
</div>
<div><br>
</div>
<div>
<div text="#000000" bgcolor="#FFFFFF"><tt>Hi Ben</tt><tt>,</tt><tt><br>
</tt><tt><br>
</tt><tt>The OpenSIPS 2.1 has the compression module that is
able to do that for you automatically:<br>
<a moz-do-not-send="true"
class="moz-txt-link-freetext"
href="http://www.opensips.org/html/docs/modules/2.1.x/compression.html#id249617">http://www.opensips.org/html/docs/modules/2.1.x/compression.html#id249617</a><br>
</tt><tt><br>
</tt><tt>Regards,</tt><br>
<pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
<div class="moz-cite-prefix">On 27.07.2015 19:06, Newlin,
Ben wrote:<br>
</div>
<blockquote
cite="mid:345FEB47-E14A-41D2-BDEF-81E5BFBA32C6@inin.com"
type="cite">
<div>
<div>Does anyone have any ideas about this?</div>
<div><br>
</div>
<div>The only thing I found was the txtops module. I
tried using it to simply do a text replacement of the
compact headers for the full headers:</div>
<div><br>
</div>
<div>replace("^c: ", "Content-Type: “);</div>
<div><br>
</div>
<div>But this doesn’t work when there are headers that
OpenSIPS will replace like Via. When the message is
sent, the text replacements end up in the wrong places
as the new Via headers are not inserted in the same
place the old ones were.</div>
<div><br>
</div>
<div>Would I have to actually remove the header
(remove_hf), copy the content, and then replace it
(append_hf)? What would be the best way to do that for
any given header?</div>
<div>
<div id="">
<div><br>
</div>
<div>Ben Newlin</div>
</div>
</div>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:12pt;
text-align:left; color:black; BORDER-BOTTOM: medium
none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in;
PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP:
#b5c4df 1pt solid; BORDER-RIGHT: medium none;
PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>"Newlin,
Ben"<br>
<span style="font-weight:bold">Date: </span>Friday,
July 10, 2015 at 5:54 PM<br>
<span style="font-weight:bold">To: </span>"<a
moz-do-not-send="true"
href="mailto:users@lists.opensips.org">users@lists.opensips.org</a>"<br>
<span style="font-weight:bold">Subject: </span>Compact/Full
Headers<br>
</div>
<div><br>
</div>
<div>
<div style="word-wrap: break-word; -webkit-nbsp-mode:
space; -webkit-line-break: after-white-space; color:
rgb(0, 0, 0); font-size: 14px; font-family: Calibri,
sans-serif;">
<div>Is there a simple way to convert Compact
headers to their full form and vice versa while
processing a message? I haven’t found much mention
of compact headers except that they are supported.
I also saw the new compression module in 2.1, but
we are using 1.11.</div>
<div>
<div id="">
<div style="margin: 0px; padding: 0px; color:
rgb(102, 102, 102); font-family: Arial,
Helvetica, sans-serif; font-size: 12px;
line-height: 16.8pt; background-color:
rgb(255, 255, 255);">
<br>
</div>
<div style="margin: 0px; padding: 0px; color:
rgb(102, 102, 102); font-family: Arial,
Helvetica, sans-serif; font-size: 12px;
line-height: 16.8pt;">
<span style="background-color: rgb(255, 254,
254);">Ben Newlin</span></div>
<div style="margin: 0px; padding: 0px; color:
rgb(102, 102, 102); font-family: Arial,
Helvetica, sans-serif; font-size: 12px;
line-height: 20pt; background-color: rgb(255,
255, 255);">
<span style="margin: 0px; padding: 0px;
font-size: 10pt; font-family: arial,
sans-serif; color: rgb(5, 133, 167);"></span></div>
</div>
</div>
</div>
</div>
</span><br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><a moz-do-not-send="true" 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>
</div>
</div>
</span>
</blockquote>
<br>
</body>
</html>