A dummy function to ignore the fact
whether RTP packet(s) received or not.
Useful in a combination with rcv_no().
Change-Id: Iaeea881e0a3590808dcc681495095178cb470b94
Support the recvfrom() function. This requires also returning to address
(not just the port) from the tester's rcv() function to be useful, which
in turn requires updating a bunch of tests.
Change-Id: I3c0bcab9b744f2c234662399199abc538876c4fa
New helper function to create a new call without closing previously
opened ports.
Also make it possible to override the automatically inserted call ID in
methods.
Change-Id: Ie9133f78bc7bd5ff4e191966ef26187da02e40ff
Make it possible to run custom code between sending out a command and
expecting and receiving the answer.
Change-Id: I11359b144a27c58de8ec2b136bd6715c7d1b9cce
Don't wait forever for a response from the daemon. Prevents tests
getting stuck in case of broken code.
Change-Id: I83dde4c2d626928fdfb0486e7fb4780e239c83e9
The order between receiving the STUN success and the triggered check is
not guaranteed, therefore resolve possible race condition by expecting
the two packets in either order.
Change-Id: Ibef9907cd4116bc5f3b7d17d936007c8efcabd3b
To be able to ease diagnosing problems in the functional tests, we
should not remove the log files storing stdout and stderr, otherwise
debugging issue from a failed or crashing daemon turn to be rather
brittle.
Change-Id: Id285049da7ad030ef7b041f7e2dde86e97ef6487
Initially created branches don't have a tag associated with them, so
they don't appear in `other_tags`. We need to keep track of which
branches were created from a single from-tag through their via-branch
values so we know when all branches have been deleted.
closes#1037
Change-Id: I4c6ce602b99a9104de98098cd06ca399eb28e1b2
Certain versions of spandsp return a slightly different volume for the
PCM DTMF events (0x10 instead of 0x0f) which breaks the tests.
fixes#950
Change-Id: I9c92bcc5a91214d3c3e6f9de6cdd2faecba2d9db
The code is correct, but perlcritic seems to have problems parsing it
and confuses it with a statement separated with a comma.
Change-Id: I76cd82699cffa2b1a9d938c53172f02d09f47583
These are methods and do not really conflict with the perl builtins
with the same name outside of this package.
Change-Id: If7405ebc6a9e862433e576743ae6c32d7d6ec51e
Using sort on a scalar context has undefined behavior. Assign the result
of the sort into an array and return that.
Change-Id: I180ba1dfcafe6e49132a38bd01be715718a4dff1