Closed 00Asgaroth00 closed 6 years ago
Could you submit a PR with the change for review?
OK, I'll try to create a PR, just watching some tutorials on how to do this :)
Great chance to learn :+1: It's easier than it sounds and for a case such as yours, can be done entirely from the Web UI of Github.
1) Just go to the repository of interest, and click the "fork" button at the top right of the screen - this will create a copy in your repository (username/project)
2) At this point, locate the file you want to modify from the UI, and apply the required change.
3) This change will only exist in your Project fork at this stage. To "propose" it to the original repository for review and acceptance, you will create a PR or PULL REQUEST from your repository or the original.
That's it! I do not have a specific guide ready, but this link seems comprehensive enough: https://help.github.com/articles/creating-a-pull-request-from-a-fork/
Thanks!
Thanks for the tips, I just opened a pull request against sipcapture/homer-config, hopefully it looks okay.
Please comment to reopen if needed. Thanks for your report!
Hi,
While testing RTCP-XR reports I noticed that the callid regex in the kamailio routing logic was not extracting the callid from the message body, and therefor inserting the entire message body into the correlation_id column in the report_capture table.
The line that has the issue is:
To correct this, the "-" character needs to be escaped in the character class block (between the square brackets), it also, incidentally, needs to be placed at the end of the character class block.
I added the option of zero or more spaces between the "CallID:" and its value, as the Pollycom phones don't have spaces between the "header" and "value" fields, where the Panasonic phones do have a space.
I modified it as follows:
As an example, before the modification above, the data for correlation_id would be as follows:
After the modification:
The modification was made on the kamailio 4.x configuration file (line 271). Kamailio version in use is from the installer script for centos 7 (kamailio version 4.4.5).