<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Exchange Server">
<!-- converted from text --><style><!-- .EmailQuote { margin-left: 1pt; padding-left: 4pt; border-left: #800000 2px solid; } --></style>
</head>
<body>
<meta content="text/html; charset=UTF-8">
<style type="text/css" style="">
<!--
p
        {margin-top:0;
        margin-bottom:0}
-->
</style>
<div dir="ltr">
<div id="x_divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>Hi Juha,</p>
<p><br>
</p>
<p>I mean to say that all of the headers in a SIP message.</p>
<p>I need to replace all the headers with the headers received before and send to the client.</p>
<p><br>
</p>
<p>Thanks,</p>
<p>Narayan<br>
</p>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> sr-users <sr-users-bounces@lists.sip-router.org> on behalf of sr-users-request@lists.sip-router.org <sr-users-request@lists.sip-router.org><br>
<b>Sent:</b> Tuesday, April 4, 2017 10:00:02 AM<br>
<b>To:</b> sr-users@lists.sip-router.org<br>
<b>Subject:</b> sr-users Digest, Vol 143, Issue 5</font>
<div> </div>
</div>
</div>
<font size="2"><span style="font-size:10pt;">
<div class="PlainText">Send sr-users mailing list submissions to<br>
        sr-users@lists.sip-router.org<br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
or, via email, send a message with subject or body 'help' to<br>
        sr-users-request@lists.sip-router.org<br>
<br>
You can reach the person managing the list at<br>
        sr-users-owner@lists.sip-router.org<br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of sr-users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: Issue in replacing message header  in kamailio (Narayan P)<br>
   2. Re: Issue in replacing message header  in kamailio (Juha Heinanen)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Tue, 4 Apr 2017 09:02:28 +0000<br>
From: Narayan P <narayana88@outlook.com><br>
To: "sr-users@lists.sip-router.org" <sr-users@lists.sip-router.org><br>
Subject: Re: [SR-Users] Issue in replacing message header  in kamailio<br>
Message-ID:<br>
        <HK2PR0201MB1745D10E07415A9696765176D70B0@HK2PR0201MB1745.apcprd02.prod.outlook.com><br>
        <br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
Hi Can anybody help me on this.Any API to replace a message header completely in kamailio configuration file and its usage.<br>
<br>
<br>
Thanks,<br>
<br>
Narayan<br>
<br>
________________________________<br>
From: Narayan P<br>
Sent: Tuesday, April 4, 2017 6:31:14 AM<br>
To: sr-users@lists.sip-router.org<br>
Subject: Re: Issue in replacing message header in kamailio<br>
<br>
<br>
Hi All,<br>
<br>
How to replace  message header completely that has been received previously in another 200 OK response message.<br>
<br>
I have used remove_body() and replace_body(re, txt) .<br>
Is there any API to replace these.<br>
Any suggestion will be highly appreciated.<br>
<br>
<br>
Thanks,<br>
Narayan<br>
<br>
<br>
________________________________<br>
From: Narayan P<br>
Sent: Monday, April 3, 2017 1:41:47 PM<br>
To: sr-users@lists.sip-router.org<br>
Subject: Issue in replacing message header in kamailio<br>
<br>
<br>
Hi All,<br>
<br>
<br>
How to replace total message header  in another 200 ok response message.<br>
<br>
<br>
I have used remove_body() and replace_body(re, txt) .<br>
<br>
Is there any API to replace these.<br>
<br>
Any suggestion will be highly appreciated.<br>
<br>
<br>
<br>
Thanks,<br>
<br>
Narayan<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.sip-router.org/pipermail/sr-users/attachments/20170404/6fa1f8cb/attachment-0001.html">http://lists.sip-router.org/pipermail/sr-users/attachments/20170404/6fa1f8cb/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Tue, 4 Apr 2017 12:07:36 +0300<br>
From: Juha Heinanen <jh@tutpro.com><br>
To: "Kamailio \(SER\) - Users Mailing List"<br>
        <sr-users@lists.sip-router.org><br>
Subject: Re: [SR-Users] Issue in replacing message header  in kamailio<br>
Message-ID: <22755.25176.304620.479969@lohi.tutpro.com><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Narayan P writes:<br>
<br>
> Hi Can anybody help me on this.Any API to replace a message header<br>
> completely in kamailio configuration file and its usage.<br>
<br>
What do you mean with "message" header?  I don't remember such SIP<br>
header.<br>
<br>
-- Juha<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
sr-users mailing list<br>
sr-users@lists.sip-router.org<br>
<a href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users</a><br>
<br>
<br>
------------------------------<br>
<br>
End of sr-users Digest, Vol 143, Issue 5<br>
****************************************<br>
</div>
</span></font>
</body>
</html>