Comments (9)
Your report is appreciated. Please star this repository to motivate its developers! ⭐
from homer-app.
HEPAddr = "8.25.198.130:9060"
HEPTCPAddr = ""
HEPTLSAddr = "0.0.0.0:9060"
HEPWSAddr = "0.0.0.0:3000"
ESAddr = ""
ESDiscovery = true
LokiURL = ""
LokiBulk = 200
LokiTimer = 4
LokiBuffer = 100000
LokiHEPFilter = [1,5,100]
LokiAllowOutOfOrder = false
ForceHEPPayload = []
PromAddr = "0.0.0.0:9096"
PromTargetIP = ""
PromTargetName = ""
DBShema = "homer7"
DBDriver = "postgres"
DBAddr = "localhost:5432"
DBUser = "homer_user"
DBPass = "nope"
DBDataTable = "homer_data"
DBConfTable = "homer_config"
DBBulk = 200
DBTimer = 4
DBBuffer = 400000
DBWorker = 8
DBRotate = true
DBPartLog = "2h"
DBPartSip = "1h"
DBPartQos = "6h"
DBDropDays = 14
DBDropDaysCall = 0
DBDropDaysRegister = 0
DBDropDaysDefault = 0
DBDropOnStart = false
DBUsageProtection = true
DBUsageScheme = "percentage"
DBPercentageUsage = "80%"
DBMaxSize = "30MB"
Dedup = false
DiscardMethod = []
AlegIDs = ["X-CC-TRACE","i=\"?(.*?)(?:\"|;|$)"]
CustomHeader = ["X-8x8-CCCI","X-8x8-CarrierList","X-8x8-BTN","X-GR_PLATFORM_ID","X-GR_TENANT_ID","X-8x8-Tenant","X-8x8-Channel","X-8x8-Original-Caller"]
SIPHeader = []
LogDbg = ""
LogLvl = "info"
LogStd = false
LogSys = false
Config = "./heplify-server.toml"
ConfigHTTPAddr = ""
# Examples:
# -------------------------------------
# ESAddr = "http://127.0.0.1:9200"
# DBShema = "homer7"
# DBDriver = "postgres"
# LokiURL = "http://localhost:3100/api/prom/push"
# LokiHEPFilter = [1,5,100]
# PromAddr = "0.0.0.0:8899"
# PromTargetIP = "10.1.2.111,10.1.2.4,10.1.2.5,10.1.2.6,10.12.44.222"
# PromTargetName = "sbc_access,sbc_core,kamailio,asterisk,pstn_gateway"
# AlegIDs = ["X-CID","P-Charging-Vector,icid-value=\"?(.*?)(?:\"|;|$)","X-BroadWorks-Correlation-Info"]
# DiscardMethod = ["OPTIONS","NOTIFY"]
# CustomHeader = ["X-CustomerIP","X-Billing"]
# SIPHeader = ["callid","callid_aleg","method","ruri_user","ruri_domain","from_user","from_domain","from_tag","to_user","to_domain","to_tag","via","contact_user"]
# LogDbg = "hep,sql,loki"
# LogLvl = "warning"
# ConfigHTTPAddr = "0.0.0.0:9876"
# -------------------------------------
# To hot reload PromTargetIP and PromTargetName run:
# killall -HUP heplify-server
from homer-app.
I've realized that this line was wrong:
AlegIDs = ["X-CC-TRACE","i=\"?(.*?)(?:\"|;|$)"]
It is now:
AlegIDs = ["X-CC-TRACE,i=\"?(.*?)(?:\"|;|$)"]
In the image below, you can see that the A-Leg and B-Leg managed to populate the value I wanted to extract as the correlation ID, but they didn't correlate. I'm thinking there was > 5 seconds b/t the call legs, is this a timing issue? I must be close right?
from homer-app.
I've been poking at it, but this is as far as I've been able to get. Here's the correlation mapping file as well. Talk to you in the morning! Thanks so much, I hope this helps.
Correlation mapping SIP call 2024-05-01 21_07_47.json
from homer-app.
Good day!
I found some more of your writings in the wiki on github, in particular the parts about correlating with the correlation_id. So I've added some changes to the following two files attached to this comment.
The thing is that it does now correlate the A and B legs; however, only the INVITEs from the B leg is shown (see the screenshot), presumably as the remaining messages in the dialog don't have that particular header, just the INVITE has it. I think I read about something like this last night. If you guys have a tip, I could sure use it.
Thanks,
Jim
Fields mapping SIP call 2024-05-02 06_04_21.json
Correlation mapping SIP call 2024-05-02 06_04_14.json
from homer-app.
@jagnetta Have you followed the this Wiki page to configure two-way correlation?
from homer-app.
Yes. That's the page I followed. I have correlation of the INVITES, but it's leaving out the rest of the messages in the dialog. @hamidrhashmi
from homer-app.
@hamidrhashmi here is an example of the issue I'm describing in my latest comment from yesterday.
This page also describes the issue, but it looks like there may be an answer in this post.
from homer-app.
The answer was in a post on this page:
#278
I needed to add "append_sid": true to the correlation_id stanza in the mapping rules. it works perfectly now.
from homer-app.
Related Issues (20)
- Database logs can't be switched off HOT 8
- Authentication to Grafana in widget HOT 7
- How To search and visualize LOGs from PGSQL (missing HEP Logs subtab)? HOT 17
- SQL identifiers and string literals aren't escaped in migration.go HOT 3
- Homer-App duplicate LOG messages in Ladder Diagram HOT 2
- Flow Default View - heading character limit HOT 1
- Make character limit configurable in Flow tab. HOT 1
- relase tagging HOT 3
- Question: Is there an homer-UNinstall.sh script? HOT 3
- Version 7.7 -- Widget result only 200 item displayed HOT 2
- Not able to see all details of a call in a single trace HOT 7
- Question about Field Mapping.json file? HOT 6
- Documentation bug: invalid "-update-ui-user" option HOT 1
- Building from source tagged release 1.4.59 build version 1.1.7 HOT 3
- Can't turn on SSL for PGSQL from config during setup HOT 8
- Difficulties with dashboards HOT 6
- How to provide a consistent Home dashboard for new Homer Users HOT 14
- How to configured oauth2 (or sso or whatever) with Okta SSO HOT 3
- OAuth2 with custom provider HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from homer-app.