* Support Python3 for github CI
* Fix runtime error due to changes in telnetlib for python3
This will also remove support for python2
* Fix runtime error due to changes in socket lib
* Fix runtime error
* Fix error
* Replace imp to importlib to fix warning
* Fix some error
- On windows, error EACCESS when binding/opening socket
- Fix UnicodeEncodeError/UnicodeDecodeError
* Fix SDP m= line parser, verify port & port count are numeric & add overflow check.
* Change SDP media parser to parse media type as token (was until space).
* Handle the case of missing c= line (allowed when port is zero) in sipecho.
* Check & update pj_strtoul() usages in SDP
* Add the problematic SDP to fuzzing seed corpus.
* Improve robustness of sample apps. Fixing crash in aviplay
* Changes in documentation
* Add first pjsua2 hello world sample (from PJSUA2 guide)
* Fix doxygen documentation for docs.pjsip.org v2
* Add make clean-doc target
* Replace Trac ticket URL with GitHub issues URL
* Remove pjsip-book because the correct one is in pjproject_docs
* Suppressed various compilation warnings
* Fixed CodeQL warning
* Fixed build warning on Android and Linux
* Fix build warning on Visual Studio
* Update target Android SDK version to 29 (for pjsua2 & app), to avoid gradle error: 'Google Play requires that apps target API level 29 or higher'.
* Add support for Camera2 API to ipjsua android app.
* Fix assertion on Win32 app (MSVC2005) because ICE transport info size is 160 bytes while the allocated buffer is just 144 bytes.
* Enable python unit test on windows for github actions.
* Avoid assertion in pjsua test caused by double calling of pjsua_conf_remove_port()
- Retry running pjsua upon failure (due to address-in-use error, happened quite frequently on MacOS in GitHub CI).
- Minor fixes: missing 'self', add slight delay after closing socket to reduce possibility of address-in-use error, make sure sip port is not equal to telnet port.
* pjsua-test:
- Update pjsua-test module call: wait ICE update before checking media
- Attempt to fix all failed tests by sipp module: changed SIPp port from 6000 to 50070 (port used by recvfrom module)
- Update call module: confirm codec priority after change, fix DTLS-SRTP expect may race with state CONFIRMED
- Add timeout check in telnet-ing to pjsua
- ICE nego may race with call state CONFIRMED, so mod call better just sleep instead of expecting 'ICE nego success'.
* Other unit tests:
- Print stack trace on crash on Linux and DarwinOS via SIGSEGV signal handler.
- Update resolver test: print log on callback error, replace assertion checks with error return, fix comments, sleep periods, fix received packet count may be > 1 if server ignore the request (for example when the test machine experiencing high CPU load).
- Update ccpp.yml: add -g for jobs with unit-tests.
- More lenient on tsx retransmission count check in pjsip-test.
- Update tsx_uac/s_test.c: allow retransmission timing diff from 150 to 500ms to accommodate possible CPU spike on some test machines.
* Update sipp script uas-forked-200.xml to avoid problem due to unpredictable response order
* Fix uac-reinvite-bad-via-branch.xml scenario when pjsua answer is 200
* Update pjsua test to use pjsua telnet CLI, configurable via `DEFAULT_TELNET` setting in `inc_cfg.py`, set it to `False` to return to the old behavior using console prompt+stdin/stdout.
* Update pjsua test indentation: replace tab->space.