HOMER 5 - Setup Guide v1 available

1,885 views
Skip to first unread message

Lorenzo Mangani

unread,
Jun 18, 2015, 10:12:46 AM6/18/15
to homer-...@googlegroups.com
Fellow Packeteers,

The initial version of the HOMER 5 Setup Guide is now available in the H5 branch:



We're looking for testers and bravehearts to help us validate the process and smoothen it out, if you decide to give things a go your feedback and input is welcome and a multi-platform installer will follow shortly once we reach stable status and switch git master to the new version.

New to Homer 5? Find our recent presentations here: https://www.youtube.com/user/qxipvideo

Questions? Drop us a mail at sup...@sipcapture.org or post on the list as per always

We're looking forward your feedback and hope you'll enjoy our brand new Homer!

Regards,

Lorenzo Mangani

HOMER / PCAPTURE DEV TEAM
Mobile: +31 6 4603-2730

QXIP BV - Capture Engineering
Amsterdam, The Netherlands



Alex Budaev

unread,
Jun 21, 2015, 10:49:48 AM6/21/15
to homer-...@googlegroups.com
what min. version php need to be install? because on latest cantos 6.6 

PHP 5.3.3 (cli) (built: Oct 30 2014 20:12:53)

i get error on PHP Parse error:  syntax error, unexpected '[' in /var/www/html/homer/api/RestApi/Search.php on line 605, referer: 


i think that set param value as '[]' not present in 5.3.3


четверг, 18 июня 2015 г., 17:12:46 UTC+3 пользователь Lorenzo Mangani написал:

Alexandr Dubovikov

unread,
Jun 21, 2015, 11:20:58 AM6/21/15
to homer-...@googlegroups.com
Fixed. Please check the last git.

--
You received this message because you are subscribed to the Google Groups "Homer Capture Server. sipcapture.org" group.
To unsubscribe from this group and stop receiving emails from it, send an email to homer-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Alex Budaev

unread,
Jun 21, 2015, 2:02:34 PM6/21/15
to homer-...@googlegroups.com
thx. and to:
if(!$max_ts) $max_ts = end($data)['micro_ts']; - not work on 5.3.3 
i fix it like 

{

$max_ts_tmp = end($data);

$max_ts = $max_ts_tmp['micro_ts'];

}


 syntax error, unexpected '[' in /var/www/html/kazoo-ui/homer/api/RestApi/Report.php on line 93, 187, 280


in which version PHP you developing?


воскресенье, 21 июня 2015 г., 18:20:58 UTC+3 пользователь Alexandr Dubovikov написал:

Alexandr Dubovikov

unread,
Jun 21, 2015, 2:23:31 PM6/21/15
to homer-...@googlegroups.com
my php's version is 5.4.40 . This version is old enough :-)

please make pull request on github.

Wbr,
Alexandr

Abel Alejandro

unread,
Jun 22, 2015, 9:40:11 AM6/22/15
to homer-...@googlegroups.com
Hello!

I just installed a brand new Ubuntu 14.04 server and installed the latest GIT version.

root@homer:~/homer-api/examples/dashboards# php -v
PHP 5.5.9-1ubuntu4.9 (cli) (built: Apr 17 2015 11:44:57) 
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
    with Zend OPcache v7.0.3, Copyright (c) 1999-2014, by Zend Technologies

So far I have two questions:

1. Under the home dashboard, if I choose CALLS under Transaction it does not appear to filter data, I can still see REGISTER and others.

2. How do I see the correlated call? I remember in the old version I had to click a link so the correlated call shows up but I can not find a similar link on this version.

I also see some PHP errors

