Sorry i didn't understand anything you said. But it seems you don't quite
grasp how it works. Let me try to explain:
There should be 2 parts to this:
1.- Your production kamailio, this one processes your traffic, calls, etc.
This kamailio should have sipcapture enabled to send the copies to
Home/Kamailio.
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.
On Sep 1, 2017 18:57, "Mark Boyce" <mark(a)darkorigins.com> wrote:
Hi
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….
Mark
On 1 Sep 2017, at 17:35, David Villasmil <david.villasmil.work(a)gmail.com>
wrote:
Here's explained very simply:
https://github.com/sipcapture/homer/wiki/Examples%3A-Kamailio
Basically you just need on the request and on the onreply routes, that's
it.
If you're not seeing anything, make sure your config looks something like:
#!ifdef WITH_HOMER
# check IP and port of your capture node
modparam("siptrace", "duplicate_uri", "sip:10.0.0.1:9060")
modparam("siptrace", "hep_mode_on", 1)
modparam("siptrace", "trace_to_database", 0)
modparam("siptrace", "trace_flag", 22)
modparam("siptrace", "trace_on", 1)
#!endif
Hope that helps.
Regards,
David Villasmil
email: david.villasmil.work(a)gmail.com
phone: +34669448337 <+34%20669%2044%2083%2037>
On Fri, Sep 1, 2017 at 3:42 PM, Mark Boyce <mark(a)darkorigins.com> wrote:
Hi Diego
I current have it in;
request_route
branch_route
onreply_route
failure_route
reply_route
onsend_route
Just to try and catch everything I can. With a plan to then remove
what’s not needed.
Although not seeing any kamailio -> phone traffic. Feels like there’s
something not turned on :-(
Cheers
Mark
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
ᐧ
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users(a)lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users