summaryrefslogtreecommitdiff
path: root/pjsip
AgeCommit message (Collapse)Author
2012-04-26Misc (re #1417): normalize the error status returned by pj_getaddrinfo() to ↵Benny Prijono
PJ_ERESOLVE, because this error is treated specially to trigger SIP status code 502. This was suspected to have caused pjsip unit test to fail in the regc test git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@4103 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-26Fixed #1495: UDP keep-alive is still running even after account is deleted. ↵Benny Prijono
It cannot be updated with pjsua_acc_modify() either git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@4095 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-26Misc (re #1417): fixed failed reg_test in pjsip unit test due to wrong ↵Benny Prijono
status code expected and actually received git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@4093 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-26Indirectly related to re #1465: acquire transport reference when invoking ↵Benny Prijono
transport send(), to prevent transport from being destroyed accidently while sending is in progress, and also to reset the idle timer git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@4092 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-26More re #1465: Set the default idle time to 33 from 30. With 30, some pjsip ↵Benny Prijono
unit tests fail because the TCP transport is closed prematurely before the test completes. This should not happen in the real life as long as app uses a client transaction to send a request. The unit test uses stateless send which does not add ref_count to the transport, that is why the transport is closed prepaturely before 32 seconds (the transaction timeout interval) git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@4091 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-23Re #1417: Fixed error handling if pjsip_timer_init_session() when accepting ↵Liong Sauw Ming
incoming call and fixed typo in assertion in sip_inv.c git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@4067 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-23Misc (re #1417): removed sip_transport_tls_ossl.c from vs2005 project.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@4066 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-21Fixed #1492: The echo options field in the media config and pjsua_set_ec() ↵Benny Prijono
argument are ignored git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@4065 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-20Fixed #1491: Failed to refresh (presence) subscription if Subscription-State ↵Benny Prijono
header contains no "expires" parameter git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@4064 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-13Fixed #1487: Wrong SDP negotiator state if outgoing UPDATE or re-INVITE is ↵Benny Prijono
challenged with 401 or 407 git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@4046 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-13Misc re #1417: wrongly mentioned pjsip_apps.c instead of pjsua_app.c in the ↵Benny Prijono
documentation of pjsua_msg_data git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@4045 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-12Fix #1484: apply and send re-register when registration timeout/expire ↵Nanang Izzuddin
setting is changed in pjsua_modify_acc(). git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@4041 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-12Fix #1483: make sure that the CRC calculation of account proxy setting is ↵Nanang Izzuddin
done after proxy URI normalization. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@4039 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-11More re #1481: Destroying the regc may lead to dangling binding in the ↵Benny Prijono
register, so instead of destroying the regc, instruct it to release the transport instead git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@4037 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-10Fixed #1481: Immediately destroy the registration instance when TCP/TLS ↵Benny Prijono
transport gets disconnected git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@4033 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-10More re #1465: introduce separate idle timeout setting for server side ↵Benny Prijono
TCP/TLS connection and set the default to 600 seconds git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@4032 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-02Re #1417: removed the obsolete but misleading sip_transport_tls_ossl.c fileBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@4004 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-28Fix #1470: Make sure the transaction layer module is unloaded when SIP ↵Nanang Izzuddin
endpoint is destroyed, by rescheduling the unload (using SIP endpoint atexit callback) after unload failure due to any pending/undestroyed transaction. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3989 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-28Re #1466: Moved down the atexit callbacks execution in pjmedia & pjsip ↵Nanang Izzuddin
endpoints to the very end of endpoint destroy sequence. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3988 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-22Close #1466 (using PJLIB outside PJSUA-LIB context):Nanang Izzuddin
- static reference counter for PJLIB init/shutdown. - implemented atexit() in PJMEDIA and PJSIP level: pjmedia_endpt_atexit() & pjsip_endpt_atexit(). - updated pjmedia/transport_srtp.c, pjsip/sip_timer.c, and pjsip/sip_replaces.c to use the new atexit() functions. - API change: pjmedia_srtp_init_lib() now requires 'pjmedia_endpt' param. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3986 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-15Fix #1464: Only use PJSUA lock in PJSUA implementations of INVITE session ↵Nanang Izzuddin
callbacks when updating 'pjsua_var' is needed, while updating 'pjsua_call' should be enough with call/dialog lock (which is actually being held by the INVITE session layer during invoking its callback). git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3977 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-15Lower the default TCP/TLS idle time from 600s to 30s to improve battery ↵Benny Prijono
consumption (fixed #1465) git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3976 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-06Fixed #1460: Allow call to transition to CONFIRMED state even when SDP ↵Benny Prijono
negotiation is pending if the pending negotiation is an updated offer and not the original one with the INVITE transaction git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3964 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-06Fix #1457: removed check for remote SDP media count before calling ↵Nanang Izzuddin
find_audio_index() in pjsua_media_channel_create_sdp(), so find_audio_index() will also verify the media count in the remote SDP. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3962 74dad513-b988-da41-8d7b-12977e46ad98
2012-02-27Fixed #1455: Incoming re-INVITE is unhandled if it comes in CONNECTING state ↵Benny Prijono
(thanks Olle Frimanson for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3959 74dad513-b988-da41-8d7b-12977e46ad98
2012-02-18Fixed #1452: Wrong call media state is reported if hold request is ↵Benny Prijono
challenged with authentication (thanks Bogdan Krakowski for the fix) git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3954 74dad513-b988-da41-8d7b-12977e46ad98
2012-02-16Allow run-time control of automatic switching to TCP when request is larger ↵Benny Prijono
than 1300 (the PJSIP_DONT_SWITCH_TO_TCP compile time setting) via pjsip_cfg()->endpt.disable_tcp_switch setting. Thanks Johan Lantz for the suggestion. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3952 74dad513-b988-da41-8d7b-12977e46ad98
2012-02-02Misc (re #1417): fixed sample code in PJSUA-API Media Manipulation doxygen, ↵Nanang Izzuddin
pjsua_player_create() only takes 3 arguments, instead of 4 (thanks Thomas Martin for the report). git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3946 74dad513-b988-da41-8d7b-12977e46ad98
2012-01-17Close #1448: removed server name setting from TLS transport config.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3943 74dad513-b988-da41-8d7b-12977e46ad98
2012-01-16Close #1014:Nanang Izzuddin
- Added configurable ciphers setting in SIP TLS transport and pjsua app. - Added API pj_ssl_cipher_is_supported(). git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3942 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-26Fixed #1432: Removed assertion in transaction when event is received in ↵Benny Prijono
DESTROYED state (thanks Yariv Trabelsi for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3924 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-20Fixed #1431: Support for RFC 4169/Digest Authentication Using AKAv2 (thanks ↵Benny Prijono
Alex Kolesnichenko for the patch) git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3916 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-19Fixed #1426: Race condition in auto-closing and/or auto-opening of the sound ↵Benny Prijono
device git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3913 74dad513-b988-da41-8d7b-12977e46ad98
2011-11-02More #1415: added protection when calling log, otherwise assertion will be ↵Benny Prijono
raised git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3883 74dad513-b988-da41-8d7b-12977e46ad98
2011-11-02Fixed #1415: Handle potential crash if joining worker thread fails in ↵Benny Prijono
pjsua_destroy() git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3882 74dad513-b988-da41-8d7b-12977e46ad98
2011-11-02Fixed #1414: Removed assertion in transaction when event other than timer is ↵Benny Prijono
received in TERMINATED state git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3881 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-28Fixed #1407: Deadlock in initial resolution of STUN serverBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3873 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-28Fixed #1405: Unable to reject unknown algorithm in authentication challengeBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3871 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-27Fixed #1341: Handle pjsua_acc_config's newly added fields in pjsua_acc_modify()Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3867 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-21Fixed #1391: Missing CSeq check for incoming ACK in an INVITE session ↵Benny Prijono
(thanks Ilya Kalinin for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3834 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-20Fixed #1319: When sips scheme is used, TLS must be used even when ↵Benny Prijono
transport=tcp is specified in the URI (thanks Iñaki Baz Castillo for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3832 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-19Renamed enum names to comply with the spec in ticket (re #1216)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3830 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-19Fixed #1216: New pjsua_destroy2() API to allow shutting down the library ↵Benny Prijono
without sending any outgoing messages git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3829 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-19Misc (re #1252): fixed misleading doxygen documentation that says app may ↵Benny Prijono
instantiate multiple instances of SIP endpoint git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3828 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-14Committing re #1388: Support for OpenCORE AMR-NB codec (thank you Dan ↵Benny Prijono
Arrhenius for the contribution!) git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3816 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-14Fixed #1387: Bug in printing user defined header in multipart message ↵Benny Prijono
(thanks Luis Martin Gil for the patch) git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3815 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-11Fixed #1386: fixed send_raw_resolver_callback() in sip_util.c, should ↵Nanang Izzuddin
increment tdata ref count before calling pjsip_tpmgr_send_raw() to avoid tdata gets destroyed prematurely. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3813 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-22Fixed bug in re #1376: pjsua_call_info() could not be called when state is ↵Benny Prijono
disconnected git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3771 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-22More re #1375: fixed bug, the reg_first_retry interval is not copied to ↵Benny Prijono
account config with pjsua_acc_modify()! git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3770 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-22More re #1375: added log showing the interval when scheduling the ↵Benny Prijono
registration retry git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3769 74dad513-b988-da41-8d7b-12977e46ad98