[Mon Jun 22 09:36:06.825851 2015] [:error] [pid 27743] [client 199.27.103.226:54290] PHP Warning:  preg_match(): Compilation failed: unmatched parentheses at offset 8 in /var/www/html/homer/api/RestService/Server.php on line 1198, referer: http://x.x.x.3/
[Mon Jun 22 09:36:06.826085 2015] [:error] [pid 27743] [client 199.27.103.226:54290] PHP Notice:  Undefined property: RestAPI\\Dashboard::$authmodule in /var/www/html/homer/api/RestApi/Dashboard.php on line 50, referer: http://x.x.x.3/
[Mon Jun 22 09:36:06.826098 2015] [:error] [pid 27743] [client 199.27.103.226:54290] PHP Notice:  Undefined property: RestAPI\\Dashboard::$_instance in /var/www/html/homer/api/RestApi/Dashboard.php on line 368, referer: http://x.x.x.3/
[Mon Jun 22 09:36:06.866361 2015] [:error] [pid 24543] [client 199.27.103.226:54291] PHP Notice:  Undefined variable: parameters in /var/www/html/homer/api/RestService/Client.php on line 180, referer: http://x.x.x.3/
[Mon Jun 22 09:36:06.866930 2015] [:error] [pid 24543] [client 199.27.103.226:54291] PHP Warning:  preg_match(): Compilation failed: unmatched parentheses at offset 8 in /var/www/html/homer/api/RestService/Server.php on line 1198, referer: http://x.x.x.3/
[Mon Jun 22 09:36:06.866998 2015] [:error] [pid 24543] [client 199.27.103.226:54291] PHP Notice:  Undefined property: RestAPI\\Dashboard::$authmodule in /var/www/html/homer/api/RestApi/Dashboard.php on line 50, referer: http://x.x.x.3/
[Mon Jun 22 09:36:06.867011 2015] [:error] [pid 24543] [client 199.27.103.226:54291] PHP Notice:  Undefined property: RestAPI\\Dashboard::$_instance in /var/www/html/homer/api/RestApi/Dashboard.php on line 368, referer: http://x.x.x.3/
[Mon Jun 22 09:36:06.952181 2015] [:error] [pid 9737] [client 199.27.103.226:54295] PHP Notice:  Undefined variable: parameters in /var/www/html/homer/api/RestService/Client.php on line 180, referer: http://x.x.x.3/
[Mon Jun 22 09:36:06.952827 2015] [:error] [pid 9737] [client 199.27.103.226:54295] PHP Notice:  Undefined property: RestAPI\\Dashboard::$_instance in /var/www/html/homer/api/RestApi/Dashboard.php on line 368, referer: http://x.x.x.3/
[Mon Jun 22 09:36:13.510642 2015] [:error] [pid 18148] [client 199.27.103.226:54304] PHP Notice:  Undefined index: db in /var/www/html/homer/api/RestApi/Profile.php on line 256, referer: http://x.x.x.3/
[Mon Jun 22 09:36:13.516686 2015] [:error] [pid 8187] [client 199.27.103.226:54306] PHP Notice:  Undefined index: db in /var/www/html/homer/api/RestApi/Profile.php on line 256, referer: http://x.x.x.3/
[Mon Jun 22 09:36:13.518541 2015] [:error] [pid 27353] [client 199.27.103.226:54305] PHP Notice:  Undefined index: db in /var/www/html/homer/api/RestApi/Profile.php on line 256, referer: http://x.x.x.3/
[Mon Jun 22 09:36:13.527488 2015] [:error] [pid 27368] [client 199.27.103.226:54307] PHP Notice:  Undefined index: db in /var/www/html/homer/api/RestApi/Profile.php on line 256, referer: http://x.x.x.3/
[Mon Jun 22 09:37:31.456867 2015] [:error] [pid 27743] [client 199.27.103.226:54384] PHP Notice:  Undefined variable: parameters in /var/www/html/homer/api/RestService/Client.php on line 180, referer: http://x.x.x.3/
[Mon Jun 22 09:37:31.457496 2015] [:error] [pid 27743] [client 199.27.103.226:54384] PHP Warning:  preg_match(): Compilation failed: unmatched parentheses at offset 8 in /var/www/html/homer/api/RestService/Server.php on line 1198, referer: http://x.x.x.3/
[Mon Jun 22 09:37:31.457593 2015] [:error] [pid 27743] [client 199.27.103.226:54384] PHP Notice:  Undefined property: RestAPI\\Dashboard::$authmodule in /var/www/html/homer/api/RestApi/Dashboard.php on line 50, referer: http://x.x.x.3/
[Mon Jun 22 09:37:31.457605 2015] [:error] [pid 27743] [client 199.27.103.226:54384] PHP Notice:  Undefined property: RestAPI\\Dashboard::$_instance in /var/www/html/homer/api/RestApi/Dashboard.php on line 368, referer: http://x.x.x.3/
[Mon Jun 22 09:37:31.507607 2015] [:error] [pid 24543] [client 199.27.103.226:54385] PHP Notice:  Undefined variable: parameters in /var/www/html/homer/api/RestService/Client.php on line 180, referer: http://x.x.x.3/
[Mon Jun 22 09:37:31.508126 2015] [:error] [pid 24543] [client 199.27.103.226:54385] PHP Warning:  preg_match(): Compilation failed: unmatched parentheses at offset 8 in /var/www/html/homer/api/RestService/Server.php on line 1198, referer: http://x.x.x.3/
[Mon Jun 22 09:37:31.508214 2015] [:error] [pid 24543] [client 199.27.103.226:54385] PHP Notice:  Undefined property: RestAPI\\Dashboard::$authmodule in /var/www/html/homer/api/RestApi/Dashboard.php on line 50, referer: http://x.x.x.3/
[Mon Jun 22 09:37:31.508226 2015] [:error] [pid 24543] [client 199.27.103.226:54385] PHP Notice:  Undefined property: RestAPI\\Dashboard::$_instance in /var/www/html/homer/api/RestApi/Dashboard.php on line 368, referer: http://x.x.x.3/
[Mon Jun 22 09:37:31.597295 2015] [:error] [pid 18147] [client 199.27.103.226:54389] PHP Notice:  Undefined variable: parameters in /var/www/html/homer/api/RestService/Client.php on line 180, referer: http://x.x.x.3/
[Mon Jun 22 09:37:31.597766 2015] [:error] [pid 18147] [client 199.27.103.226:54389] PHP Notice:  Undefined property: RestAPI\\Dashboard::$_instance in /var/www/html/homer/api/RestApi/Dashboard.php on line 368, referer: http://x.x.x.3/
root@homer:/var/www/html/homer/logs# 


