summaryrefslogtreecommitdiff
path: root/pjsip/src/pjsip-ua
AgeCommit message (Collapse)Author
2014-02-21More #1712: Handle case when 200/OK is not ACKed and inv needs to send BYE. ↵Benny Prijono
In this case, ACK will never be received so don't wait for it. Similar treatment for transport error git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4754 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-24Fixed #1725: ACK is not sent upon receiving 200/OK retransmission if ↵Benny Prijono
re-INVITE is sent git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4716 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-24Re #1722: Riza Sulistyo
- add handler for 502/503 response to refresh request. - add expire timer for refresher. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4715 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-23Misc (re #1630): Fixed symbols that should not be exported (thanks Tzafrir ↵Nanang Izzuddin
Cohen for the patch). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4713 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-07Re #1721: Clear invite transaction before calling on_call_tsx_state (on ↵Riza Sulistyo
transaction terminated) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4703 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-18Fixed #1718: Immediately shift call state to DISCONNECTED after receiving ↵Nanang Izzuddin
422 response without Min-SE header. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4695 74dad513-b988-da41-8d7b-12977e46ad98
2013-11-19Fixed #1712: Must not send BYE before ACK is receivedBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4653 74dad513-b988-da41-8d7b-12977e46ad98
2013-10-08Re #1703: fixing general bugs. First installment: correct handling of ↵Benny Prijono
snprintf return value git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4613 74dad513-b988-da41-8d7b-12977e46ad98
2013-09-04Closed #1696: IP change detection (Contact rewrite method) based on REGISTER ↵Liong Sauw Ming
final response git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4586 74dad513-b988-da41-8d7b-12977e46ad98
2013-08-21Re #817: Fix replying to re-INVITE after it was cancelled (thanks to Saúl ↵Liong Sauw Ming
Ibarra Corretgé for the patch) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4583 74dad513-b988-da41-8d7b-12977e46ad98
2013-07-17More re #817: added loggingBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4565 74dad513-b988-da41-8d7b-12977e46ad98
2013-07-15Re #817: Initial work for allowing application to respond to re-INVITE manually.Liong Sauw Ming
Patches integrated in this fix (with some modifications for adjustment to the current trunk): - sip_inv-on_rx_reinvite.patch Move the place where to call the callback so the callback will still be called when the re-invite contains no SDP - sdp_neg_cancel_remote_offer pjmedia_sdp_neg_cancel_remote_offer() is no longer necessary since pjmedia_sdp_neg_cancel_offer() can already handle that. Only integrate the chart for sdp negotiation doc. - sip_inv-terminate-reinvite-tsx-on-cancel - sip_inv-cancel_sdp_neg_on_sending_negative_reply_to_reinvite - pjsip-allow_cancel_reinvite git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4562 74dad513-b988-da41-8d7b-12977e46ad98
2013-07-10Re #1687: Add SDP negotiation flags in invite sessionLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4556 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-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-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-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-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-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-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-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-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-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-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-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-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-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
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-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-28Close #1587: Added settings to accept call replace when in early state and ↵Nanang Izzuddin
as UAS: accept_replace_in_early_state in pjsip_cfg_t and PJSIP_ACCEPT_REPLACE_IN_EARLY_STATE macro. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4267 74dad513-b988-da41-8d7b-12977e46ad98
2012-07-23Fixed #1560: Added 'timer' in require header in sending 2xx response when ↵Nanang Izzuddin
session timer refresher is 'uac'. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4213 74dad513-b988-da41-8d7b-12977e46ad98
2012-07-18Fixed #1556: Fix From/To tag and Via branch comparison to be case insensitiveLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4208 74dad513-b988-da41-8d7b-12977e46ad98
2012-07-16Fixed #1555 : Bug with via_rewrite feature when the account gets deletedLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4206 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-06Fixed #1530: Sending ACK is reported with wrong pjsip_event infoBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4156 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-16Re #1474: merged r4042-r4053Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4054 74dad513-b988-da41-8d7b-12977e46ad98
2012-04-11Re #1474: merged r4031-r4037Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4038 74dad513-b988-da41-8d7b-12977e46ad98
2012-03-30Re #1474: Merged all changes from 1.12 - HEAD (from the 1.x branch)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3999 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-31Re #1395: Backport of PJSIP 1.x branch into PJSIP 2.0 trunkLiong Sauw Ming
* Backport of r3833:r3877 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3878 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-24Re #1395: Backport of PJSIP 1.x branch into PJSIP 2.0 trunkLiong Sauw Ming
* Backport of r3557:r3832 TODO: ticket #1268 (Option for automatic/manual sending of RTCP SDES/BYE for the stream) for video stream. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3841 74dad513-b988-da41-8d7b-12977e46ad98
2011-10-03Closed #1266:Liong Sauw Ming
Handle incoming calls when media transport is created asynchronously. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3777 74dad513-b988-da41-8d7b-12977e46ad98
2011-09-18Modified the libraries to use the new log indentation feature re #1372Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3753 74dad513-b988-da41-8d7b-12977e46ad98
2011-07-19Re #1326: Initial code integration from branch 2.0-dev to trunk as ↵Nanang Izzuddin
"2.0-pre-alpha-svn". git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3664 74dad513-b988-da41-8d7b-12977e46ad98
2011-05-05Re #1250: Updated the year in all copyright texts with 2011!Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3553 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-27Fix #1248: Reset destination info in the INVITE message/tdata before ↵Nanang Izzuddin
resending it to force re-resolving destination info. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3546 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-27Fixed #1247: Deadlock potential in sip_regc.c if sending fails (thank you ↵Benny Prijono
Alejandro Orellana for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3545 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-26Re #1245: bad last commit caused everything to be treated as unregistrations!Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3544 74dad513-b988-da41-8d7b-12977e46ad98
2011-04-25Fixed #1245: Assertion may be raised if iPhone app woken up to perform ↵Benny Prijono
registration and the server is down (thanks Alejandro Orellana for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3542 74dad513-b988-da41-8d7b-12977e46ad98
2011-03-23Fix #1222: Assertion if BYE is received while callee is still in early stateBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3481 74dad513-b988-da41-8d7b-12977e46ad98