summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-10-14Misc (re #1134): fixed failure in resolving DNS A resolution if the answer ↵Benny Prijono
contains more than one CNAME redirection before an A record is found (thanks Régis Montoya for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3344 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-13Misc (re #1134): added the missing ARCH environment variable in CPP command ↵Benny Prijono
in configure-iphone script (thanks MrGecko for the patch) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3343 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-13Fixed #1147 (Bug in parsing multipart message bodies (thanks Johan Lantz for ↵Benny Prijono
the report)): leave the quote in parameter values and let the multipart code handle this instead git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3342 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-13Misc (Re #1134): do not allow subscription state callback to be called with ↵Benny Prijono
NULL event parameter as application may not expect this git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3341 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-13Fixed #1147: Bug in parsing multipart message bodies (thanks Johan Lantz for ↵Benny Prijono
the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3340 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-12Closed #1144: New presence callback to report subscription state (thanks ↵Benny Prijono
Johan Lantz for the suggestion): - added on_buddy_evsub_state() callback - added sample implementation in pjsua_app.c git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3339 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-12Re #1146: minor fix in test file commentsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3338 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-12Closed #1146: support for multipart message bodies in incoming NOTIFY requestsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3337 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-11Fix #1145: API to enable/disable support for iOS BG feature during runtimeLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3336 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-10Misc (re #1134): Fixed memory leak after getting audio route capability in ↵Liong Sauw Ming
coreaudio_dev git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3335 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-05Fix #1143:Nanang Izzuddin
- Fixed no audio bug when pjsua with SRTP optional-with-duplicated-offer calls pjsua with SRTP disabled, by updating active media index after SDP negotiation done. - Fixed bug in generating SDP, pjsua_media_channel_create_sdp(), by making sure all media in the SDP candidate are aligned with current active SDP before calling pjmedia_transport_encode_sdp(). - Fixed bug in modifying SDP for call hold, the media index to be modified was hardcoded to 0, should be active media index. - Added python tests for calls with SRTP optional-with-duplicated-offer. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3334 74dad513-b988-da41-8d7b-12977e46ad98
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