<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
<br>
<br>
<br>
\r\n is just the line break (new line), like <br> in html.<br>
<br>
<br>
difference between both functions is the location where the header
will be added.<br>
<pre wrap="">append_hf(txt) - Appends 'txt' as header <b>after the last</b> header field.
                
append_hf(txt, hdr) - Appends 'txt' as header <b>after first 'hdr'</b> header field.
BR
Max M.                </pre>
Am 28.07.2011 15:56, schrieb spady:
<blockquote cite="mid:1311861367620-6629941.post@n2.nabble.com"
type="cite">
<pre wrap="">Hi MAX thanks a lot for your quick reply. I was studying your solution an d i
would like to ask you a couple of thing about it:
1- What " \r\n " mean at the end of "append_hf". I searched into
<a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/1.4.x/textops.html">http://www.opensips.org/html/docs/modules/1.4.x/textops.html</a> but I cannot
find anything about it.
2- I read about textops module at
<a class="moz-txt-link-freetext" href="http://www.opensips.org/html/docs/modules/1.4.x/textops.html">http://www.opensips.org/html/docs/modules/1.4.x/textops.html</a> and i am asking
what is the really difference beatween "append_hf(txt)" and "append_hf(txt,
hdr)" .
I am sorry for dummy question but i am studying OpenSIPS from a couple of
weeks and it's all new for me.
Thnak you very much.
--
View this message in context: <a class="moz-txt-link-freetext" href="http://opensips-open-sip-server.1449251.n2.nabble.com/Add-DIVERSION-hdr-tp6629796p6629941.html">http://opensips-open-sip-server.1449251.n2.nabble.com/Add-DIVERSION-hdr-tp6629796p6629941.html</a>
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
_______________________________________________
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>