summaryrefslogtreecommitdiff
path: root/pjsip/src
AgeCommit message (Collapse)Author
2013-07-02Re #1680:Riza Sulistyo
- Win64 Project properties modification, using x64 as target machine. - Fix incorrect data type which might result in unsafe code. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4550 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-28Fixed #1684 (Failed assertion when scheduling timer in the registration client):Benny Prijono
- There is a potential race condition in pjsip_regc_set_delay_before_refresh() because it calls schedule_registration() without mutex protection - Check if the timer is active and cancel it in schedule_registration() as precaution git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4548 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-27More re #1683:Benny Prijono
- also update the Via port when only the port has changed AND either the received IP is public OR allow_contact_rewrite is set to 2 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4546 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-26Re #1630: fixed bug with via_rewrite feature. The via address is not updated ↵Benny Prijono
on second IP change git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4545 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-26Re #1668: fixed silly crash in pjsua_media.c:245 caused by r4543Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4544 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-24Closed #1668: Option to use the IP address found in REGISTER response in the SDPBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4543 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-21Re #1682: Use account specific variable to keep track of the next rtp port ↵Liong Sauw Ming
to use. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4542 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-21Closed #1682: Configurable local port range for UDP media transportLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4539 74dad513-b988-da41-8d7b-12977e46ad98
2013-06-19Re #1680: Add initial support for Win64Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4537 74dad513-b988-da41-8d7b-12977e46ad98
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-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