summaryrefslogtreecommitdiff
path: root/pjsip/src/pjsua-lib/pjsua_call.c
AgeCommit message (Collapse)Author
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
2012-07-13Fixed #1553: Account setting to disable re-INVITE or UPDATE to lock codecBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4204 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-23Re #1526: r4175 missed PJSUA_UNLOCK() on some failure cases in ↵Nanang Izzuddin
pjsua_call_answer2(). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4176 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-22Fix #1526:Nanang Izzuddin
- Fix incoming call without SDP by delaying media init in on_incoming_call() until call setting is set i.e: via call answer. Note that there is no need to delay the media init in the case of call replace request, the call setting is already set in the incoming call callback, i.e: via on_call_replace_request2() callback or just the current setting of the replaced call. - Fix processing call replace request when the media init is performed asynchronously. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4175 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-20Fixed #1537: Via rewrite: putting the right IP address in Via sent-by for ↵Liong Sauw Ming
outgoing requests git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4173 74dad513-b988-da41-8d7b-12977e46ad98
2012-06-12Close #1534: done.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4164 74dad513-b988-da41-8d7b-12977e46ad98
2012-05-22Fixed #1515: Sound device is not closed when the call fails to connect ↵Benny Prijono
(thanks Régis Montoya for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4145 74dad513-b988-da41-8d7b-12977e46ad98
2012-05-22Re #1514: fixed the incoming call scenario, and changed disconnection code ↵Benny Prijono
from Precondition Failure to Temporarily Unavailable git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4136 74dad513-b988-da41-8d7b-12977e46ad98
2012-05-22Fixed second problem in re #1514: NULL state is reported instead of ↵Benny Prijono
DISCONNECTED state if call is disconnected due to transport (ICE) initialization error git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4135 74dad513-b988-da41-8d7b-12977e46ad98
2012-05-04Fixed #1504: Crash when trying to answer calls but call has been disconnectedLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4118 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-26Fix #1497: reset call->inv to NULL whenever call is terminated prematurely ↵Nanang Izzuddin
(before completely attached to pjsua). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4102 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-24Re #1474: merged r4054-r4079Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4082 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-24Fix #1423:Nanang Izzuddin
- Added provisional media in call for generating initial and subsequent SDP offer/answer. If a reoffer is rejected by peer, the main call media will remain unchanged and the provisional media will be cleaned up (the cleanup is currently delayed until call gets destroyed or another reoffer/answer occurs). - Reenabled media transport dump in pjsua_core.c. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4071 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-23Fixed #1493: Fixed bug in terminating the invite session when accepting ↵Liong Sauw Ming
incoming call. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4068 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-16Re #1446 (misc): Fixed unset sip error code if pjsip_inv_verify_request3() ↵Liong Sauw Ming
failed. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4052 74dad513-b988-da41-8d7b-12977e46ad98