Hi,
\r\n is just the line break (new line), like <br> in html.
difference between both functions is the location where the header will
be added.
append_hf(txt) - Appends 'txt' as header*after the last* header field.
append_hf(txt, hdr) - Appends 'txt' as header*after first 'hdr'* header field.
BR
Max M.
Am 28.07.2011 15:56, schrieb spady:
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
http://www.opensips.org/html/docs/modules/1.4.x/textops.html but I cannot
find anything about it.
2- I read about textops module at
http://www.opensips.org/html/docs/modules/1.4.x/textops.html 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:
http://opensips-open-sip-server.1449251.n2.nabble.com/Add-DIVERSION-hdr-tp6629796p6629941.html
Sent from the OpenSIPS - Users mailing list archive at Nabble.com.
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users