<div dir="ltr"><div dir="auto">Sorry i didn't understand anything you said. But it seems you don't quite grasp how it works. Let me try to explain:<div dir="auto"><br></div><div>There should be 2 parts to this:</div><div><br></div><div>1.- Your production kamailio, this one processes your traffic, calls, etc. This kamailio should have sipcapture enabled to send the copies to Home/Kamailio.</div><div dir="auto">2.- There's homer's Kamailaio capture agent, this kamailio doesn't do any actual proxying. It only receives the copies sent to it by your actual production kamailio. It is this Kamailio who inserts the data into the db, but it's al already configured, you don't need to do _anything_ at all.</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sep 1, 2017 18:57, "Mark Boyce" <<a href="mailto:mark@darkorigins.com" target="_blank">mark@darkorigins.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">Hi<div><br></div><div>Re-reading that again I think I am breaking things by trying to use sipcapture to log to the local db on the same copy of kamailio that phones are connected to.  If I am reading it correctly I actually need to run siptrace on the kamailio copy the phones are connected to which will then send the results over to another copy which runs sipcapture….  </div><div><br></div><div><br></div><div>Mark<br><div><div><br></div>

</div>
<br><div><blockquote type="cite"><div>On 1 Sep 2017, at 17:35, David Villasmil <<a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.co<wbr>m</a>> wrote:</div><br class="m_-5583982385981180768m_5255972400404606891Apple-interchange-newline"><div><div dir="ltr">Here's explained very simply:<div><br></div><div><a href="https://github.com/sipcapture/homer/wiki/Examples%3A-Kamailio" target="_blank">https://github.com/sipcapture/<wbr>homer/wiki/Examples%3A-Kamaili<wbr>o</a><br></div><div><br></div><div>Basically you just need on the request and on the onreply routes, that's it.</div><div>If you're not seeing anything, make sure your config looks something like:</div><div><br></div><div><pre style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:13.6px;margin-top:0px;margin-bottom:16px;font-stretch:normal;line-height:1.45;word-wrap:normal;padding:16px;overflow:auto;background-color:rgb(246,248,250);border-radius:3px;color:rgb(36,41,46)"><code style="box-sizing:border-box;font-family:SFMono-Regular,Consolas,"Liberation Mono",Menlo,Courier,monospace;font-size:13.6px;padding:0px;margin:0px;background:transparent;border-radius:3px;word-break:normal;border:0px;display:inline;overflow:visible;line-height:inherit;word-wrap:normal">#!ifdef WITH_HOMER
# check IP and port of your capture node
modparam("siptrace", "duplicate_uri", "sip:<a href="http://10.0.0.1:9060/" target="_blank">10.0.0.1:9060</a>")
modparam("siptrace", "hep_mode_on", 1)
modparam("siptrace", "trace_to_database", 0)
modparam("siptrace", "trace_flag", 22)
modparam("siptrace", "trace_on", 1)
#!endif</code></pre></div><div class="gmail_extra">Hope that helps.<br clear="all"><div><div class="m_-5583982385981180768m_5255972400404606891gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><br></div><div>Regards,</div><div><br></div>David Villasmil<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><div>phone: <a href="tel:+34%20669%2044%2083%2037" value="+34669448337" target="_blank">+34669448337</a></div></div></div></div>
<br><div class="gmail_quote">On Fri, Sep 1, 2017 at 3:42 PM, Mark Boyce <span dir="ltr"><<a href="mailto:mark@darkorigins.com" target="_blank">mark@darkorigins.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Diego<br>
<br>
I current have it in;<br>
        request_route<br>
        branch_route<br>
        onreply_route<br>
        failure_route<br>
        reply_route<br>
        onsend_route<br>
<br>
Just to try and catch everything I can.  With a plan to then remove what’s not needed.<br>
<br>
Although not seeing any kamailio -> phone traffic.  Feels like there’s something not turned on :-(<br>
<br>
Cheers<br>
<span class="m_-5583982385981180768m_5255972400404606891HOEnZb"><font color="#888888"><br>
Mark<br>
</font></span><div class="m_-5583982385981180768m_5255972400404606891HOEnZb"><div class="m_-5583982385981180768m_5255972400404606891h5"><br>
______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi<wbr>-bin/mailman/listinfo/sr-users</a><br>
</div></div></blockquote></div><br></div></div><div hspace="streak-pt-mark" style="max-height:1px"><img alt="" style="width:0px;max-height:0px;overflow:hidden" src="https://mailfoogae.appspot.com/t?sender=aZGF2aWQudmlsbGFzbWlsLndvcmtAZ21haWwuY29t&type=zerocontent&guid=9271b6b3-2225-4dfd-9116-01af167d1020"><font color="#ffffff" size="1">ᐧ</font></div>
______________________________<wbr>_________________<br>Kamailio (SER) - Users Mailing List<br><a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br><a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">https://lists.kamailio.org/cgi<wbr>-bin/mailman/listinfo/sr-users</a><br></div></blockquote></div><br></div></div><br>______________________________<wbr>_________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer" target="_blank">https://lists.kamailio.org/cgi<wbr>-bin/mailman/listinfo/sr-users</a><br>
<br></blockquote></div></div>
</div>