summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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-20Fix #1490: frame type 15, instead of 14, should be assigned for zero length ↵Nanang Izzuddin
AMR-NB frames. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@4063 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-09Fix #1480: update read buffer pointer after updating buffer in ↵Nanang Izzuddin
pjmedia_wav_player_port_set_pos(). git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@4030 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-29Fix #1471: Just return PJ_FALSE on any incoming STUN packets after the STUN ↵Nanang Izzuddin
socket has been disassociated from ICE stream transport. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3991 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-23Re #1417 (misc): added that app should call pj_srand() initially in ↵Benny Prijono
pj_init() documentation git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3987 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-20Fixed #1468: Add support for iPhone configure script to detect iOS 5.1 SDKLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3978 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-13Re #1462: fixed libresample.dylib.1 installation issueBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3974 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-13Misc: fixed bug with assigning channel count in get_conf_port_info() in the ↵Benny Prijono
Python module. Thanks Thomas Steinacher for the report. (re #1417) git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3973 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-09Re #1462: fixed broken make install caused by previous changesBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3970 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-08Fix #1440:Nanang Izzuddin
- Use separate buffer for outgoing RTCP. Previously, RTCP generation might override outgoing RTP payload (because of shared buffer). - Use exact size for RTCP-XR content buffer. Previously RTCP-XR content buffer size was set to PJMEDIA_MAX_MTU, quite huge wasted space. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3969 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-08Re #1462: libresample as shared library support on Mac OS XBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3968 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-08Closed #1462: Added support for building libresample as shared library for ↵Benny Prijono
GNU targets git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3967 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 #1458: removed the problematic sound device direction setting.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3963 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-28Fix #1456: don't use SRTP internal state (tx_policy/rx_policy) directly for ↵Nanang Izzuddin
calling pjmedia_transport_srtp_start() in restarting SRTP after getting replay error. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3961 74dad513-b988-da41-8d7b-12977e46ad98
2012-02-27Fix #1440: Send and parse RTCP compound packet, containing report ↵Nanang Izzuddin
(RR/SR/XR), SDES, and BYE. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3960 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-25Fixed #1454: Bug in parsing XML document if node name is followed by newline ↵Benny Prijono
(thanks Samuel Prevot for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3958 74dad513-b988-da41-8d7b-12977e46ad98
2012-02-21Misc (re #1417): prevent buggy libc library from printing "(null)" in SDP ↵Benny Prijono
for the rtpmap attribute, e.g.: "a=rtpmap:8 PCMA/8000(null)". Thanks Roman Puls for the fix git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3957 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-08Fix #1451: Don't hold the ICE session's mutex when calling ↵Nanang Izzuddin
pj_ice_sess_cb::on_tx_pkt() callback to avoid deadlock. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3951 74dad513-b988-da41-8d7b-12977e46ad98
2012-02-03Updated PortAudio SVN URL (re #1417/Misc)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3947 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-26Fix #1449: PJ_EPENDING should not be treated as failure in sending STUN ↵Nanang Izzuddin
binding request. git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3944 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
2012-01-12Fix #1447: fix internal function write_frame() of the switchboard to copy ↵Nanang Izzuddin
the whole source frame to the destination port buffer if the destination port is port 0 (previously it only copied as much as samples-per-frame of port 0). git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3941 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-12-12Fixed #1422: Option to configure or disable RTCP RTT normalization (thanks ↵Benny Prijono
Lars Helgeson for the patch) git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3907 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-09Fixed #1416: Allow application to send data after ICE negotiation failsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3906 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-07Fixed #1421 (Audio is missing temporarily if SRTP is enabled due to lock ↵Benny Prijono
codec feature). The problem occured because when lock codec is called, the stream may not transmit any RTP packets yet, causing the RTCP statistic to return zero as the last RTP sequence number sent. The zero RTP sequence number would cause SRTP to refuse to encode the RTP packet with error replay status git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3900 74dad513-b988-da41-8d7b-12977e46ad98
2011-12-05Fixed #1418 (Library restart fails with PJLIB_UTIL_ESTUNNOTRESPOND error ↵Benny Prijono
after several times) due to bug in calling pj_sock_select(). Thanks Régis Montoya for the report and testing the fix git-svn-id: http://svn.pjsip.org/repos/pjproject/branches/1.x@3896 74dad513-b988-da41-8d7b-12977e46ad98