summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-10-21Changed version to 1.8.5Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3353 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-21Misc (re #1134): fixed compilation error in python module due to last change ↵Benny Prijono
in session timer field from require_timer to use_timer. Thanks Beau Gunderson for the patch! git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3352 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-21Misc (re #1134): added the ability to add python module build with the top ↵Benny Prijono
level build, by adding pjsip-apps/src/python into EXTRA_DIRS in user.mak. Also changed the make command in python module to just build the module without installing since installing needs root permission git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3351 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-20Misc (re #1134): enable doxygen documentation for ↵Benny Prijono
pj_actievsock_set_iphone_os_bg() git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3350 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-20Fixed #1149 (Crash when holding the call after receiving SDP answer with ↵Benny Prijono
multiple codecs (thanks Cyril GY for the report)): - avoid using pre-created SDP, but rather use timer and create SDP right when the UPDATE/re-INVITE is about to be sent, to avoid the use of stale pool - also fixed bug in the old code when the lock codec feature is not activated after the call is confirmed git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3349 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-18Re #1140, cleaned up the mutex usages in SRTP transport:Nanang Izzuddin
- using mutex in accessing application callback pointers - releasing mutex before calling application callbacks to avoid deadlock - refine the synchronization of backend/libsrtp states git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3348 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-16Fixed #1148:Nanang Izzuddin
- Added check in processing answer, if media offer port is zero, just skip negotiation process. - Added SIPp test scenario. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3347 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-14Misc (re #1134): fixed failed unit tests due to changes in DNS resolver code ↵Benny Prijono
in r3344 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3346 74dad513-b988-da41-8d7b-12977e46ad98
2010-10-14Misc (re #1134): changed dynamic payload type starting value for internal ↵Benny Prijono
codecs to 96 (from 101) as we are running out of constants. Also added more comments to clarify the restriction on the value, i.e. it must be less than 128 (thanks Robbie Hanson for the suggestion) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3345 74dad513-b988-da41-8d7b-12977e46ad98
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