testsuite
testsuite copied to clipboard
pjsip: Add tests for Advanced Codec Negotiation (ACN)
REMINDER: If this PR applies to other branches, please add a comment with the appropriate "cherry-pick-to" headers as per the Create a Pull Request process.
If you don't want it cherry-picked, please add a comment stating "No cherry-picks required" so we don't keep asking.
If, after adding "cherry-pick-to" comments, you change your mind, please edit the comment to DELETE the header lines and add "No cherry-picks required".
cherry-pick-to: 21 cherry-pick-to: 20 cherry-pick-to: 18
This PR must use the corresponding asterisk PR which implements the codec negotiation:
- https://github.com/asterisk/asterisk/pull/285
In this PR, 10 existing tests were adopted to reflect the new behavior. For those tests, pjsip.conf had to be adopted to use the new ACN settings. The default settings prefer the pending stream while these tests expect the configured settings to be preferred.