[Spce-user] Has anyone managed to get HOMER to work?
William Hilsum
William at ezpcltd.com
Sat Mar 11 21:01:29 EST 2017
Hi
I've been playing around and have got Homer working, however, not the "official" way and only from Sngrep by targeting the server.
Matthias - Thanks, and great. I think I'll fall back to the second or third option if I need to (appears to be better than sngrep), but, again, I would like to see if the native bits can work.
As per Matthias' first link, the Homer documentation (https://github.com/sipcapture/homer/wiki/Examples%3A-RTPEngine) says to use "homer_rtcp_stats:", but, this appears to be out of date as it produces a validation error and seems to be replaced with the "homer:" section of config.yml
No matter what I try, I can't seem to get this to work - so, I was wondering if someone from Sipwise can confirm if it is only supported in Pro/Carrier or if it is broken as I see no reference to the Homer variable of config.yml in the manual.
Thanks,
William
From: Spce-user [mailto:spce-user-bounces at lists.sipwise.com] On Behalf Of William Hilsum
Sent: 10 March 2017 16:52
To: Matthias Hohl <matthias.hohl at telematica.at>; 'William Fulton' <wfulton at thirdhatch.com>; spce-user at lists.sipwise.com
Subject: Re: [Spce-user] Has anyone managed to get HOMER to work?
This sender failed our fraud detection checks and may not be who they appear to be. Learn about spoofing<http://aka.ms/LearnAboutSpoofing>
Feedback<http://aka.ms/SafetyTipsFeedback>
Heh! I meant "unofficial" support... e.g. like the news list here... I only have <30 customers on my box and can't justify the cost!
Just getting a bit annoyed trying to go through sngrep/wireshark for a single problem and hoping that this will help.
In the future, I hope to be on commercial support for everything (PBX included!)
William
From: Matthias Hohl [mailto:matthias.hohl at telematica.at]
Sent: 10 March 2017 10:44
To: William Hilsum <William at ezpcltd.com<mailto:William at ezpcltd.com>>; 'William Fulton' <wfulton at thirdhatch.com<mailto:wfulton at thirdhatch.com>>; spce-user at lists.sipwise.com<mailto:spce-user at lists.sipwise.com>
Subject: AW: [Spce-user] Has anyone managed to get HOMER to work?
Sure you can contact sipcapture directly and pay for support.. they also will do the whole setup for you...
Von: William Hilsum [mailto:William at ezpcltd.com]
Gesendet: Freitag, 10. März 2017 10:31
An: Matthias Hohl <matthias.hohl at telematica.at<mailto:matthias.hohl at telematica.at>>; 'William Fulton' <wfulton at thirdhatch.com<mailto:wfulton at thirdhatch.com>>; spce-user at lists.sipwise.com<mailto:spce-user at lists.sipwise.com>
Betreff: RE: [Spce-user] Has anyone managed to get HOMER to work?
Hi,
Thanks everyone - so, I can confirm it looks like no packets are coming from the server by default, but, running SNGREP with the -H option is producing them and I can see them both being sent and received, however, nothing is being populated on the server still.
I'll contact them and keep my fingers crossed (I couldn't see any official support).
Thanks,
William
From: Matthias Hohl [mailto:matthias.hohl at telematica.at]
Sent: 10 March 2017 08:10
To: 'William Fulton' <wfulton at thirdhatch.com<mailto:wfulton at thirdhatch.com>>; William Hilsum <William at ezpcltd.com<mailto:William at ezpcltd.com>>; spce-user at lists.sipwise.com<mailto:spce-user at lists.sipwise.com>
Subject: AW: [Spce-user] Has anyone managed to get HOMER to work?
Hello,
yes Homer is supported and i also run Homer Capture Clients on SPCE and send it to my Homer Server.
I use
· rtpengine for RTCP Stats (https://github.com/sipcapture/homer/wiki/Examples%3A-RTPEngine)
· captagent for SIP packages (https://github.com/sipcapture/captagent/wiki/Configuration)
· hepipe for Log (https://github.com/sipcapture/homer/wiki/Examples%3A-hepipe.js)
you can also use captagent for RTCP stats also... this is default if you install captagent, so you must deactivate RTCP stats in captagent config files to use just the rtpengine (it is more performance)
to check if packages get sent to your homer server you can check this:
all Traffic:
ngrep -W byline port 9060 and host YOUR-HOMER-IP
Nur Log Traffic (Hepipe)
ngrep -W byline port 9060 | grep proxy
Nur RTCP Stats (rtpengine)
ngrep -W byline port 9060 | grep sender
Nur SIP traffic (Captagent)
ngrep -W byline port 9060 | grep sip
AT Homer Server you can do this for checking if something is coming:
ngrep -W byline port 9060 and host YOUR-SPCE-SERVER-IP
Von: Spce-user [mailto:spce-user-bounces at lists.sipwise.com] Im Auftrag von William Fulton
Gesendet: Freitag, 10. März 2017 03:11
An: William Hilsum <William at ezpcltd.com<mailto:William at ezpcltd.com>>; spce-user at lists.sipwise.com<mailto:spce-user at lists.sipwise.com>
Betreff: Re: [Spce-user] Has anyone managed to get HOMER to work?
William,
Are you using a network tap in your hardware configuration? I haven't used homer yet, but I know for doing these kinds of captures it is often required. Some Cisco switches have a tap port built in, if you don't have this type of hardware try doing a search for Network Tap. Here are some that I have used with good results:
https://www.amazon.com/dp/B002BSF112
or
https://www.amazon.com/dp/B0175EODCE
Good luck!
Bill in Seattle
From: Spce-user [mailto:spce-user-bounces at lists.sipwise.com] On Behalf Of William Hilsum
Sent: Thursday, March 9, 2017 5:16 PM
To: spce-user at lists.sipwise.com<mailto:spce-user at lists.sipwise.com>
Subject: [Spce-user] Has anyone managed to get HOMER to work?
Hi
I am trying to diagnose an issue for a client and am getting a bit fed up of tracing through Wireshark.
I have seen Homer for some time and had a few hours spare, so, I thought I would set it up...
I edited my config.yml homer section to:
homer:
capture_id: 'homer01'
capture_pass: 123
enabled: yes
host: --homer-ip-address
port: '9060'
"Ngcpcfg build" followed by "ngcp apply homer"
I setup a new box, installed Debian and ran the install script as per the instructions on github. There were a few errors relating to region settings - but, it looks like everything installed fine (Mysql, Apache etc.).
I can see the web interface fine, but, it just doesn't get populated with anything.
I ran "tcpdump host -homer-ip-address" and couldn't see anything. I then ran "sngrep -H udp:--homer-ip-address:9060" along with "ngrep -W byline port 9060" on the Homer server, and, I could see the HEP packets coming through.
So, I was wondering:
Is Homer supported on community edition/did I do something wrong? (I wasn't sure what capture_pass is / I tried various default passwords)
Has anyone managed to get it work?
Can anyone give me some hints? I can't see any community/IRC etc.
Thanks,
William
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20170312/68e9f12d/attachment-0001.html>
More information about the Spce-user
mailing list