summaryrefslogtreecommitdiff
path: root/pjsip/src/pjsua-lib/pjsua_call.c
AgeCommit message (Collapse)Author
2015-05-05Re #1848: Fix failed to create SDP which lead to crash caused by rejected ↵Riza Sulistyo
HOLD request. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5082 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-02Fixed #1817: Automatically send BYE when sending CANCEL for INVITE is ↵Liong Sauw Ming
unsuccessful. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4986 74dad513-b988-da41-8d7b-12977e46ad98
2015-01-22Re #1797: Fixes assert if 422 response is received (thanks to Brian Walker ↵Liong Sauw Ming
for the report) If 422 is received, INVITE will be automatically retried, but the provisional media has been cleaned up. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4976 74dad513-b988-da41-8d7b-12977e46ad98
2014-11-25Fix #1804: Call should use local IP in Via sent-by when the account is not ↵Nanang Izzuddin
using STUN. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4963 74dad513-b988-da41-8d7b-12977e46ad98
2014-10-31Fixed #1797: Clean up provisional media is executed when there is an ongoing ↵Riza Sulistyo
SDP negotiation. Scenario: 1. re-invite got 491, state tsx changed to completed 2. cleanup prov med executed 3. re-invite again with video 4. timer tsx to shift tsx no 1, from completed -> terminated trigger provisional cleanup 5. provisional video transport in no 3 got cleanup git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4956 74dad513-b988-da41-8d7b-12977e46ad98
2014-10-17Fixed #1797: Clean up provisional media after re-invite/updateLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4948 74dad513-b988-da41-8d7b-12977e46ad98
2014-10-01Re #1782 (misc): Clone sdp attribute fmtp and rtpmap before adding it in ↵Liong Sauw Ming
process_pending_reinvite() git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4934 74dad513-b988-da41-8d7b-12977e46ad98
2014-09-24Close #1793: Avoid call setting flags PJSUA_CALL_UNHOLD, ↵Nanang Izzuddin
PJSUA_CALL_UPDATE_CONTACT, and PJSUA_CALL_NO_SDP_OFFER to be sticky or reused in the next calls of pjsua_call_reinvite/update(). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4929 74dad513-b988-da41-8d7b-12977e46ad98
2014-09-17Re #1788: Add support to allow INVITE/reINVITE with unknown body.Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4924 74dad513-b988-da41-8d7b-12977e46ad98
2014-09-15Fixed #1783: Restart ICE if a mid-dialog re-INVITE contains no offerLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4923 74dad513-b988-da41-8d7b-12977e46ad98
2014-09-09Fixed #1785: Add support for sending initial INVITE/re-INVITE/UPDATE without SDPLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4920 74dad513-b988-da41-8d7b-12977e46ad98
2014-06-05Misc (re #1751): added additional checking to invite and dialog instances ↵Benny Prijono
when terminating the call when media initialization fails due to suspected crash git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4856 74dad513-b988-da41-8d7b-12977e46ad98
2014-05-09Re #1768: avoid crash if outgoing call fails during media initialization, ↵Benny Prijono
because on_call_state() is called with NULL event, which is unexpected by pjsua2 (and possibly other unsuspecting apps) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4843 74dad513-b988-da41-8d7b-12977e46ad98
2014-03-06Re #1742 (misc): Fixed incorrect checking of require_100rel configurationLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4779 74dad513-b988-da41-8d7b-12977e46ad98
2014-02-19Fixed #1738: Infinite loop when re-INVITE is received while adding new mediaBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4750 74dad513-b988-da41-8d7b-12977e46ad98
2014-02-04Misc (re #1630): Fixing warnings about variable set but not used with recent gccBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4728 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-31Misc (re #1630): Fixed some more typos in the codes.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4724 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-23Misc (re #1630): Fixed some typos in the code (thanks Tzafrir Cohen for the ↵Nanang Izzuddin
patch). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4714 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-23Misc (re #1630): Fixed GCC build warnings (thanks Tzafrir Cohen for the patch).Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4712 74dad513-b988-da41-8d7b-12977e46ad98
2013-07-15Re #1688: Add fix to check whether msg_data is nullLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4561 74dad513-b988-da41-8d7b-12977e46ad98
2013-07-10Closed #1688: Add support for different To and Target URI in outgoing call ↵Liong Sauw Ming
and sending IM git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4555 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-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-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-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-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-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-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-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-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-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-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-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-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-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
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 #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-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-10-08Fixed #1591: Fixed dialog locking in acquire_call() when media transport is ↵Liong Sauw Ming
created asynchronously. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4280 74dad513-b988-da41-8d7b-12977e46ad98
2012-10-02Fixed #1588: State PJSIP_INV_STATE_NULL is called after call has been ↵Benny Prijono
disconnected git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4273 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-28Re #1587: Respond to call replace request with the last provisional response ↵Nanang Izzuddin
sent in the replaced call. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4269 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-28Re #1587:Nanang Izzuddin
- Don't answer call replace request with 200 if the replaced call hasn't reach confirmed state and has UAS role. - Only apply accept_replace_in_early_state when call is in early state. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4268 74dad513-b988-da41-8d7b-12977e46ad98
2012-09-03Fix #1574: Fixed silly mistake in the media channel init condition in ↵Nanang Izzuddin
pjsua_call_answer2(). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4244 74dad513-b988-da41-8d7b-12977e46ad98
2012-08-07Fixed #1412: Account specific NAT settings: STUN, ICE, and TURNBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4218 74dad513-b988-da41-8d7b-12977e46ad98