[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openser-users
Subject:    Re: [SR-Users] Remove and Re add FROM in 200 OK sl reply
From:       Lewis Hutchinson <lewis.hutchinson () missionlabs ! co ! uk>
Date:       2022-08-16 8:03:11
Message-ID: CWXP265MB25173173E747819E75410F3DC56B9 () CWXP265MB2517 ! GBRP265 ! PROD ! OUTLOOK ! COM
[Download RAW message or body]

Hi Daniel

It was a very long day so apologies for making an already confusing question more \
confusing but the answer you provided was what I was looking for.

The issue is the below:

(Handset) SUBSCRIBE ( No To-Tag / $ft From-Tag) ------> SBC ------> Kamailio -------> \
API Post

Kamailio (SL 200 OK To-Tag $ltt(s) / $ft From-Tag) ------> SBC ------> (Handset) \
SUBSCRIBE

NOTIFY ------>  Kamailio ( To-Tag = $ft from SUBSCRIBE / $ft From-Tag is a new from \
tag for the NOTIFY ) ------> SBC ------> (Handset) SUBSCRIBE



The SBC does not like the change of tag between 200OK and NOTIFY Forking but we are \
doing this in accordance with the RFC 3265 around Forking

I was asking the question to able to have options for testing in a Lab Environment so \
I can use the $ltt(s) provided in the 200 OK and work it into the NOTIFY coming form \
a 3rd Party.

I just couldn't see if for looking despite me being in the right place, so thanks for \
pointing it out


Lewis

From: Daniel-Constantin Mierla <miconda@gmail.com>
Sent: 15 August 2022 18:08
To: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>; Lewis \
                Hutchinson <lewis.hutchinson@missionlabs.co.uk>
Subject: Re: [SR-Users] Remove and Re add FROM in 200 OK sl reply


Hello,

not sure I really understood what you want to do, so some generic remarks:

  - From header for generated replies is taken from request. If you want a different \
one, change it for request, then do msg_apply_changes() and then generate the reply

  - the To-tag set by Kamailio in generated replies should be available via:

    * https://www.kamailio.org/wikidocs/cookbooks/5.6.x/pseudovariables/#lttkey-local- \
to-tag<https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.kamailio. \
org%2Fwikidocs%2Fcookbooks%2F5.6.x%2Fpseudovariables%2F%23lttkey-local-to-tag&data=05% \
7C01%7Clewis.hutchinson%40missionlabs.co.uk%7C54499c43bd84439292b608da7ee0a835%7C97c26 \
f550a7a4661bd8f7b43b50d3f2b%7C0%7C0%7C637961800600598054%7CUnknown%7CTWFpbGZsb3d8eyJWI \
joiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=9RdXwQxY6lRcpHeFB0lOan624tnKGsnb3Rl1V0q24Do%3D&reserved=0>


Cheers,
Daniel
On 11.08.22 17:19, Lewis Hutchinson wrote:
Apologies for the confusion I am actually trying to access to To tag in the sl reply \
and fix that to what I want (i.e the $ft of the SUBSCRIBE plus i.e -1234) to test





Lewis

From: Lewis Hutchinson
Sent: 11 August 2022 14:59
To: sr-users@lists.kamailio.org<mailto:sr-users@lists.kamailio.org>
Subject: Remove and Re add FROM in 200 OK sl reply

Hello All
kamailio 5.5.3
KEMI Python
Lab environemnt

Is there a reason why this does not work?

Lines 2 and 3 work but the removal of the initial From is not working on Line 1


1.                           KSR.hdr.remove("From")
2.                           KSR.hdr.append_to_reply("From: " +KSR.pv.gete("$fn") + " \
<"+KSR.pv.gete("$fu") + ">" + ";tag=" +KSR.pv.gete("$ft") + "--1234" + "\r\n") 3.     \
KSR.sl.sl_send_reply(200, "OK")


In a SUBSCRIBE/NOTIFY scenario I am trying to control the From Tag returned in the \
200OK so I can use the same one in subsequent NOTIFY messages generated outside of \
Kamailio, my theory is use the From tag in the Subscribe and append it on the reply \
with -1234 for example (this is only in a Lab at this stage, any other options please \
let me know)

Whenever I do this I end up with 2 From headers (see below)


SIP/2.0 200 OK
Via: SIP/2.0/UDP 192.168.1.67:5060;branch=z9hG4bK-f710a11a;rport=46404;received=xx.yy.xx.yy
                
From: " testuser" sip:limeant30@sip.viazeta.com;tag=bf8745def06c7b12
To: <sip: testuser@sip.viazeta.com>;tag=47969b75f14e6954812863912d1cf21c.b5f3318f<mailto:testuser@sip.viazeta.com%3e;tag=47969b75f14e6954812863912d1cf21c.b5f3318f>
                
Call-ID: b21ba770-9b5836aa@192.168.1.67<mailto:b21ba770-9b5836aa@192.168.1.67>
CSeq: 18137 SUBSCRIBE
Contact: "testuser" <sip:testuser@ \
                xx.yy.xx.yy:46404<sip:testuser@%20xx.yy.xx.yy:46404>>
Expires: 3600
From: "testuser" sip:testuser@testbed.com;tag=bf8745def06c7b12--1234
Content-Length: 0

I have tried many many variations but the original From header always persists I have \
checked the debug logs and it says it has been removed

Anyone know what I am missing? And how to get KSR.hdr.remove("From") to work. Looking \
in a debug log the header is removed.



Lewis



__________________________________________________________

Kamailio - Users Mailing List - Non Commercial Discussions

  * sr-users@lists.kamailio.org<mailto:sr-users@lists.kamailio.org>

Important: keep the mailing list in the recipients, do not reply only to the sender!

Edit mailing list options or unsubscribe:

  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users<https://eur03.safelin \
ks.protection.outlook.com/?url=https%3A%2F%2Flists.kamailio.org%2Fcgi-bin%2Fmailman%2F \
listinfo%2Fsr-users&data=05%7C01%7Clewis.hutchinson%40missionlabs.co.uk%7C54499c43bd84 \
439292b608da7ee0a835%7C97c26f550a7a4661bd8f7b43b50d3f2b%7C0%7C0%7C637961800600598054%7 \
CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0 \
%3D%7C3000%7C%7C%7C&sdata=JFJOMnXDeBLNt4eb1xaTE4aezFS1iUEl1ShdWE4LWC0%3D&reserved=0>

--

Daniel-Constantin Mierla -- \
www.asipto.com<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.as \
ipto.com%2F&data=05%7C01%7Clewis.hutchinson%40missionlabs.co.uk%7C54499c43bd84439292b6 \
08da7ee0a835%7C97c26f550a7a4661bd8f7b43b50d3f2b%7C0%7C0%7C637961800600598054%7CUnknown \
%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=b9NuYYIgFT2mfUqmbtQmHSVUrVrvCWkRhgIhlTEGb84%3D&reserved=0>


www.twitter.com/miconda<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F \
%2Fwww.twitter.com%2Fmiconda&data=05%7C01%7Clewis.hutchinson%40missionlabs.co.uk%7C544 \
99c43bd84439292b608da7ee0a835%7C97c26f550a7a4661bd8f7b43b50d3f2b%7C0%7C0%7C63796180060 \
0598054%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLC \
JXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=5VdyX%2BUjP6Vg4Z37k9yOTpFSkpv4ZK5%2B9YQ%2FoMXwIWk%3D&reserved=0> \
-- www.linkedin.com/in/miconda<https://eur03.safelinks.protection.outlook.com/?url=htt \
p%3A%2F%2Fwww.linkedin.com%2Fin%2Fmiconda&data=05%7C01%7Clewis.hutchinson%40missionlab \
s.co.uk%7C54499c43bd84439292b608da7ee0a835%7C97c26f550a7a4661bd8f7b43b50d3f2b%7C0%7C0% \
7C637961800600598054%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBT \
iI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=io8VPRw%2BJk%2BWBK4SzbNfRcrA10EaQYw%2BJoM0datotew%3D&reserved=0>



[Attachment #3 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"> <head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Consolas;
	panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
	{font-family:"Segoe UI";
	panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;
	mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
pre
	{mso-style-priority:99;
	mso-style-link:"HTML Preformatted Char";
	margin:0cm;
	font-size:10.0pt;
	font-family:"Courier New";
	mso-fareast-language:EN-GB;}
span.HTMLPreformattedChar
	{mso-style-name:"HTML Preformatted Char";
	mso-style-priority:99;
	mso-style-link:"HTML Preformatted";
	font-family:Consolas;
	mso-fareast-language:EN-US;}
span.EmailStyle24
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-GB" link="#0563C1" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<div>
<p class="MsoNormal">Hi Daniel <br>
<br>
It was a <b><i>very</i></b> long day so apologies for making an already confusing \
question more confusing but the answer you provided was what I was looking for. <br>
<br>
The issue is the below:<br>
<br>
(Handset) SUBSCRIBE ( No To-Tag / $ft From-Tag) ------&gt; SBC ------&gt; Kamailio \
-------&gt; API Post<br> <br>
Kamailio (SL 200 OK To-Tag <span \
style="color:black;background:white">$ltt(s)&nbsp;</span>/ $ft From-Tag) ------&gt; \
SBC ------&gt; (Handset) SUBSCRIBE<br> <br>
NOTIFY ------&gt; &nbsp;Kamailio ( To-Tag = $ft from SUBSCRIBE / $ft From-Tag is a \
new from tag for the NOTIFY ) ------&gt; SBC ------&gt; (Handset) SUBSCRIBE<br> <br>
<br>
<br>
The SBC does not like the change of tag between 200OK and NOTIFY Forking but we are \
doing this in accordance with the RFC 3265 around Forking <br>
<br>
I was asking the question to able to have options for testing in a Lab Environment so \
I can use the <span style="color:black;background:white">$ltt(s) </span>provided in \
the 200 OK and work it into the NOTIFY coming form a 3<sup>rd</sup> Party<span \
style="color:black;background:white">. <br>
<br>
I just couldn&#8217;t see if for looking despite me being in the right place, so \
thanks for pointing it out</span><span \
style="font-size:12.0pt;font-family:&quot;Segoe \
UI&quot;,sans-serif;color:black;background:white"> </span><br>
<br>
<br>
<b><span style="font-size:12.0pt;color:black;mso-fareast-language:EN-GB">Lewis \
</span> </b><span style="mso-fareast-language:EN-GB"><o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" \
style="mso-fareast-language:EN-GB">From:</span></b><span lang="EN-US" \
style="mso-fareast-language:EN-GB"> Daniel-Constantin Mierla \
&lt;miconda@gmail.com&gt; <br>
<b>Sent:</b> 15 August 2022 18:08<br>
<b>To:</b> Kamailio (SER) - Users Mailing List &lt;sr-users@lists.kamailio.org&gt;; \
Lewis Hutchinson &lt;lewis.hutchinson@missionlabs.co.uk&gt;<br> <b>Subject:</b> Re: \
[SR-Users] Remove and Re add FROM in 200 OK sl reply<o:p></o:p></span></p> </div>
</div>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p>Hello,<span style="mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<p>not sure I really understood what you want to do, so some generic \
remarks:<o:p></o:p></p> <p>&nbsp; - From header for generated replies is taken from \
request. If you want a different one, change it for request, then do \
msg_apply_changes() and then generate the reply<o:p></o:p></p> <p>&nbsp; - the To-tag \
set by Kamailio in generated replies should be available via:<o:p></o:p></p> \
<p>&nbsp;&nbsp;&nbsp; * <a \
href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.kamailio.o \
rg%2Fwikidocs%2Fcookbooks%2F5.6.x%2Fpseudovariables%2F%23lttkey-local-to-tag&amp;data= \
05%7C01%7Clewis.hutchinson%40missionlabs.co.uk%7C54499c43bd84439292b608da7ee0a835%7C97 \
c26f550a7a4661bd8f7b43b50d3f2b%7C0%7C0%7C637961800600598054%7CUnknown%7CTWFpbGZsb3d8ey \
JWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=9RdXwQxY6lRcpHeFB0lOan624tnKGsnb3Rl1V0q24Do%3D&amp;reserved=0">
 https://www.kamailio.org/wikidocs/cookbooks/5.6.x/pseudovariables/#lttkey-local-to-tag</a><o:p></o:p></p>
 <p>Cheers,<br>
Daniel<o:p></o:p></p>
<div>
<p class="MsoNormal">On 11.08.22 17:19, Lewis Hutchinson wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal">Apologies for the confusion I am actually trying to access to To \
tag in the sl reply and fix that to what I want (i.e the $ft of the SUBSCRIBE plus \
i.e &#8211;1234) to test<br> <br>
<br>
<br>
<br>
<o:p></o:p></p>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
<div>
<p class="MsoNormal"><b><span \
style="font-size:12.0pt;color:black;mso-fareast-language:EN-GB">Lewis \
</span></b><o:p></o:p></p> </div>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" \
style="mso-fareast-language:EN-GB">From:</span></b><span lang="EN-US" \
style="mso-fareast-language:EN-GB"> Lewis Hutchinson <br>
<b>Sent:</b> 11 August 2022 14:59<br>
<b>To:</b> <a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><br>
 <b>Subject:</b> Remove and Re add FROM in 200 OK sl reply</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal">&nbsp;<o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Hello All<o:p></o:p></p>
<p class="MsoNormal">kamailio 5.5.3<br>
KEMI Python<br>
Lab environemnt<br>
<br>
Is there a reason why this does not work?<br>
<br>
Lines 2 and 3 work but the removal of the initial From is not working on Line 1<br>
<br>
<br>
1. &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp \
;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;KSR.hdr.remove(&#8220;From&#8221;)<br>
 2.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
KSR.hdr.append_to_reply(&quot;From: &quot; +KSR.pv.gete(&quot;$fn&quot;) + &quot; \
&lt;&quot;+KSR.pv.gete(&quot;$fu&quot;) + &quot;&gt;&quot; + &quot;;tag=&quot; \
+KSR.pv.gete(&quot;$ft&quot;) + &quot;--1234&quot; + &quot;\r\n&quot;)<o:p></o:p></p> \
<p class="MsoNormal" \
style="margin-bottom:12.0pt">3.&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& \
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \
KSR.sl.sl_send_reply(200, &quot;OK&quot;)<br> <br>
<br>
In a SUBSCRIBE/NOTIFY scenario I am trying to control the From Tag returned in the \
200OK so I can use the same one in subsequent NOTIFY messages generated outside of \
Kamailio, my theory is use the From tag in the Subscribe and append it on the reply \
with &#8211;1234  for example (this is only in a Lab at this stage, any other options \
please let me know)<br> <br>
Whenever I do this I end up with 2 From headers (see below)<br>
<br>
<br>
<o:p></o:p></p>
<p class="MsoNormal" \
style="mso-margin-top-alt:3.0pt;margin-right:0cm;margin-bottom:3.0pt;margin-left:0cm">
 <span style="font-size:9.0pt;font-family:Consolas;color:#1D1C1D;mso-fareast-language:EN-GB">SIP/2.0 \
200 OK</span><o:p></o:p></p> <p class="MsoNormal" \
style="mso-margin-top-alt:3.0pt;margin-right:0cm;margin-bottom:3.0pt;margin-left:0cm">
 <span style="font-size:9.0pt;font-family:Consolas;color:#1D1C1D;mso-fareast-language:EN-GB">Via: \
SIP/2.0/UDP 192.168.1.67:5060;branch=z9hG4bK-f710a11a;rport=46404;received=xx.yy.xx.yy</span><o:p></o:p></p>
 <p class="MsoNormal" \
style="mso-margin-top-alt:3.0pt;margin-right:0cm;margin-bottom:3.0pt;margin-left:0cm">
 <span style="font-size:9.0pt;font-family:Consolas;color:#1D1C1D;mso-fareast-language:EN-GB">From: \
&quot; testuser&quot; <a \
href="sip:limeant30@sip.viazeta.com">sip:limeant30@sip.viazeta.com</a>;tag=bf8745def06c7b12</span><o:p></o:p></p>
 <p class="MsoNormal" \
style="mso-margin-top-alt:3.0pt;margin-right:0cm;margin-bottom:3.0pt;margin-left:0cm">
 <span style="font-size:9.0pt;font-family:Consolas;color:#1D1C1D;mso-fareast-language:EN-GB">To: \
&lt;sip: <a href="mailto:testuser@sip.viazeta.com%3e;tag=47969b75f14e6954812863912d1cf21c.b5f3318f">
 testuser@sip.viazeta.com&gt;;tag=47969b75f14e6954812863912d1cf21c.b5f3318f</a></span><o:p></o:p></p>
 <p class="MsoNormal" \
style="mso-margin-top-alt:3.0pt;margin-right:0cm;margin-bottom:3.0pt;margin-left:0cm">
 <span style="font-size:9.0pt;font-family:Consolas;color:#1D1C1D;mso-fareast-language:EN-GB">Call-ID:
 <a href="mailto:b21ba770-9b5836aa@192.168.1.67">b21ba770-9b5836aa@192.168.1.67</a></span><o:p></o:p></p>
 <p class="MsoNormal" \
style="mso-margin-top-alt:3.0pt;margin-right:0cm;margin-bottom:3.0pt;margin-left:0cm">
 <span style="font-size:9.0pt;font-family:Consolas;color:#1D1C1D;mso-fareast-language:EN-GB">CSeq: \
18137 SUBSCRIBE</span><o:p></o:p></p> <p class="MsoNormal" \
style="mso-margin-top-alt:3.0pt;margin-right:0cm;margin-bottom:3.0pt;margin-left:0cm">
 <span style="font-size:9.0pt;font-family:Consolas;color:#1D1C1D;mso-fareast-language:EN-GB">Contact: \
&quot;testuser&quot; &lt;<a href="sip:testuser@%20xx.yy.xx.yy:46404">sip:testuser@ \
xx.yy.xx.yy:46404</a>&gt;</span><o:p></o:p></p> <p class="MsoNormal" \
style="mso-margin-top-alt:3.0pt;margin-right:0cm;margin-bottom:3.0pt;margin-left:0cm">
 <span style="font-size:9.0pt;font-family:Consolas;color:#1D1C1D;mso-fareast-language:EN-GB">Expires: \
3600</span><o:p></o:p></p> <p class="MsoNormal" \
style="mso-margin-top-alt:3.0pt;margin-right:0cm;margin-bottom:3.0pt;margin-left:0cm">
 <span style="font-size:9.0pt;font-family:Consolas;color:#1D1C1D;mso-fareast-language:EN-GB">From: \
&quot;testuser&quot; <a \
href="sip:testuser@testbed.com">sip:testuser@testbed.com</a>;tag=bf8745def06c7b12--1234</span><o:p></o:p></p>
 <p class="MsoNormal" \
style="mso-margin-top-alt:3.0pt;margin-right:0cm;margin-bottom:3.0pt;margin-left:0cm">
 <span style="font-size:9.0pt;font-family:Consolas;color:#1D1C1D;mso-fareast-language:EN-GB">Content-Length: \
0</span><o:p></o:p></p> <p class="MsoNormal">&nbsp;<o:p></o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">I have tried many many variations \
but the original From header always persists I have checked the debug logs and it \
says it has been removed<br> <br>
Anyone know what I am missing? And how to get KSR.hdr.remove(&#8220;From&#8221;) to \
work. Looking in a debug log the header is removed. <br>
<br>
<br>
<br>
<o:p></o:p></p>
<p class="MsoNormal"><b><span \
style="font-size:12.0pt;color:black;mso-fareast-language:EN-GB">Lewis</span></b><o:p></o:p></p>
 <p class="MsoNormal"><span style="mso-fareast-language:EN-GB"><br>
<br>
<o:p></o:p></span></p>
<pre>__________________________________________________________<o:p></o:p></pre>
<pre>Kamailio - Users Mailing List - Non Commercial Discussions<o:p></o:p></pre>
<pre>&nbsp; * <a href="mailto:sr-users@lists.kamailio.org">sr-users@lists.kamailio.org</a><o:p></o:p></pre>
 <pre>Important: keep the mailing list in the recipients, do not reply only to the \
sender!<o:p></o:p></pre> <pre>Edit mailing list options or \
unsubscribe:<o:p></o:p></pre> <pre>&nbsp; * <a \
href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.kamailio \
.org%2Fcgi-bin%2Fmailman%2Flistinfo%2Fsr-users&amp;data=05%7C01%7Clewis.hutchinson%40m \
issionlabs.co.uk%7C54499c43bd84439292b608da7ee0a835%7C97c26f550a7a4661bd8f7b43b50d3f2b \
%7C0%7C0%7C637961800600598054%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2lu \
MzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=JFJOMnXDeBLNt4eb1xaTE4aez \
FS1iUEl1ShdWE4LWC0%3D&amp;reserved=0">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><o:p></o:p></pre>
 </blockquote>
<pre>-- <o:p></o:p></pre>
<pre>Daniel-Constantin Mierla -- <a \
href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.asipto.com% \
2F&amp;data=05%7C01%7Clewis.hutchinson%40missionlabs.co.uk%7C54499c43bd84439292b608da7 \
ee0a835%7C97c26f550a7a4661bd8f7b43b50d3f2b%7C0%7C0%7C637961800600598054%7CUnknown%7CTW \
FpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C \
%7C%7C&amp;sdata=b9NuYYIgFT2mfUqmbtQmHSVUrVrvCWkRhgIhlTEGb84%3D&amp;reserved=0">www.asipto.com</a><o:p></o:p></pre>
 <pre><a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.tw \
itter.com%2Fmiconda&amp;data=05%7C01%7Clewis.hutchinson%40missionlabs.co.uk%7C54499c43 \
bd84439292b608da7ee0a835%7C97c26f550a7a4661bd8f7b43b50d3f2b%7C0%7C0%7C6379618006005980 \
54%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI \
6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=5VdyX%2BUjP6Vg4Z37k9yOTpFSkpv4ZK5%2B9YQ%2FoMXwIWk%3D&amp;reserved=0">www.twitter.com/miconda</a> \
-- <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.linke \
din.com%2Fin%2Fmiconda&amp;data=05%7C01%7Clewis.hutchinson%40missionlabs.co.uk%7C54499 \
c43bd84439292b608da7ee0a835%7C97c26f550a7a4661bd8f7b43b50d3f2b%7C0%7C0%7C6379618006005 \
98054%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJX \
VCI6Mn0%3D%7C3000%7C%7C%7C&amp;sdata=io8VPRw%2BJk%2BWBK4SzbNfRcrA10EaQYw%2BJoM0datotew%3D&amp;reserved=0">www.linkedin.com/in/miconda</a><o:p></o:p></pre>
 </div>
</body>
</html>



__________________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions
  * sr-users@lists.kamailio.org
Important: keep the mailing list in the recipients, do not reply only to the sender!
Edit mailing list options or unsubscribe:
  * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

--===============2049475220==--


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic