summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-10-04Another fix for authentication in HTTP client (re #1136):Benny Prijono
- missing opaque parameter in the response - also replaced "\n" with "\r\n" git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3333 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-01Re #1136 (Basic and digest authentication in the HTTP client): fixed error ↵Benny Prijono
in parsing URL if the path contains at ("@") character git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3332 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-01Misc (re #1134): added Supported header in outgoing SUBSCRIBE request. ↵Benny Prijono
Although RFC 3265 says it is only optional, some downstream RFC may bring this requirement to SHOULD strength - e.g. RFC 5373 (thanks Johan Lantz for the suggestion) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3331 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-01Closed #1142 (Account based configuration to specify if "c=0.0.0.0" method ↵Benny Prijono
should be used when putting call on hold): - use PJSUA_CALL_HOLD_TYPE_DEFAULT to specify default global call hold type - use pjsua_acc_config.call_hold_type to specify call hold type for the account - call hold type can also be set on per call basis by changing the call_hold_type in the call structure (requires inclusion of <pjsua-lib/pjsua_internal.h> git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3330 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-01Closed #1141: Compile and run-time setting to allow printing of port number ↵Benny Prijono
in URI in To and From header (thanks Marcus Froeschl for the suggestion) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3329 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-30Closed #1121 (Deadlock in transaction code when hanging up calls): fixed the ↵Benny Prijono
race condition when setting up transaction timeout git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3328 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-30Re #1134 (misc fixes): fixed various doxygen warnings, as well as added ↵Benny Prijono
overview section in pjmedia documentation git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3327 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-28Close #1137: added field reg_hdr_list into pjsua_acc_config to specify ↵Nanang Izzuddin
custom headers for REGISTER requests of the account. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3326 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-28Fix #1135: added RTP padding checks and RTP payload length adjustment ↵Nanang Izzuddin
according to padding length. Payload padding in outgoing RTP investigation results: - the RTP does not specify RTP payload alignment. - most codecs also do not specify RTP payload alignment, usually only octet-alignment is specified and this seems to be done. - SRTP, RFC3711 states: - None of the pre-defined SRTP encryption transforms uses any padding; for these, the RTP and SRTP payload sizes match exactly. - Message authentication codes define their own padding. - Encryption transforms that use padding are vulnerable to subtle attacks, especially when message authentication is not used. So, currently payload padding in outgoing RTP is not necessary. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3325 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-28Fixed #1131: Callee disconnects call without sending BYE if ACK is not ↵Benny Prijono
received (thanks Montevecchi Massimiliano and Klaus Darilion for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3324 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-28Closed #1139 (Support for tel: URI in PJSUA-LIB):Benny Prijono
- added new PJSUA API: pjsua_verify_url() which can be used for tel: URI - modified and tested according to spec - added new PJSIP error code, PJSIP_ENOROUTESET, to indicate that route set is needed to send to tel: URI - added couple of unit tests (we can't cover the whole tel: URI scenario yet) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3323 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-28Close #1138:Nanang Izzuddin
- Added new pjsua registration status callback on_reg_state2(), it includes the whole info from the lower layer registration callback pjsip_regc_cb(). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3322 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-27Implemented and closed #1136: added HTTP authentication supportBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3321 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-24Misc (re #1134): fixed wrong OpenBSD thread priority max value (thanks David ↵Benny Prijono
Coppa for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3320 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-23Misc (re #1134): fixed error in Makefile target for generating doxygen ↵Benny Prijono
documentation when WWWDIR is specified git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3319 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-22Misc (re #1134): fixed default value of pjsua app param "--snd-auto-close" ↵Nanang Izzuddin
in pjsua app help message (was -1, should be 1, see r2493). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3318 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-22Re #1134: for iOS4, remove unnecessary wrapping of sockets during creation.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3317 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-22Fixed #1130Liong Sauw Ming
Since the problem may not be iOS4 specific, a general approach is adopted to fix the problem. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3316 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-22Close #1133: added processing to remote SDP attribute "ptime".Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3315 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-22Fixed #1132: Assertion when (re)starting PJLIB on different threadBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3314 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-20Closed #1129:Nanang Izzuddin
- Added run-time configuration for activating/deactivating stream keep-alive (non-codec-VAD mechanism), also added this config to account settings. - Fixed bug wrong session info pointer "si" in pjsua_media_channel_update() when call audio index is not zero. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3313 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-15Closed #1128: ipjsua - add support for iPadLiong Sauw Ming
Add support for iPad as one universal application. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3312 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-15Fix #1121 (Deadlock in transaction code when hanging up calls (thanks Dennis ↵Benny Prijono
Struble for the report)) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3311 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-09Changed version to 1.8-trunkPerry Ismangil
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3310 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-08Changed version to 1.8Perry Ismangil
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3308 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-08Re #1120: Fixed session timer python test scripts, pjsua app param ↵Nanang Izzuddin
--use-timer is requiring param value now. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3307 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-07Misc (re #1110):Nanang Izzuddin
- Added sound device echo test into pjsystest. - Renamed pjsystest log file, from PJSYSTEST.LOG to PJSYSTEST.TXT, as commonly built-in text editors recognize TXT ext more than LOG ext. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3306 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-07Re #1120:Nanang Izzuddin
- Added enum pjsua_sip_timer_use for session timer usage types, containing: inactive, optional, required, always - Replaced require_timer (boolean) with above enum in global and account config setting. - Updated pjsua app --use-timer option accordingly. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3305 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-07Fixed #1117: Configurable PJSUA-LIB lock timeoutLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3304 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-07Fixed #1118: Add last error code to PJSUA-LIB account info structureLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3303 74dad513-b988-da41-8d7b-12977e46ad98
2010-09-06Fixed ticket:1119: Crash if sending UPDATE fails in session timer module ↵Benny Prijono
because network connectivity is lost (thanks Robbie Hanson for the fix!) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3302 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-31Fixed #1116 (Bug in regenerating elements of some headers when incoming ↵Benny Prijono
request contains escaped characters (thanks Ferguen Adel for the report)): - Fixed the printing part of Via "branch" parameter and To/From "tag" parameter, since these parameters are important for transaction/dialog identification - Note that if the escaping sequence describes a character that otherwise is a valid token, that token would still be printed unescaped, hence the problem would still persist. But sender really shouldn't send this kind of escaped sequence as it really is asking for trouble. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3301 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-27More on automated tests (re ticket:1111): work on Visual Studio target, and ↵Benny Prijono
added ability to disable tests in configure.py git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3300 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-27Closed ticket #1107: iOS4 background featureLiong Sauw Ming
* pjlib: * add support for activesock TCP to work in background mode. * add feature in ioqueue to recreate closed UDP sockets. * pjsip-apps: * ipjsua: add support for iPhone OS 4 background mode * ipjsystest: add support for iPhone OS 4 background mode git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3299 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-27Fixed #1108: deadlock in DNS resolver (thanks Bogdan Krakowski for the report)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3298 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-26More on automated tests (re ticket:1111): added support for multiple ↵Benny Prijono
Nokia/Symbian SDK installed in one system git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3297 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-25Misc (re #1110): undo accidental checkin of run_continuous.py in previous commitBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3296 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-25Misc (re #1110): force SVN eol-style to LF for files which are to be ↵Benny Prijono
manipulated by the configure script, or otherwise the configure script on msys (mingw) will fail to update them git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3295 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-25re ticket:1111 (more on automated test): added symbian target in prepare.xml@Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3294 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-25re #1111 (more on automated tests): added prepare.xml scenario to rebuild ↵Benny Prijono
the test scripts before performing the tests to make sure that they are up to date git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3293 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-24Fix #1114:Nanang Izzuddin
- Fixed bytes_per_frame calculation in stream port. - Fixed sample streamutil.c to use codec info/param for codec bandwidth calculation (was using bytes_per_frame info of stream port). - Doc fix for bytes_per_frame field in pjmedia_port_info. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3292 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-23Re #1111 (more on automated tests): another fix on run_continuous.pyBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3291 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-23Re #1111 (more on automate test): small fix on the delay in run_continuous.pyBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3290 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-23re #1111 (more on automated tests): added delay option in run_continuous.py ↵Benny Prijono
to prevent more than one scripts from running simultaneously on a single host git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3289 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-18Fix #1112: fixed IPP G.729 codec to update the application regarding VAD ↵Nanang Izzuddin
status, disabled/off, after receiving 'fmtp:18 annexb=no' in the SDP. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3288 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-18Automated test (re #1111): fixed test scenario ↵Nanang Izzuddin
scripts-recvfrom/301_timer_good_retry_after_422.py to use separate transaction for ACK (pattern matching was done to ACK, instead of INVITE). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3287 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-18Automated test (re #1111): decrease Speex PESQ threshold as it is not always ↵Benny Prijono
able to achieve that, possibly depending on the host activity git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3286 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-18Automated test (re #1111): workaround for failed Speex PESQ test caused by ↵Benny Prijono
progressive discard in the jitter buffer: disable the VAD for the Speex tests git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3285 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-18More automated test (re #1111): added simple recvfrom testBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3284 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-18Misc (re #1110): fixed bug in the python unit test that caused tests to run ↵Benny Prijono
for much longer than needed because it unnecessarily waits for incoming message until timeout occurs git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3283 74dad513-b988-da41-8d7b-12977e46ad98