--
You received this message because you are subscribed to the Google Groups "Homer Capture Server. sipcapture.org" group.
To unsubscribe from this group and stop receiving emails from it, send an email to homer-discus...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Abel Alejandro
787 586 8313 | 787 705 0555

400 Calle Calaf 477
San Juan, PR 00918

Alexandr Dubovikov

unread,
Jun 23, 2015, 10:25:54 AM6/23/15
to homer-...@googlegroups.com
Hi Abel,

1 . please take the last homer-api and homer-ui git. After please open UI and click on "Reset Profile" (right corner)
2. same way, click on call-id, or select multiple messages to make correlation manually.

php errors should be gone now.

Wbr,
Alexandr

Abel Alejandro

unread,
Jun 23, 2015, 11:55:37 AM6/23/15
to homer-...@googlegroups.com
Hello,

I see only one error now:

PHP Warning:  preg_match(): Compilation failed: unmatched parentheses at offset 8 in /var/www/html/homer/api/RestService/Server.php on line 1199

The search filtering by transaction or register seems to work now, thanks!

However I can not still get carr correlation, I am using sipwise as my sip platform, is there any specific changes I should do?

Thanks.

Alexandr Dubovikov

unread,
Jun 24, 2015, 4:44:22 AM6/24/15
to homer-...@googlegroups.com
Hi Abel,

please take the last gits :-) B2B should works now.

about PHP Warning, I saw this error, but need do deep debug to catch it.

Wbr,
Alexandr

Alexandr Dubovikov

unread,
Jun 24, 2015, 5:13:37 AM6/24/15
to homer-...@googlegroups.com
ok, preg_match warning has been fixed too.


Wbr,
Alexandr

On 2015-06-23 17:55, Abel Alejandro wrote:

Abel Alejandro

unread,
Jun 24, 2015, 8:07:19 AM6/24/15
to homer-...@googlegroups.com
Hello, the warning got fixed.

I have the following warning when I click reset under Profile: PHP Notice:  Undefined variable: id in /var/www/html/homer/api/RestApi/Profile.php on line 206, referer: http://

Also the following when visiting alarms: PHP Notice:  Undefined index: micro_ts in /var/www/html/homer/api/RestApi/Alarm.php(244) : runtime-created function on line 1, referer: http

Alexandr Dubovikov

unread,
Jun 24, 2015, 8:25:33 AM6/24/15
to homer-...@googlegroups.com
Hello,

Thanks. fixed.

