Fixes:
| Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/.+msg out:{ <-- HERE (.+)}$/ at bin/ulog_parser.pl line 166.
| Unescaped left brace in regex is illegal here in regex; marked by <-- HERE in m/.+msg out:{ <-- HERE (.+)}$/ at bin/ulog_parser.pl line 187.
This was deprecated already in older perl versions:
| Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/.+msg out:{ <-- HERE (.+)}$/ at bin/ulog_parser.pl line 187.
Starting with perl 5.26 it raises an error
message instead of just a warning message though.
Change-Id: Ic7af73d088ce580b59f6a5e5fc578b723ee7410c
* Original option '-c' in run_tests.sh has been modified
in '-C'
* Add new option '-c' in run_tests.sh to execute a query on MySQL
after each test to extract the generated CDRs.
* Add new option '-c' in get_results.sh to compare the extracted
CDRs with the referece provided in the scenario (cdr_test.yml.tt2).
* Modified option 'mediator.interval' from 10 to 1 during the test
execution in order to speedup the cdrs generation.
* Updated README file with the latest changes.
* Added basic cdr_test for all the scenarios.
Change-Id: Ifffd686003fa5e3a1ac4ba76c502011d7fdb21bb
A new scenario called invite_trusted_anonymous has been added to verify
the new improvement on the allow_trusted kamailio function that should
check the PAI header in case the From is anonymous.
Additionally:
* Introduced a new API interface to allow configuration of trusted
sources. To do that, just add a file named 'trusted.yml' in the
scenario folder.
* Improved the callforward API interface to allow more sophisticated
callforward configuration. Now it is possible to configure all the
types of CF as well sources, bnumbers and timeset.
* Removed from the output the noisy parenthesis '{}' result of
ngcp-kamctl commands
Change-Id: I5ed54d063bcda2d5df7004b9cad671644e021def
- the hop-by-hop ACK is now generated by the LB and not relayed so it does not
have any P-NGCP-Src-* headers and Contact
- remove pause before ACK that was causing retransmission
- REFER method used to be filtered from Allow on messages coming from proxy or
sbc but not those coming from UA. it makes sense to do it everywhere I think
- in invite_retrans the retransmission is now absorbed on lb so there is one
message less in proxy logs and other message numbers are shifted forward by one
Change-Id: If6e05368fe72df7636dff43d18572eff821f16c4
The errors is not due to re-transmission, but packet ordering.
It seems that, in high loaded systems, kamailio proxy takes too
much time to process some packages causing an unexpected order.
Increasing the wait time from 500ms to 600ms give 100ms more to the
proxy to process the packet and send it out in the expected order.
Change-Id: Idccd6c7b95c428cbee519bb6cf779c6a8dfc3e82
* Added start/return ROUTE_EXIT and start/return ROUTE_ENTRY
* Updated caller/callee xavp content validation
* Updated ngcp-kamctl calls to the new rpc format
Change-Id: I166a638a7a1f0ef5102db666180eb83e8b47d6e4
Debian package 'python-xmlrunner' is based on old
unittest-xml-reporting (1.5.0-1) and generated report *.xml file is not
recognized by jenkins jUnit plugin:
[xUnit] [ERROR] - The result file
'/var/lib/jenkins/workspace/kamailio-config-tests-unit-test-docker/results/test_check.xml'
for the metric 'JUnit' is not valid. The result file has been skipped.
So let's install the newest version from pip in docker the same like in Makefile
Change-Id: I7f4272d04bdec5ed1112bb25e751a1c4df95359b
Test script tries to configure the paramenter to off before the test
starts. Since the parameter was moved in TT#27466, the parameter was
actualy not changed.
Change-Id: Ic5affbecc3304d8732c9edfc6243d951a8d7174b
Added option "-r" to run_tests and get_results script to activate
retransmission checks. If option is activated:
* at the end of the each test, json files will be checked and,
if a retransmission is found, the files will be renamed and
renumbered. This will help to detect most of the retransmission cases.
* In case a retransmission is not detected in the previous step,
if a scenario fails, it will be compared with the next json file.
This is an additional help to detect retransmissions.
* In case the transmission is detected and properly healed, no error
code is returned. Otherwise the script will exit 1 as before.
Change-Id: I5eaa7bdb920be869099440c295e0bfd75c2bf107
The script move the kamailio json files from /tmp/cfgtest folder
to the log folder as stated in the README file. This is executed
at the end of each single test.
To be sure that the /tmp/cfgtest is in place, it creates the folder
before start the test and it deletes the folder afterwards.
Change-Id: I54426b4415898165c1c2ba8154d0761a869c85d4
This reverts commit 2d5434e723.
There are cases in which ngcp-panel is restarted and cases in which it
is not restarted, so this change is not valid.
Change-Id: If322af4ef0c54fb7ba437c42f846b794a55554c5
Recent versions of pep8 check for this, while we are modifying
system path to load functions from check.py. Since we need at
least the os and sys modules for modifying system path and being
able to run `from check import ...` let's ignore this problem for
now.
Change-Id: Ia9f3ea2c67c3a720896f1c92031544ac7e688025
- Bump debhelper compatibility version 10.
- Switch from Priority extra to optional.
- Update debian/.gitignore file.
Change-Id: I5a85036f0ceb3034732314d7678d971655683fbb
* addresses an issue with sems where it could not
play 12k rate original no_sh.wav
* sox no_sh.wav --type wav --bits 16 - rate 8k
Change-Id: Ic911d75b08fbea30545081d94945f3fd1823608f
* File::Slurp read_file() is changed to use a buffer.
That enables it to correctly read binary files.
Change-Id: I9d81016913ff3ae6f709ee23560090054c2adff4