summaryrefslogtreecommitdiff
path: root/pjsip
AgeCommit message (Collapse)Author
2010-12-02Misc (re #1151): respond incoming re-INVITE with 491 instead of 500 if we ↵Benny Prijono
are waiting for response for our outgoing re-INVITE. If we are currently processing another incoming re-INVITE, then respond with 500, as it is now git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3385 74dad513-b988-da41-8d7b-12977e46ad98
2010-12-02Fixed #1170 (Assertion when receiving updated SDP offer with all media lines ↵Benny Prijono
removed): - pjsua_media.c checks if audio media is present in the offer; if not, do not set any answer - sip_inv.c checks if app has supplied an answer after on_rx_offer() callback is called, and returnd 488 (Not Acceptable) if not (previously, it will return 200/OK without SDP!) - added a SIPp scenario file to reproduce this git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3383 74dad513-b988-da41-8d7b-12977e46ad98
2010-12-02Fixed #1166: Detection of offer/answer glare condition with re-INVITEBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3381 74dad513-b988-da41-8d7b-12977e46ad98
2010-12-02Misc (re #1151): Fixed pjsip_multipart_create() in initializing media type, ↵Nanang Izzuddin
should use pjsip_media_type_init() (thanks Dan Price for the report). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3378 74dad513-b988-da41-8d7b-12977e46ad98
2010-12-01Misc (re #1151): fixed pjsua_acc_config_dup(), some fields, i.e: ↵Nanang Izzuddin
contact_params, contact_uri_params, and auth_pref, were not duplicated properly (thanks Roman Grachev for the report and the patch). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3377 74dad513-b988-da41-8d7b-12977e46ad98
2010-12-01Fix #1165:Nanang Izzuddin
- Fixed pjsua_media_channel_create_sdp() to re-calculate audio index of the remote offer, instead of using existing audio index calculated by pjsua_media_channel_init(), as for subsequent SDP offer/answer, pjsua_media_channel_init() may not be called. - Fixed SRTP transport to be able to switch SRTP status from active to inactive/by-passed and vice versa. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3376 74dad513-b988-da41-8d7b-12977e46ad98
2010-11-29Fixed #1164: Possible crash in PUBLISH session if network connectivity is ↵Benny Prijono
lost between two requests (thanks Nikolay Popok for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3375 74dad513-b988-da41-8d7b-12977e46ad98
2010-11-25Fix #1163:Nanang Izzuddin
- Fixed lock codec to always be done after successful media update, and pend the lock codec until call state CONFIRMED if media update is done in call state EARLY but remote does not support UPDATE method. - Added additional checks in lock_codec() and perform_lock_codec(), e.g: skip locking codec when media deactivated. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3374 74dad513-b988-da41-8d7b-12977e46ad98
2010-11-17Fixed #1159: UPDATE is sent to lock codec even though call is being disconnectedBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3371 74dad513-b988-da41-8d7b-12977e46ad98
2010-11-16Re #1020: fixed pjsua_acc.c, wrong allocation length for outbound contact.Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3368 74dad513-b988-da41-8d7b-12977e46ad98
2010-11-16re #1020 (SIP outbound): remove sip.instance and reg-id parameters from the ↵Benny Prijono
Contact when re-registering if the server does not support SIP outbound git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3367 74dad513-b988-da41-8d7b-12977e46ad98
2010-11-16Implemented SIP outbound (closed #1020)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3366 74dad513-b988-da41-8d7b-12977e46ad98
2010-11-10Fixed #1156: New option to ignore bad NOTIFY presence message body (thanks ↵Benny Prijono
Johan Lantz for the suggestion) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3363 74dad513-b988-da41-8d7b-12977e46ad98
2010-11-03Fixed #1155 (Run-time option to disable the use of "rport" in outgoing ↵Benny Prijono
requests (thanks Marcus Froeschl for the suggestion) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3361 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-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-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-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-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-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-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-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-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-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-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-17Dummy commit (re #1109)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3274 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-17Another dummy error commit (re #1109)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3273 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-16Another dummy commit (re #1110)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3272 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-16Dummy error commit (re #1110)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3271 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-11Misc (re #1068): set sip_transport_tls_ossl.c to be excluded from build on ↵Nanang Izzuddin
Windows Mobile build configs (obsoleted by sip_transport_tls.c). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3264 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-11Misc (re #1068): fixed various compilation warnings with Visual Studio 6 and ↵Benny Prijono
2005 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3262 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-09Misc (re #1068): do not add To tag to the SIP response if the request ↵Benny Prijono
already has one (thanks Rafael Maia for the suggestion) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3260 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-06Misc (re #1068): fix compile errors/warnings on Symbian S60 5th ed.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3255 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-01Re #1070 (multipart): modified Visual Studio projectsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3244 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-01Implemented core multipart support and support in the invite session (re #1070)Benny Prijono
- incoming multipart message will be handled automatically - for testing, enable HAVE_MULTIPART_TEST in pjsua_app.c git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3243 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-01Re #1070 (support for multipart bodies): added new pjsip_param_cmp() APIBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3242 74dad513-b988-da41-8d7b-12977e46ad98
2010-08-01Re #1070 (support for multipart bodies): modified the param field of ↵Benny Prijono
pjsip_media_type from a simple string to pjsip_param, to support a more complex use of this field git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3241 74dad513-b988-da41-8d7b-12977e46ad98
2010-07-15Re #1103:Nanang Izzuddin
- Added (back) raw jitter statistics into RTCP statistics, with the new name "rx_raw_jitter". - Added IPDV statistics into RTCP statistics. - Added new compile-time settings to enable/disable raw jitter and IPDV statistics. - Updated call dump in pjsua-lib. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3239 74dad513-b988-da41-8d7b-12977e46ad98