what is about b2b ?

Wbr,
Alexandr

Abel Alejandro

unread,
Jun 24, 2015, 9:12:34 AM6/24/15
to homer-...@googlegroups.com
Nevermind its not the web project, its a captagent bug on my server that I dont know why when I use "any" it doesnt work and I need to capture both eth0 and lo to get B2B to work, let me see if I can figure this out.

Thanks.

Abel Alejandro

unread,
Jun 25, 2015, 7:34:12 AM6/25/15
to homer-...@googlegroups.com
Hello,

I just added a new captagent and I can confirm B2B works.

However the search is showing REGISTER even thou I clicked on Transaction=CALLS


Alexandr Dubovikov

unread,
Jun 25, 2015, 7:42:03 AM6/25/15
to homer-...@googlegroups.com
Hello Abel,

oops :-) bad config example!!!! please update to the new one!!!

https://github.com/sipcapture/homer-api/commit/81df36b5e68fef726bb1c1c5542f8f174dca4f43

this is for everybody!!!

Wbr,
Alexandr

Abel Alejandro

unread,
Jun 25, 2015, 7:57:07 AM6/25/15
to homer-...@googlegroups.com
Looking a lot better now, thanks.

On all the graphs I am getting this error: Could not resolve all promises

Is this a configuration issue on my end or they just dont work unless it can reverse dns everything?

Alexandr Dubovikov

unread,
Jun 25, 2015, 8:03:14 AM6/25/15
to homer-...@googlegroups.com
if you talking about InfluxDB or Elasticsearch charts, of course it will not works without installed servers...
but Homer's stats should works

please share screenshots with us..

Abel Alejandro

unread,
Jun 25, 2015, 8:06:11 AM6/25/15
to homer-...@googlegroups.com
Oh in that case its my bad, all charts are working, only error is from RIPE whois search but I am not sure if that depends on those apps.

Inline image 1

Alexandr Dubovikov

unread,
Jun 25, 2015, 8:08:41 AM6/25/15
to homer-...@googlegroups.com

 RIPE has banned you :-)  you can remove these widgets or use different IP whois service ;)

Andrew Pogrebennyk

unread,
Jun 30, 2015, 12:09:10 PM6/30/15
to homer-...@googlegroups.com
Hi,
I have installed Homer 5 on Ubuntu 14.04 host using the INSTALL instructions.
The UI is running in apache with mod_php and rewrite enabled.
The first problem I am facing is I'm unable to login with the admin user and default password.
in browser console I see GET to /api/session returns 403 and then POST to /api/session generates 500 internal server error.
I see no errors in the server logs. I reset the password in homer_configuration DB and also checked the DB credentials in
configuration.php but am still getting "Email and password combination not recognised". What could be problem here?

Alexandr Dubovikov

unread,
Jul 1, 2015, 4:19:54 AM7/1/15
to homer-...@googlegroups.com
Hi Andrew,

please check if AllowOverride is set to ALL, also please check the apache's access and error logs and share it with us.

Wbr,
Alexandr

Andrew Pogrebennyk

unread,
Jul 1, 2015, 4:31:37 PM7/1/15
to homer-...@googlegroups.com
Thanks! I typed this last night without checking the "response" tab,
which contained a hint "driver not found".. I simply missed
apt-get install php5-mysql
That resolved the problem.
> You received this message because you are subscribed to a topic in the
> Google Groups "Homer Capture Server. sipcapture.org" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/homer-discuss/VCrUCp15HGw/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
--
Regards,
Andrew

Alexandr Dubovikov

unread,
Jul 1, 2015, 4:33:21 PM7/1/15
to homer-...@googlegroups.com

ok, super! Thanks for the update!

KK

unread,
Nov 9, 2016, 7:18:20 AM11/9/16
to Homer Capture Server. sipcapture.org
Having the same issue with the Could not resolve promises error in the System Admin panel. When looking at the httpd error logs we see this. Have followed the thread, but the above fixes did not resolve the issue.

