<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>Hi Can anybody help me on this.Any API to replace a message header completely in kamailio configuration file and its usage.</p>
<p><br>
</p>
<p>Thanks,</p>
<p>Narayan<br>
</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Narayan P<br>
<b>Sent:</b> Tuesday, April 4, 2017 6:31:14 AM<br>
<b>To:</b> sr-users@lists.sip-router.org<br>
<b>Subject:</b> Re: Issue in replacing message header in kamailio </font>
<div> </div>
</div>
<div><style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p><font size="3" face="Calibri,Arial,Helvetica,sans-serif" color="black"><span style="font-size:12pt;" id="divtagdefaultwrapper"></p>
<div style="margin-top:0;margin-bottom:0;">Hi All,</div>
<div style="margin-top:0;margin-bottom:0;"><br>
</div>
<div style="margin-top:0;margin-bottom:0;">How to replace  message header completely that has been received previously in another 200 OK response message.</div>
<div style="margin-top:0;margin-bottom:0;"><br>
</div>
<div style="margin-top:0;margin-bottom:0;">I have used remove_body() and replace_body(re, txt) .</div>
<div style="margin-top:0;margin-bottom:0;">Is there any API to replace these.</div>
<div style="margin-top:0;margin-bottom:0;">Any suggestion will be highly appreciated.</div>
<div style="margin-top:0;margin-bottom:0;"><br>
</div>
<div style="margin-top:0;margin-bottom:0;"><br>
</div>
<div style="margin-top:0;margin-bottom:0;">Thanks,</div>
<div style="margin-top:0;margin-bottom:0;">Narayan</div>
</span></font><br>
<p></p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Narayan P<br>
<b>Sent:</b> Monday, April 3, 2017 1:41:47 PM<br>
<b>To:</b> sr-users@lists.sip-router.org<br>
<b>Subject:</b> Issue in replacing message header in kamailio </font>
<div> </div>
</div>
<div>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Arial,Helvetica,sans-serif;" dir="ltr">
<p>Hi All,</p>
<p><br>
</p>
<p>How to replace total message header  in another 200 ok response message.</p>
<p><br>
</p>
<p>I have used remove_body() and replace_body(re, txt) .</p>
<p>Is there any API to replace these.</p>
<p>Any suggestion will be highly appreciated.</p>
<p><br>
</p>
<p><br>
</p>
<p>Thanks,</p>
<p>Narayan<br>
</p>
</div>
</div>
</div>
</body>
</html>