<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello Alexandr,<br>
<br>
indeed, this does not interfere with Homer project at all, just some
adjustments to the existing siptrace: option to mirror traffic only
(old version was always writing to db) and option to add extra
headers when mirroring and read them when receiving mirroring
traffic.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
On 8/15/11 1:37 AM, Alexandr Dubovikov wrote:
<blockquote cite="mid:4E485C3C.1040804@start4.info" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Hello,<br>
<br>
The idea is good, but I am not sure it's correct to modify the
original SIP message, adding new SIP headers.<br>
As minimum you don't have any controlling, which headers are
present or must be present.<br>
<br>
Anyway, this solution can be used in some cases there is only
Kamailo present.<br>
<br>
Wbr,<br>
Alexandr<br>
<br>
P.S. it doesn't interrupt Homer implementation, it's just another
way of mirroring SIP traffic. :-) <br>
<br>
P.P.S. <a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://homer.googlecode.com/files/Homerv2.pdf">http://homer.googlecode.com/files/Homerv2.pdf</a><br>
<br>
<br>
8/12/2011 3:30 PM, Daniel-Constantin Mierla wrote:
<blockquote cite="mid:4E452ADC.2060308@gmail.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
Hello,<br>
<br>
let's keep the list on cc so other devs can participate and have
idea of what is going on ...<br>
<br>
On 8/11/11 9:26 AM, Tristan Bruns wrote:
<blockquote
cite="mid:assp.0204e2103e.4E438431.8040105@decoit.de"
type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<title></title>
Hello Daniel,<br>
<br>
I tried using the message parser and textops to add the
headers to the message but failed, probably because I did not
manage to create a sip_msg struct that append_hf would update.
(It worked when I used an existing sip_msg struct, [e.g. the
one from sip_trace()] but not all trace-functions had access
to a sip_msg [e.g. trace_sl_*])<br>
</blockquote>
<br>
Indeed, the functions for storing the message don't have the
sip_msg struct available. I was referring to parsing of received
messages (the mirrored traffic from other kamailios), where
would be safer to use the parser -- if there will be another
proxy in between mirroring proxy and storage proxy, it can add
headers in between the X-Siptrace-..., breaking the read.<br>
<br>
Anyhow, that is very unlikely -- for the I will go with your
patches and update afterwards, when it is more time for it.<br>
<br>
Cheers,<br>
Daniel<br>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
sr-dev mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a>
</pre>
</blockquote>
<br>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
sr-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:sr-dev@lists.sip-router.org">sr-dev@lists.sip-router.org</a>
<a class="moz-txt-link-freetext" href="http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev">http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-dev</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Daniel-Constantin Mierla -- <a class="moz-txt-link-freetext" href="http://www.asipto.com">http://www.asipto.com</a>
Kamailio Advanced Training, Oct 10-13, Berlin: <a class="moz-txt-link-freetext" href="http://asipto.com/u/kat">http://asipto.com/u/kat</a>
<a class="moz-txt-link-freetext" href="http://linkedin.com/in/miconda">http://linkedin.com/in/miconda</a> -- <a class="moz-txt-link-freetext" href="http://twitter.com/miconda">http://twitter.com/miconda</a></pre>
</body>
</html>