[Wed Nov 09 12:16:43.266943 2016] [:error] [pid 16169] [client ] PHP Notice:  Use of undefined constant SYSLOG_ENABLE - assumed 'SYSLOG_ENABLE' in /var/www/html/api/RestApi/Search.php on line 41, referer: https://
[Wed Nov 09 12:16:43.271330 2016] [:error] [pid 16169] [client ] PHP Notice:  Use of undefined constant SYSLOG_ENABLE - assumed 'SYSLOG_ENABLE' in /var/www/html/api/RestApi/Alarm.php on line 39, referer: https://
[Wed Nov 09 12:16:43.277980 2016] [:error] [pid 16169] [client ] PHP Notice:  Use of undefined constant SYSLOG_ENABLE - assumed 'SYSLOG_ENABLE' in /var/www/html/api/RestApi/Admin.php on line 38, referer: https:///

Lorenzo Mangani

unread,
Nov 9, 2016, 7:59:45 AM11/9/16
to homer-...@googlegroups.com
Please try disable PHP notices:

i.e:

error_reporting =  E_COMPILE_ERROR|E_RECOVERABLE_ERROR|E_ERROR|E_CORE_ERROR

or 

error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT & ~E_NOTICE


Kind Regards,

Lorenzo Mangani
Managing Director and Core Dev

QXIP BV - Capture Engineering
Amsterdam, The Netherlands

Mobile: +31 6 4603-2730

Find our more about HOMER, PCAPTURE, CAPTAGENT and all our Services and Solutions at http://qxip.net 

CONFIDENTIALITY NOTICE: This e-mail message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidential or legally privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply e-mail and destroy all copies of this original message. 

--
You received this message because you are subscribed to the Google Groups "Homer Capture Server. sipcapture.org" group.
To unsubscribe from this group and stop receiving emails from it, send an email to homer-discuss+unsubscribe@googlegroups.com.

KK

unread,
Nov 9, 2016, 1:53:44 PM11/9/16
to Homer Capture Server. sipcapture.org
error_reporting = E_ALL & ~E_DEPRECATED & ~E_STRICT

That is the current setting.

KK

unread,
Nov 9, 2016, 1:54:59 PM11/9/16
to Homer Capture Server. sipcapture.org
Still the same result disabling all error reporting.


On Thursday, June 18, 2015 at 9:12:46 AM UTC-5, Lorenzo Mangani wrote:
Fellow Packeteers,

The initial version of the HOMER 5 Setup Guide is now available in the H5 branch:



We're looking for testers and bravehearts to help us validate the process and smoothen it out, if you decide to give things a go your feedback and input is welcome and a multi-platform installer will follow shortly once we reach stable status and switch git master to the new version.

New to Homer 5? Find our recent presentations here: https://www.youtube.com/user/qxipvideo

Questions? Drop us a mail at sup...@sipcapture.org or post on the list as per always

We're looking forward your feedback and hope you'll enjoy our brand new Homer!

Regards,

Lorenzo Mangani

HOMER / PCAPTURE DEV TEAM
Mobile: +31 6 4603-2730

QXIP BV - Capture Engineering
Amsterdam, The Netherlands
Screen Shot 2016-11-09 at 12.54.26 PM.png

Lorenzo Mangani

unread,
Nov 9, 2016, 2:18:57 PM11/9/16
to homer-...@googlegroups.com

Check the browser console for other errors if you are positive the API works for other actions such as search, etc.


Trent Creekmore

unread,
Oct 18, 2017, 9:07:06 PM10/18/17
to Homer Capture Server. sipcapture.org
Is there no guide to setup a Capture Agent account on the server side web interface? I cannot find anything.

Neeraj

unread,
Mar 26, 2019, 2:13:18 AM3/26/19
to Homer Capture Server. sipcapture.org
On Thursday, October 19, 2017 at 6:37:06 AM UTC+5:30, Trent Creekmore wrote:
> Is there no guide to setup a Capture Agent account on the server side web interface? I cannot find anything.
>


SIR CAN ANY ONE ME TO INSTALL HOMER ON CENTOS 6

Neeraj Kumar

unread,
Mar 26, 2019, 2:26:43 AM3/26/19
to Homer Capture Server. sipcapture.org
DEAR ALL SIR,

I AM TRYING TO INSTALL HOMER ON CENTOS 6. Integrated with opensip

--
You received this message because you are subscribed to the Google Groups "Homer Capture Server. sipcapture.org" group.
To unsubscribe from this group and stop receiving emails from it, send an email to homer-discus...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages