summaryrefslogtreecommitdiff
path: root/pjsip
AgeCommit message (Collapse)Author
2013-06-13Close #1675: Added callback to allow application to specify account to ↵Nanang Izzuddin
handle incoming message. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4534 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-13Re #1671: Destroy tdata_counter only after cleaning up dangling transmit buffer.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4533 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-07Fixed #1673: Use Request URI when matching incoming request to account if ↵Benny Prijono
the To URI contains tel: URL git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4532 74dad513-b988-da41-8d7b-12977e46ad98
2013-05-31Re #1630 (misc): Fixed private ip detection in pjsua_accLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4531 74dad513-b988-da41-8d7b-12977e46ad98
2013-05-30Fixed #1671:Nanang Izzuddin
- Transport manager maintains transmit buffer instance list, so any dangling transmit buffer will be freed when transport manager is destroyed. This is configurable via PJSIP_HAS_TX_DATA_LIST, the default is zero/disabled. - Updated publish client subscription to not use the 'internal' pjsip_tx_data list structure. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4530 74dad513-b988-da41-8d7b-12977e46ad98
2013-05-30Re #1630 (misc): Fixed various error handling (sip_transport.c and ↵Liong Sauw Ming
sip_endpoint.c) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4529 74dad513-b988-da41-8d7b-12977e46ad98
2013-05-24Fixed #1670:Nanang Izzuddin
- Added 'no_rtcp_sdes_bye' to 'pjsua_media_config'. - Modified behaviour of video stream in PJSUA to match audio stream behaviour, i.e: always send RTCP SDES when stream starts/stops and send RTCP BYE when stream stops, regardless whether 'no_rtcp_sdes_bye' is set. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4524 74dad513-b988-da41-8d7b-12977e46ad98
2013-05-23Fix #1669: When (account/global) proxy setting is changed, unregister and ↵Nanang Izzuddin
reset registration internal state (acc->regc) before performing re-registration. The same mechanism is also applied for any account config changes on transport, credential info, or auth preference. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4523 74dad513-b988-da41-8d7b-12977e46ad98
2013-05-18Fixed #1667: Handle incoming UPDATE before 101-199 response is receivedBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4521 74dad513-b988-da41-8d7b-12977e46ad98
2013-05-10Re #1662: Clear call descriptor before making callLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4518 74dad513-b988-da41-8d7b-12977e46ad98
2013-05-10Fixed #1666: Handle case when call unhold failedLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4517 74dad513-b988-da41-8d7b-12977e46ad98
2013-05-06Fix #1665: Added check for tx_data pending state in tsx_send_msg().Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4516 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-29Fixed #1662: Reset/nullify the pointer to dialog in internal PJSUA call ↵Nanang Izzuddin
structure after an incoming call is terminated due to media channel init error. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4509 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-26Misc (re #1630): check for sound device idle when pjsua library is startedBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4507 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-26Fixed #1661: Option to use SO_REUSEADDR for TCP and TLS listeners and use it ↵Benny Prijono
by default on non-Windows platforms git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4506 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-25Fixed #1660: SIP transport fallbacks to use default interface when ↵Nanang Izzuddin
pj_getipinterface() fails in getting local interface for the specified destination. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4504 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-23Re #1630: fixed various warningsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4487 74dad513-b988-da41-8d7b-12977e46ad98
2013-04-23Re #1630 (misc): protect against NULL in when dumping call ↵Benny Prijono
statistic/displaying SRTP policy name which crashed BB10 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4486 74dad513-b988-da41-8d7b-12977e46ad98
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