> bin/check.py:113
> /code/bin/check.py:113: PytestCollectionWarning: cannot collect test class 'Test' because it has a __init__ constructor (from: tests/test_check.py)
> class Test:
>
>-- Docs: https://docs.pytest.org/en/stable/warnings.html
Change-Id: I6917ba773203abb02d3989fa411a8c8ee4363c93
Since the 'proxy.skip_cf_loop' is disabled by default,
but we would like to use that config.yml option in our tests,
it's required to enable it, for all types of scenarios.
Change-Id: I694a5699f6e921c7f76219b2edf6d530990ac3da
Adjusted invite_redirect and invice_redirect_tel_uri
kct based on the new rework done in review 65078 (MT55858)
Change-Id: I5aef6a26032f48d77325227160e150817000728d
SDP description check has been removed for invite_voicebox scenario
because not important and a upgrade of asterisk may lead to
kct failing.
Change-Id: Iac15edc08ec534a177658106b24f2d171474448b
We have to actualize the regex match for History-Info headers
after the following commit was applied in templates:
f47f6d590e49e75e4746090485848662ce118933
Change-Id: I9ceb83804d04d08b397c6a0a3c2db623e0df3507
> root@sp1:/usr/local/devel/kamailio-config-tests# ./bin/check.py -h
> Traceback (most recent call last):
> File "/usr/local/devel/kamailio-config-tests/./bin/check.py", line 364, in <module>
> args = parser.parse_args()
> File "/usr/lib/python3.9/argparse.py", line 1830, in parse_args
> args, argv = self.parse_known_args(args, namespace)
> File "/usr/lib/python3.9/argparse.py", line 1863, in parse_known_args
> namespace, args = self._parse_known_args(args, namespace)
> File "/usr/lib/python3.9/argparse.py", line 2072, in _parse_known_args
> start_index = consume_optional(start_index)
> File "/usr/lib/python3.9/argparse.py", line 2012, in consume_optional
> take_action(action, args, option_string)
> File "/usr/lib/python3.9/argparse.py", line 1940, in take_action
> action(self, namespace, argument_values, option_string)
> File "/usr/lib/python3.9/argparse.py", line 1104, in __call__
> parser.print_help()
> File "/usr/lib/python3.9/argparse.py", line 2560, in print_help
> self._print_message(self.format_help(), file)
> File "/usr/lib/python3.9/argparse.py", line 2544, in format_help
> return formatter.format_help()
> File "/usr/lib/python3.9/argparse.py", line 295, in format_help
> help = self._root_section.format_help()
> File "/usr/lib/python3.9/argparse.py", line 226, in format_help
> item_help = join([func(*args) for func, args in self.items])
> File "/usr/lib/python3.9/argparse.py", line 226, in <listcomp>
> item_help = join([func(*args) for func, args in self.items])
> File "/usr/lib/python3.9/argparse.py", line 333, in _format_usage
> action_usage = format(optionals + positionals, groups)
> File "/usr/lib/python3.9/argparse.py", line 408, in _format_actions_usage
> start = actions.index(group._group_actions[0])
> IndexError: list index out of range
Change-Id: I6303ab109074589e3483256eae33f43dc7c75c19
* bin/create_subscribers.pl: add customers field
so we can list them
- spaces in Content-Length
- remove XML content
- sip-if-match value is dynamic
- detect ids in more internal headers
- customers id can now be detected
Change-Id: Ib75c48a8954d848add95dd50d77cc6ffc94df210
We have to actualize the regex match for History-Info headers
of the responder01 after the following commit was applied in templates:
f47f6d590e49e75e4746090485848662ce118933
Change-Id: I99ad98ec6ea142bce566187e262ffd79c97750c4
We split the tests but we didn't added the new files in Makefile
* Add missing fixture file, scenarios_ids.yml are in .gitignore
so we need to use "git add -f" to force the inclusion
Change-Id: Ib4ee5e887f9bbefe9c100b2164aa161c35700fd6
Fix kct incoming_hih scenario to check privacy=history
instead of privacy=id as intruduced in commit
c82f9074ec537ea34f37d9ece2453f32732ff639
Change-Id: I9966665c64baef6276cb16789bcd6917ae580c95
> Thu Aug 11 11:12:14 CEST 2022 - Setting config debug off
> ./set_config.sh: line 128: ./bin/config_debug.pl: No such file or directory
Change-Id: Ie53102256ef331318ef05b2bf3c78220b84208df
incoming_hih scenario is sending this header inside file
scenarios/incoming_hih/sipp_scenario00.xml
This means, the caller do not wish to rely his
history info information to the callee.
This has been implemented with commit
743e05b642adbd05c935ad794b2e60ee91fbb222.
Thanks to this, KCT now must check that the
History Info header is anonymized without
showing the real caller.
Change-Id: I92481e31dcc070c43380ef19721bb5ed5afe7bf3
We need to actualize scenarios when checking usage fmtp description in SDP bodies,
due to late changes in the RTPEngine behavior
(when processing offer/answer with/without fmtp for the 101th event).
Change-Id: I47f97cba69345fb0fdce777831e7f23cc37a79b3
Now KCT can read from the registration section of the scenario.yml file the value 'ua'.
If this is set (and registration is set to yes), KCT will add in the registration xml files
meant for SIPP the header 'User Agent' with the value specified.
To demonstrate how it works the scenario invite_callforward has also been extended and
now it sends registrations with User-Agent: KCT SIPP, additionally it enables feature ua_reject_missing
to check if this header is present and also tests if in the sems loop the ua_reject_missing
is ignored (whitelisting sems).
Change-Id: I709a0e0c3532b8e5246834dc3566b26e95b5f3be
* create test for blind transfer when option immediat release is set to
"no" (tests are put in disable folder)
Change-Id: Idf1500f2d5aef3d889800efd2e83f2ac6d42b283
New scenario to test CFT in combination with a parallel HG with 2 members.
The 2 members will keep rining until timeout is reached, then kamailio proxy
will initiate another call toward a new callee.
Change-Id: Id5db93f6068dac27e98bfc202a26b4bd2cf7f417