summaryrefslogtreecommitdiff
path: root/pjsip/src/pjsip-ua/sip_reg.c
AgeCommit message (Collapse)Author
2009-08-05Ticket #930:Nanang Izzuddin
- Updated semantic of contact param in functions pjsip_dlg_create_uac(), pjsip_dlg_create_uas(), pjsip_endpt_create_request() and also variable pjsua_acc.contact to be Contact header value (was Contact URI). - Updated docs related to above modifications. - Fixed pjsua_im_send() in generating contact header, it should use pjsua_acc.contact instead, if it is set. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2855 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-02Ticket #870: Changed the mapping of host resolution failure to SIP status ↵Benny Prijono
code 502 from 503 (thanks Robert Cichielo for the report) - also fixed client registration to use the reason phrase of the transaction rather than to retrieve the default reason phrase for the status code git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2732 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-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-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
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-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-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-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-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
2007-09-11Fixed ticket #371: Bug with REGISTER expiration calculation (thanks Philippe ↵Benny Prijono
Leuba) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1431 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-01Fixed ticket #316: Crash in registration session when transport returns ↵Benny Prijono
error on sending authentication retry git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1335 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-01Added assertion in regc to check if application has called ↵Benny Prijono
pjsip_regc_destroy() while transaction was in progress git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1332 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-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-02-05Fixed ticket #89: implement transaction timeout in REGISTER request (thanks ↵Benny Prijono
Frank Wiersma for reporting the problem) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@932 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-26Fixed ticket #81: registration refresh crashed when NIC is plugged-offBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@908 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-21Fixed ticket #73: regc does not respond to 401/407 challenge after it has ↵Benny Prijono
been marked for deletion git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@891 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-12Workaround for ticket #50: added API to lock/bind transaction, dialog, and ↵Benny Prijono
regc to a specific transport/listener git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@879 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-02Fixed ticket #36: pjsip_regc_unregister() SHOULD NOT unregister all contacts ↵Benny Prijono
but rather only contact that was previously sent in the registration. In addition, added function pjsip_regc_unregister_all() to unregister all contacts git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@843 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-01Fixed ticket #34: unable to send REGISTER in the registration callbackBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@841 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-11Add pjsip_regc_add_headers() APi to set headers to be added Benny Prijono
to the REGISTER request. This solves the problem where headers registered in the initial REGISTER request (such as User-Agent header) are not sent in subsequent reregistration request. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@799 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-16Fixed bug in client registration when pjsip_endpt_send_request() returns ↵Benny Prijono
immediate error git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@776 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-13Fixed bug in client REGISTER: crashed when application calls ↵Benny Prijono
pjsip_regc_register()/pjsip_regc_send() while previous REGISTER request has not been answered with final response. This occurs for example when pjsip_regc_register() is called in quick successions. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@714 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-08Fixed bugs in client registration (sip_regc.c): when re-registration failed ↵Benny Prijono
to send the request, application callback is not called. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@663 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-08Added logging in sip_regc.c to report the error when pjsip_regc_send() fails ↵Benny Prijono
(because no error will be logged when re-registration fails). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@662 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-26First stage in pjsua library re-arrangements towards creating an easy to use ↵Benny Prijono
high level API git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@476 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-22Fixed bug in registration (CSeq not incremented after 401)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@219 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-19SIMPLE test with FWD, and added more info in UIBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@201 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-09Setting svn:eol-style attributeBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@167 74dad513-b988-da41-8d7b-12977e46ad98
2006-02-07Tested initial implementation: basic UAC, client registration, ↵Benny Prijono
authentication, etc git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@141 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-21Set svn:eol-style propertyBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@65 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-20More compliant URI parser, comparison, etc.Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@64 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-18Pretty commentsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@51 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-13Applying license to pjprojectBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@49 74dad513-b988-da41-8d7b-12977e46ad98
2005-11-09Organizing pjsip directory structureBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/main@39 74dad513-b988-da41-8d7b-12977e46ad98