summaryrefslogtreecommitdiff
path: root/pjsip/src/pjsip-ua
AgeCommit message (Collapse)Author
2009-04-27Ticket #798: UAC disconnect call when receiving BYE in early state (thanks ↵Benny Prijono
Gang Liu for the suggestion) - UAC now handles the BYE, and treat it as out-of-order disconnect request, meaning that it will disconnect the call - it will also activate timer to terminate the INVITE transaction, in case final response never arrives - added SIPp UAS scenario to test this - also added forked 200/OK response SIPp scenario, - and fixed the prack_fork.xml SIPp scenario git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2650 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-26Fixed ticket #506: Behavior when cancelling INVITE before provisional ↵Benny Prijono
response is received - do not stop INVITE retransmission - updated pjsip_inv_end_session() documentation git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2647 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-26Fixed ticket #503: Handle the case when CANCEL is responded with 200/OK but ↵Benny Prijono
487 is not sent - added new API pjsip_tsx_set_timeout() - set 64*T1 timeout after CANCEL is initiated - also added SIPp scenario to simulate the UAS git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2646 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-23Fixed ticket #794: Bug with generating SDP version in origin line (thanks ↵Benny Prijono
Joel Dodson for the report) - the INVITE session now correctly uses the SDP offer "fixed" by the negotiator, hence it will have the correct origin fields. - removed update_sdp_version() from PJSUA-LIB - the negotiator now also fixes the session ID of subsequent answer so that it's identical to the previous SDP git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2643 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-14Related to ticket #786: potential memory leak in invite sessionBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2594 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-23Updated copyright notice in all files to Teluu Inc., and changed the year as ↵Benny Prijono
well git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2394 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-18Fixed minor gcc compilation warningsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2385 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-17Ticket 684: protect the memory allocation for TX packet with try/catch, and ↵Benny Prijono
fixed various transmit data buffer leaks when transmission fails immediately git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2380 74dad513-b988-da41-8d7b-12977e46ad98
2008-11-27More ticket #10: changed to signature of the redirection callbacks to make ↵Benny Prijono
it more natural to use git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2371 74dad513-b988-da41-8d7b-12977e46ad98
2008-11-27Ticket #10: handle redirection response in the invite sessionBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2370 74dad513-b988-da41-8d7b-12977e46ad98
2008-10-31Ticket #657: (Partial early media forking support) renegotiate SDP upon ↵Benny Prijono
receiving forked 2xx response after 183 is received git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2362 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-22Ticket #641: Assertion error when late 200/OK is received after call has ↵Benny Prijono
been disconnected (thanks Dan Åberg for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2306 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-21Ticket #640: Crash when receiving ACK with SDP after BYE has been received ↵Benny Prijono
(thanks Amit Sharma for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2304 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-11Ticket #620: PRACK is sent to the wrong UAS when 100rel is used and the ↵Benny Prijono
dialog forks (thanks Ruud Klaver for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2271 74dad513-b988-da41-8d7b-12977e46ad98
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-06-13Fixed various compilation warnings with gcc strict compilationBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2015 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-06Ticket #418 Protect client registration session with mutexBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1992 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-04Fixed gcc warnings about type pruned pointersBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1981 74dad513-b988-da41-8d7b-12977e46ad98
2008-05-17Ticket #534: Client register/registration support for various registrar ↵Benny Prijono
brokenness git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1959 74dad513-b988-da41-8d7b-12977e46ad98
2008-05-04If regc.check_contact is disabled, and no Expires header has been found, but ↵Benny Prijono
the server does return one single Contact header, assumes that the server is broken/unable to return the correct Contact. In this case, get the expiration from the single Contact header in the response (thanks Alan Bond) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1946 74dad513-b988-da41-8d7b-12977e46ad98
2008-04-17Fixed bug: the status line in sipfrag content (for REFER) must ends with a CR-LFBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1933 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-03-02Ticket #498: Option in client registration to ignore Contact address in ↵Benny Prijono
REGISTER response git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1837 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-22Ticket #7: Move PJSIP compile time configurations/settings (such as T1, T2 ↵Benny Prijono
timers) to run-time (thanks Philippe Leuba) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1818 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-23Fixed ticket #423: Client registration (pjsip_regc) doesn't obey explicit ↵Benny Prijono
transport selection (thanks Hitesh) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1593 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-10Fixed compilation warnings/errors under C++ modeBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1569 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-11-04Fixed bug with detecting successful unregistration request. Previously, ↵Benny Prijono
successful unregistration was mistakenly treated as successful registration when it contains no Contact header and has positive Expires header value git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1547 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-24Fixed ticket #401: Unable to register when account URI contains display nameBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1518 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-04Related to ticket #385: fixed gcc compilation warningsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1474 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-04Ticket #390: Register session will keep transport instance so that ↵Benny Prijono
keep-alive is sent git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1472 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-10-01Related to ticket #385: bug in 100rel causing 2xx response to be queued ↵Benny Prijono
indefinitely when UAS previously sent 1xx response with SDP git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1467 74dad513-b988-da41-8d7b-12977e46ad98
2007-09-30Fixed compilation error in sip_100rel.c when c++ mode is usedBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1464 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-09-30Minor fix: changed file identification in log (the THIS_FILE macro) from ↵Benny Prijono
sip_regc.c to sip_reg.c git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1458 74dad513-b988-da41-8d7b-12977e46ad98
2007-09-24Fixed several unit test failures: typecast error on C++ mode, SIP parsing, etc.Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1451 74dad513-b988-da41-8d7b-12977e46ad98