summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-06-20Fixed #1086 (New option to update the Contact URI in a single REGISTER ↵Benny Prijono
request): added contact_rewrite_method account config to control this. Default is to use the new mechanism, i.e. the single REGISTER method. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3213 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-19Fixed #1077: In ICE stream transport (ice_strans.c), automaticaly retry ↵Benny Prijono
allocation once if TURN allocation fails. If this allocation retry also fails, notify the TURN user via on_ice_complete() callback. Details: - added new PJ_ICE_STRANS_OP_KEEP_ALIVE operation - also added new on_ice_transport_error() pjsua callback to allow application to react to the failure. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3212 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-16Fix #1045:Nanang Izzuddin
- Fixed invite module to reset SDP negotiator state after incomplete SDP offer-answer in re-INVITE/UPDATE. - Added some SIPp test scenarios. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3208 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-16Misc (re #1068): fixed possible reading string beyond the buffer in ↵Benny Prijono
pj_strltrim() if the string only contains whitespaces (thanks Jones Desougi for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3207 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-15Fix #476:Nanang Izzuddin
- Added lock codec feature to make sure that only one codec is active, by updating media session using UPDATE (if remote supports it) or re-INVITE. - Added few SIPp test scenarios. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3206 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-15Misc fixes (re #1068): fixed aconfigure to handle the case where ifaddrs.h ↵Benny Prijono
is present but the functions are not available, as reported to happen with uClibc (thanks Jones Desougi for the patch) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3205 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-15Misc (Re #1068): initialize rtpmap string with NULL as it generates ↵Benny Prijono
uninitialized memory ptr read under Valgrind. Thanks Jones Desougi for the patch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3204 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-15Re #1068 (Misc Fixes): changed timeout timer value initialization in ↵Benny Prijono
sip_transaction.c to copy the value from TD timer value instead of calculating it directly from T1. This would enable customization of the timeout value by changing PJSIP_TD_TIMEOUT macro. Previously the only way to modify this is to change the T1 value, which is undesireable. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3203 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-11Close #1072:Nanang Izzuddin
- Added API pjmedia_codec_g722_set_pcm_shift() to enable configurable level-adjusment setting. - Also added macro PJMEDIA_G722_DEFAULT_PCM_SHIFT (default value is 2) to accomplish 14-16 bit PCM conversion for G722 input/output. - Added a feature in G722 to stop level-adjusment/PCM-shifting when clipping occured, compile-time configurable via PJMEDIA_G722_STOP_PCM_SHIFT_ON_CLIPPING macro. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3202 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-11Fix #1093:Nanang Izzuddin
- Fixed memory leak of CVoIPFormatIntfc instances in S60 VAS. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3201 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-09Re #1089:Nanang Izzuddin
- Fixed compile error (on Symbian) incompatible types between int and pjsip_dialog_cap_status. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3200 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-07Fix #1085:Nanang Izzuddin
- Added new codec G721, as alias for G726-32. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3199 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-04Re #668:Nanang Izzuddin
- Fixed process_answer() of SDP negotiation, when no common format in a media, instead of returning error, it should just deactivate the media (offer & answer) and continue negotiating next media. - Generalized the way of deactivating media: set port to 0 and remove all attributes. - Added new API pjmedia_sdp_media_clone_deactivate() to clone media and deactivate the newly cloned media. - Updated PJMEDIA SDP negotiation test. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3198 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-03Make TURN pool memory sizes compile-time configurable (misc, re: #1068)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3197 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-03Re #1089:Nanang Izzuddin
- Added a feature in dialog to store and retrieve remote capabilities dug from the remote messages. - Added few APIs in dialog to query and update remote capabilities, also added an API in pjsua_call to query whether a capability is supported by remote. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3196 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-03Fix #1073:Nanang Izzuddin
- Fixed SDP negotiation in processing answer: when the answer has less media count, generate disabled-media to match the media count. - Added python test. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3195 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-03Misc (re #1068): fixed python test lib inc_sip.py, wrong member name refered ↵Nanang Izzuddin
in RecvfromTransaction initialization. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3194 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-03Re #1074: Added python test for SRTP receiving too long key.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3193 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-02Fix #1088:Nanang Izzuddin
- Fixed SDP negotiation to ignore disabled media (with port 0) in the answer. - Added a SIPp scenario for reproducing the issue. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3192 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-02Fix #1074: Fixed SRTP crypto parser to preverify the key length.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3191 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-02Fixed #1092 (Crash when receiving various messages with "Contact: *" header ↵Benny Prijono
format) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3190 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-01Fix #1091: Increase the default maximum number of outstanding asynchronous ↵Benny Prijono
operations of Symbian socket server to 32 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3189 74dad513-b988-da41-8d7b-12977e46ad98
2010-06-01Fix #1090: Disable the "Bug in branch_param generator (i.e. not unique)" ↵Benny Prijono
assertion. This also fixes the hang problem when building the app in Release mode (assertion disabled), because the transaction is destroyed without being unlocked, causing the subsequent transaction unlock to loop indefinitely. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3188 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-26Re #1066, in process_m_answer() of sdp_neg.c:Nanang Izzuddin
- Fixed removing any unmatching formats in the remote-answer to also work with dynamic payload type. - Updated reordering formats priority in the offer based on the answer to also work with dynamic payload type. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3187 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-26Misc (re #1068): crash in pj_sockaddr_parse2() if NULL of empty string is ↵Benny Prijono
given (thanks Joe Meade for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3186 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-26Fix #1087:Nanang Izzuddin
- Moved auto reregistration scheduling to be before the registration callback. - Updated validations in auto_rereg_timer_cb() & schedule_reregistration(). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3185 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-26Misc (re #1068): AMR codec in IPP codecs should apply Change Mode Request ↵Nanang Izzuddin
(from AMR payload) only when it is different from current encoding mode. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3184 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-19Re #1068 (misc fix): added --log-append option in pjsua to not overwrite ↵Benny Prijono
existing log file git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3183 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-19Fix #1071: Increase default maximum SIP packet size to 4000Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3182 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-19Misc fix (re #1068): set default alignment in the configure script to 8 ↵Benny Prijono
bytes on Sparc (thanks David Coppa for the patch) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3181 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-19Changed pj_thread_get_prio_max() to return 0 on OpenBSD because it doesn't ↵Benny Prijono
support it (thanks David Coppa for the patch)(re #1068) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3180 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-18Fix #1053: change the libaries' path type to relativeLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3179 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-18Fix #1052: change library path as a relative path.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3178 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-17Re #1051: set default new coreaudio backend to disabledBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3177 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-17Re #1050: fixed aconfigure error caused by iPhone mergingBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3176 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-17Merge #1050, #1052, #1053, #1054 into the main trunk.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3175 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-17Merge #1051 into the main trunk.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3174 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-13Re #1069:Nanang Izzuddin
- Added new approach of SRTP optional mode in pjsua-lib by duplicating SDP media line for secured and unsecured version of media transport. - Integrated this feature into pjsua app, it is activated via --use-srtp=3 param. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3172 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-11Re #1068:Nanang Izzuddin
- Fixed max frames-per-packet constants in AMR codec (IPP and passthrough) to be based on PJMEDIA_MAX_FRAME_DURATION_MS setting. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3165 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-10Added systest function to select which audio device to use (re #1068: misc ↵Benny Prijono
fixes) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3164 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-10Ref #1068 (misc fixes): added facility to change device ID at run time in ↵Benny Prijono
pjsystest git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3163 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-07Re #1067: Updated maximum acceptable burst setting in jitter buffer, was ↵Nanang Izzuddin
hardcoded 1s, now it is 3/4 of JB max size and must not be lower than 1s. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3162 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-07Re #1067: Added feature of JB operation tracing to CSV file in stream.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3161 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-07Fixed #1066:Nanang Izzuddin
- Added check if the negotiation result of local-offer/remote-answer has no matching format. - Added routine to remove any unmatching formats in the remote-answer. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3160 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-05Implemented ticket #1065: audiodev register/unregister featureLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3159 74dad513-b988-da41-8d7b-12977e46ad98
2010-05-01Fixed #1064:Benny Prijono
- Removed orphaned third_party/gsm/inc/gsm.h.orig file - Added support for external GSM header in /usr/include/gsm.h (rather than <gsm/gsm.h>) Thanks Christopher Zimmermann for the fixes git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3158 74dad513-b988-da41-8d7b-12977e46ad98
2010-04-30Changed version to 1.6-trunkBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3157 74dad513-b988-da41-8d7b-12977e46ad98
2010-04-30Changed version to 1.6Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3155 74dad513-b988-da41-8d7b-12977e46ad98
2010-04-30Re #969: Fixed bug division by zero in JB progressive discard code, caused ↵Nanang Izzuddin
by possibility of uninitialized burst level after JB switches status INITIALIZING -> PROCESSING (thanks Janos Tolgyesi and Tamàs Solymosi for the report and investigation). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3154 74dad513-b988-da41-8d7b-12977e46ad98
2010-04-29Fixed #1062 (Assertion if 200/OK INVITE response is received during ↵Benny Prijono
PJSUA-LIB destroy sequence) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3153 74dad513-b988-da41-8d7b-12977e46ad98