summaryrefslogtreecommitdiff
path: root/pjsip/src/pjsip-ua/sip_inv.c
AgeCommit message (Collapse)Author
2008-06-26Do no disconnect invite session if authentication fails for requests within ↵Benny Prijono
dialog. Also clears up inv->invite_tsx if re-INVITE fails with authentication error, otherwise it will not be able to send further re-INVITEs git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2058 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-25Fixed assertion error when resending re-INVITE after it is challenged with ↵Benny Prijono
401/407, and also fixed error when the invite session is not retrying the BYE request when it is challenged with 401/407 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2053 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-25Fixed ticket #550: PRACK is not re-sent on 401/407 challenge (thanks Josh ↵Benny Prijono
Benson) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2049 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-20Large changeset to replace all occurences of year 2007 with 2008 in the ↵Benny Prijono
copyright notice git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2039 74dad513-b988-da41-8d7b-12977e46ad98
2008-04-01More ticket #514: bug in previous fix caused invite session to unable to ↵Benny Prijono
respond to authentication in re-INVITE git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1902 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-27More ticket #514: the last fix causes invite session to refuse to send CANCEL!Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1896 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-20Ticket #514: bug with handling simultaneous outgoing re-INVITE, the invite ↵Benny Prijono
session does not check if we have an ongoing INVITE transaction (thanks Philippe Leuba) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1878 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-21Ticket #488: When outgoing request within dialog is responded with 481 or ↵Benny Prijono
408, should send BYE after terminating dialog (thanks Philippe Leuba) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1814 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-23Related to ticket #61: added new invite session API ↵Benny Prijono
pjsip_inv_verify_request() which takes additional remote SDP, to avoid parsing SDP multiple times git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1733 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-25Ticket #416: Allow application to handle sending ACK manuallyBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1598 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-23Fixed ticket #426: Respond incoming CANCEL with no matching INVITE with 481 ↵Benny Prijono
(thanks Sergey Bakulin) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1597 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-08Remove SDP from 487 response when incoming INVITE comes without SDP and we ↵Benny Prijono
are sending offer in 18x response git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1564 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-08Accept UPDATE without SDP (this is a valid scenario according to session ↵Benny Prijono
timer RFC) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1563 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-08- Added option to send empty Authorization header in outgoing requestsBenny Prijono
- When UAS has sent answer in reliable 1xx, do not put SDP in 2xx - Handle the case when UPDATE is challenged with 401/407 - Obsolete --service-route option in pjsua git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1561 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-06Validate SDP in incoming message before passing it to negotiator (otherwise ↵Benny Prijono
assertion will occur if SDP contains error) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1554 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-04Related to ticket #5: fixed compilation warnings on gccBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1475 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-03Ticket 5: Support for SIP UPDATE (RFC 3311) and fix the offer/answer negotiationBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1469 74dad513-b988-da41-8d7b-12977e46ad98
2007-09-30Ticket #385: Support for reliable provisional response (100rel, PRACK)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1463 74dad513-b988-da41-8d7b-12977e46ad98
2007-08-16Ticket #354: continuing work to port the Symbian libraries to .DSO formatBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1417 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-26Ticket #342: added configuration to control whether Allow header should be ↵Benny Prijono
included in outgoing INVITE requests git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1390 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-20More on ticket #399: a)send full offer on 200/OK response when re-INVITE ↵Benny Prijono
does not have SDP, b) added on_create_offer() callback, c) handle some error cases git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1379 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-20Ticket #339: Respond correctly to incoming INVITE/re-INVITE without offer ↵Benny Prijono
and receive answer in ACK git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1377 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-12Removed assertion when sending re-INVITE while another INVITE transaction is ↵Benny Prijono
in progress (thanks Frank Niessen) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1366 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-12Removed assertion when sending re-INVITE while another INVITE transaction is ↵Benny Prijono
in progress (thanks Frank Niessen) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1365 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-30Fixed ticket #302: Behavior in cancelling INVITE session when no provisional ↵Benny Prijono
response has been received (thanks Esbjörn Dominique) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1319 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-22Fixed ticket #284: Failed scenarios with CANCEL requests (thanks Esbjörn ↵Benny Prijono
Dominique) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1287 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-11HUGE changeset to make the rest of the libraries compile with C++ modeBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1266 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-02PJSUA-LIB was ported to Symbian and added simple Symbian app. Testing followsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1242 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-19Fixed ticket #114: INVITE transaction is not destroyed immediately when ACK ↵Benny Prijono
has the same branch as the INVITE git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@982 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-19Ticket #110: HUGE HUGE changeset to replace all occurence of year 2006 with ↵Benny Prijono
2007 in copyright notice in all sources git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@974 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-13Removed trailing space for invite's CONFIRMED state nameBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@880 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-25Print media statistic when call is disconnected in pjsua, to assist tracing ↵Benny Prijono
media problems git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@831 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-11Attended call transfer implementation. The changes involves:Benny Prijono
- Added support for SIP Replaces extension (RFC 3891) - Added pjsua_call_xfer_replaces() to perform attended call transfer. - PJSUA checks and process Replaces header in incoming calls - Added pjsip_ua_find_dialog() API. - Added pjsip_endpt_has_capability() API. - Added pjsip_endpt_send_response2() API. - etc. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@797 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-25Tests with other user agents revealed some bugs whichBenny Prijono
have been fixed below: - some UAs sends "telephone-event/8000/1" instead of "telephone-event/8000", which caused SDP negotiation to fail. Fixed in sdp_neg.c. - codec name was (incorrectly) compared case-sensitively, causing negotiation to fail. Fixed in sdp_neg.c. - Also improved error reporting in SDP negotiation by introducing few more error codes. - Added Warning header in Not Acceptable response sent by pjsip_inv_session when SDP negotiation fails. - PJSUA-LIB will try to negotiate both SDPs before sending 100 response. - Fixed bug in iLBC codec when setting the mode to 30. Also: - Echo cancellation by default is disabled now since it doesn't seem to work. Further investigation needed. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@738 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-10Attempt to fix the race condition in dialog locking.Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@671 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-06Fixed assertion error if ACK is received before INVITE transaction sends ↵Benny Prijono
final response (malicious?). Also fixed misc warnings, and stress-tested on Quad Xeon git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@657 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-18Small improvements: (1) pjsua now responds to incoming OPTIONS request, ↵Benny Prijono
which means that some modules (evsub, invite) need to register their capabilities to the endpoint, (2) added command in pjsua to send arbitrary request git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@612 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-02Final changeset from the PROTOS testing, fixed misc. crashes. See Benny Prijono
mailing list archive for the details git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@576 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-13Added status_text and cause_text in dialog and transaction to capture the ↵Benny Prijono
real status text in the final response (instead of just the code) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@500 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-04Changed pjsip_dlg_send_request() API to NOT return transaction as it is not ↵Benny Prijono
safe against race condition git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@376 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-17Changed pjsip_inv_send_msg() functionBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@324 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-10Fixed compilation and run warnings/errors with MSVC 2005Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@315 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-05Added API to terminate dialog prematurely. Affect: dialog, invite sessions, ↵Benny Prijono
evsub, and presence git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@283 74dad513-b988-da41-8d7b-12977e46ad98
2006-03-02Fixed bug when a disconnected INVITE session was brought to confirmed again ↵Benny Prijono
on receipt of ACK request git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@267 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-27Updated mingw compilationBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@241 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-25Tidying up and make it consistent with the documentationBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@230 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-23Added support for NULL frame in rtp stream, fixed bugs here and there in ↵Benny Prijono
INVITE (e.g. dont send SDP on 180), and set version to 0.5.1.2 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@223 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-22Fixed STUN errorBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@220 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-21Implemented major feature: call hold and transferBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@212 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-14Ported pjsip to WinCEBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@184 74dad513-b988-da41-8d7b-12977e46ad98