summaryrefslogtreecommitdiff
path: root/pjsip
AgeCommit message (Collapse)Author
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
2013-01-16Fixed #1607: Send UDP keep-alive to original request address if response ↵Benny Prijono
comes from different address git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4318 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-11Fix #1605: always re-init media channel for SDP re-offer/answer generation.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4315 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-04Fixed #1601: Add locking mechanism when ICE transport is in negotiation stateLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4313 74dad513-b988-da41-8d7b-12977e46ad98
2012-12-14Fixed #1599: Fixed bug that caused new contact not being used in ↵Liong Sauw Ming
UPDATE/re-INVITE git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4309 74dad513-b988-da41-8d7b-12977e46ad98
2012-12-13Re #1559: Fix dependencies when running parallel make (thanks Shaun Ruffell ↵Liong Sauw Ming
for the patch) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4308 74dad513-b988-da41-8d7b-12977e46ad98
2012-12-13Re #1595: Restrict the fix in r4300 so it only applies to outgoing callLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4307 74dad513-b988-da41-8d7b-12977e46ad98
2012-12-12Fixed #1598: Assertion when sip error code is not set (thanks Peter Koletzki ↵Liong Sauw Ming
for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4306 74dad513-b988-da41-8d7b-12977e46ad98
2012-12-05Misc (re #1562): Add a protection in med_tp_timer_cb() against call that may ↵Benny Prijono
have been terminated before ICE callback is called. It has been reported that this has caused a crash, but we cannot reproduce it. Thanks Karina for the report. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4305 74dad513-b988-da41-8d7b-12977e46ad98
2012-12-05Fixed #1597: Handle socket failure in STUN resolution when coming back from ↵Benny Prijono
iPhone/iOS background mode git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4304 74dad513-b988-da41-8d7b-12977e46ad98
2012-11-26Fixes #1596: Fix handling of incoming UPDATE requestLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4301 74dad513-b988-da41-8d7b-12977e46ad98
2012-11-26Fixes #1595: Allow call hangup immediately after outgoing callLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4300 74dad513-b988-da41-8d7b-12977e46ad98
2012-11-13Re #1562: PJSUA-LIB shutdown operation may block for a long time if system ↵Benny Prijono
time is modified while the shutdown is in progress. Also fixed similar issue in STUN client. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4297 74dad513-b988-da41-8d7b-12977e46ad98
2012-11-06Re #1590: Fixed pjsip_rx_data_clone() when there are multiple instances of a ↵Nanang Izzuddin
single header type (thanks Mike Evans for the report and the fix). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4295 74dad513-b988-da41-8d7b-12977e46ad98