-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
RTCP Information not being displayed #54
Comments
Thanks for the report on this one, there's a couple things here as a todo... Firstly... RTCP info hasn't been verified on homer-docker (at least by me), so, it can use a full-out double check on that, and then Travis CI tests to verify that it's there. Regarding the timezone, can you try changing the value in the |
Thanks @dougbtv This is what I see in the database for call id "[email protected]:5060". This would be considered proper RTCP data, right?
I modified the homer.env to be "America/New_York" did a docker-compose down, then a docker-compose build (is this step necessary?), and finally docker-compose up. The time didn't change. I also modified the .travis.yml file too. I noticed it had timezone settings as well. Neither change seemed to make a difference. I'm not very familiar with Travis CI. If there is something I should read to do a Travis CI test please let me know. |
Thanks for the extra info. No action necessary on your part, for making the new travis CI tests (unless you want to contribute, which would be much appreciated as always). I'm going to open a new issue for the timezone, I'll reference this issue. |
I'm starting to wonder if the timezone might be the reason the RTCP stats aren't displayed. Is there an easy way to confirm this or is that not possibly the case? |
That's.... actually a good idea to check. Exec into the mysql container,
and look for the rtcp tables and see if there's any data there, way worth a
look.
…On Wed, Oct 18, 2017 at 8:05 AM arainero ***@***.***> wrote:
I'm starting to wonder if the timezone might be the reason the RTCP stats
aren't displayed. Is there an easy way to confirm this or is that not
possibly the case?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<https://github.com/sipcapture/homer-docker/issues/54#issuecomment-337568790>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AFN_vTx8x9lp6HNW9D4XubSCtPSAf_LTks5stel-gaJpZM4P6uMa>
.
|
I see that the date column has a different time from the "ntp_timestamp_sec" entry. Would this do it? You can see the differences I'm talking about from my previous post. |
@lmangani do you have any thoughts on this? |
I still need to review the exact details, but time is extracted from the packets so that's most likely what was sent. Mind internally to HOMER everything is and should be UTC in order for things to correlate correctly, multiple timezones will confuse the pairing or completely impair it. |
@lmangani Ok, I see what you mean about everything being in UTC for consistency. That makes me believe it may not be a time issue after all then. Is there anything you want me to provide to you to help narrow this down? |
I can't comment on the TZ stuff because I run everything in UTC. However, I do have RTCP stats working in homer-docker. What I had to do was edit the preferences.php on the webapp to read:
I got some info here: Looks like the some of the default config in the homer-docker capture stuff uses a single table to handle all the rtcp data instead of a rotated table like the other information. This configuration tells the webapp to use a single table to find that info. Worked like a charm for me. |
@sudermanjr well caught! This is indeed the issue and needs to be reflected in defaults. |
Hey @lmangani, I am going to revisit this now. I am inside the homer-webapp container and I see that inside homer-api/api there is the following:
Do I need to rename preferences_example.php to preferences.php or does it utilize preferences_example.php as default? Also, what is the best way to modify files within a container? I am not the most experienced with Docker and was wondering if I could just edit it or if there was a process involved? Thank you. |
I think I was going about this incorrectly. Instead of modifying the files within the container I realized that there was a preferences.php file in homer-docker/webapp. I added:
to the prefercenes.php file and I still can't get RTCP stats to show. This is with a fresh docker install. @sudermanjr, did you have to do anything else for it to work? I also tried:
|
I just got it to work! I didn't know I had to do a docker-compose build after modifying the files (it makes sense now). I thought that after taking the container down and modifying the environment file in there it would work fine, but I was incorrect. Thank you all for the help with this. |
I'll change the defaults to avoid this in the future! Images are being rebuilt, if you feel like trying to confirm it now works without modification, that's super super welcome! EDIT: new default is:
|
I did not try your build yet, but I did test "define('RTCP_TABLE_PARTITION', 1);" and "define('RTCP_TABLE_PARTITION', 0);" and only "define('RTCP_TABLE_PARTITION', 0);" works for me. If it is set to 1 the data does not show. (this was after doing a docker-compose build). What does the 0/1 do for the RTCP table partition? I tried looking around for an answer and it wasn't clear. Would changing it to a value of "1" and looking up data that was recorded when it was "0" make a difference? |
Dear Team, I have verified that RTCP Stats to work for current homer-docker on multi-containers installation the
This is needed because all the RTCP the data is saved to the The rotating tables are created successfully in the DB though.
Thanks Vasilios Tzanoudakis |
https://github.com/sipcapture/homer-app/releases/tag/1.1.32 |
Hello,
I am currently using the latest homer-docker version and I am having difficulty getting RTCP information displayed under QoS reports.
When I check the database I see there is JSON information there. I looked at the apache logs and I don't see anything unusual there either. I don't know what config files or logs to post that would be helpful. So please, let me know and I will provide them.
Also, is there a way to set a timezone for the docker images? They currently don't use the host timezone. Everything appears to be set in "Etc/UTC". I tried changing it, but nothing appears to stick.
The text was updated successfully, but these errors were encountered: