summaryrefslogtreecommitdiff
path: root/pjsip
AgeCommit message (Collapse)Author
2013-04-16Fixed #1658: Stop media endpoint's worker threads first when destroying ↵Liong Sauw Ming
media subsystem git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4474 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-10Misc (re #1630): Added doxygen describing the persistency of message data ↵Nanang Izzuddin
(custom/additional headers, etc) in pjsua_call_answer(). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4463 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-09Fix #1654: do not cancel SDP offer when transaction state changes from ↵Nanang Izzuddin
'completed' to 'terminated', as it have been cancelled before (when tsx state is 'completed'). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4462 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-03More re #1653: bug in previous checkin, the local_hold flag was released ↵Benny Prijono
regardless of the flag git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4460 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-03Fix #1811: Set SDP direction attribute to "sendonly" in answering call ↵Nanang Izzuddin
unhold request after double holds to maintain the local hold status. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4458 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-03Fixed #1653: [incompatible] pjsua_call_update() API should not release holdBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4457 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-03Fixed #1652: Media feature tag "+sip.ice" is not used because of wrong ↵Benny Prijono
account initialization sequence git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4456 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-03Fixed #1651: incoming CANCEL request is not reported in any callbacksBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4455 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-29Re #1630 (misc): Added missing destroy of mutexes. This may cause failure to ↵Liong Sauw Ming
recreate the mutexes in some platforms (such as BB10). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4454 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-29Re #1630 (misc): Fixed compilation problem due to r4275 if ↵Liong Sauw Ming
PJSIP_CHECK_VIA_SENT_BY is set git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4453 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-28Fixed #1650: Close sound device when outgoing call failsLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4452 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-27Re #1630: Prevent the update of TCP transport address if the address is zero.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4451 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-22Fix #1649: Invoke SIP TLS transport callback when transport is shutdown by ↵Nanang Izzuddin
TLS certificate verification error. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4450 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-21More on re #1646: added flag to prevent another transmit data from being ↵Benny Prijono
transmitted while we are waiting for the previous one to be flushed from transport queue git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4448 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-21Close #1647: updated subscription lookup in on_new_transaction() to skip ↵Nanang Izzuddin
subscription with NO_EVENT_ID and already terminated. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4447 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-21Part 2, fixed #1646: crash in transaction when it is destroyed while ↵Benny Prijono
transport operation is in progress git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4446 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-20Misc (re #1630): Exported parse_generic_array_hdr() implementation, named ↵Nanang Izzuddin
pjsip_parse_generic_array_hdr_imp(). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4445 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-20Part 1 of re #1646: fixed the deadlock problem in SIP transaction related to ↵Benny Prijono
transport event git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4444 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-19Close #1645: Added run-time setting 'pjsip_cfg()->req_has_via_alias' and ↵Nanang Izzuddin
compile-time setting 'PJSIP_REQ_HAS_VIA_ALIAS', the default value is PJ_TRUE. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4442 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-19Re #1644: Added run-time setting 'pjsip_cfg()->follow_early_media_fork' and ↵Nanang Izzuddin
compile-time setting 'PJSIP_FOLLOW_EARLY_MEDIA_FORK', the default value is PJ_TRUE. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4441 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-13Fixed #1642: Media transport may not be cleaned up if call is hung up quicklyBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4439 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-12Fixed #1641: Handling transport disconnection when the transaction state is ↵Liong Sauw Ming
still in null state git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4438 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-11Fixed #1640: Registration is terminated permanently on 480 (Temporarily Not ↵Benny Prijono
Available) response when it should have been retried git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4436 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-08Fixed #1637: Crash in pjsua_media_channel_update() if one media gets rejectedLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4433 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-06Fixed #1633: Crash if on_redirected() callback is not implemented and UAC ↵Liong Sauw Ming
receives 422 response git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4425 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-06Fixed #1632: Remove Contact header in MESSAGE requestsLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4424 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-06Fixed #1629: Add pjsua_call_set_hold2() API to allow update of Contact headerLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4421 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-05Implementation of Re #1628: Modify SIP transaction to use group lock to ↵Benny Prijono
avoid deadlock etc. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4420 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-05Misc (re #1559): fixed compile errors/warnings on MSVCRiza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4412 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-04Misc (re #1559): fixed compile errors/warnings on Symbian platform.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4411 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-27Fixed #1626: Assertion when remote sends re-INVITE with less mediaLiong Sauw Ming
Included in the fix is sipp testing scenario. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4373 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-26Close #1627: invoke on_tsx_state_changed() callback from ↵Nanang Izzuddin
on_call_state(DISCONNECTED). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4371 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-26Close #1615: Fixed bug in URI scheme check macro ↵Nanang Izzuddin
PJSIP_URI_SCHEME_IS_SIP()/SIPS/TEL. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4370 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-21Close #1625: Introduced new API pjmedia_sdp_validate2() for allowing SDP ↵Nanang Izzuddin
media without c= line when port is zero, currently it is only applied in validating remote SDP. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4367 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-21Re #1623: fixed deadlock between conference mutex and ICE. Scenario: Benny Prijono
- sound device thread calls put_frame() which gets the conf mutex, and is calling transport sendto() to send RTP packet which requires ICE mutex. - The worker thread finished ICE negotiation and notifies PJSUA-LIB and application while holding ICE group lock, app then do conf_connect() which causes deadlock. This fix defer the callback to a timer. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4363 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-19Re #1242: fixed silly mistake unremoved test code.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4356 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-19Misc (re #1559): Added INFO into Allow header for PJSUA.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4354 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-19Re #1242: Fixed overridden media direction and c=0.0.0.0 line in the ↵Nanang Izzuddin
re-invite. For example when sending call hold and remote answers with multiple codecs, re-invite of lock codec is sent with SDP a=sendrecv line. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4353 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-19Fixed #1619: transport error on re-INVITE should not terminate callBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4351 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-15Re #1242: Fixed ICE nego completion check as it always returns FALSE when ↵Nanang Izzuddin
peer doesn't support ICE. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4350 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-13Close #1614: Added call redirect option PJSIP_REDIRECT_ACCEPT_REPLACE to ↵Nanang Izzuddin
accept call redirection with replaced 'To' header. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4347 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-13Re #1568: (PJSIP 2.x) No need to restart media when remote RTP address ↵Nanang Izzuddin
changed but ICE transport is running. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4345 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-07Close #1602: configurable local port range for ICE transport.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4343 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-06Close #1242: Single re-INVITE/UPDATE for both lock codec and ICE negotiation ↵Nanang Izzuddin
updates. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4342 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-05Misc (re #1562): pjsua_call_set_vid_strm() should acquire call dialog.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4341 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-29Re #1568: (PJSIP 2.x) Apply pjsua_media_config before detecting media change ↵Liong Sauw Ming
and fixed encoding name string duplication. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4336 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-17Fixed #1611: Add missing Supported header in UPDATE for Session Timers. Also ↵Benny Prijono
fixed minor placement error of pjsip_dlg_dec_lock() in pjsip_inv_update(). The dec_lock was called too early before calling pjsip_timer_update_req(). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4323 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-17Really fix #1609 after better understanding about the problem. This changeset:Benny Prijono
- undo r4320 - remove the reliance on NULL termination in sip_auth_client.c - add the NULL termination when printing tel: URI just in case other components use it git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4322 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-17Fixed #1609: Garbage character may be printed after the URI parameter in ↵Benny Prijono
Authorization/Proxy-Authorization header git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4320 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-16Fixed #1606: Support query-only on registration bindingsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4319 74dad513-b988-da41-8d7b-12977e46ad98