summaryrefslogtreecommitdiff
path: root/pjsip/src/pjsip-simple
AgeCommit message (Collapse)Author
2010-01-05Misc (#1003): fixed bug: wrong month value in PIDF timestamp generation ↵Benny Prijono
(thanks Johan Lantz for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@3045 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-26Implement ticket #982: Support for SIP Message Summary/Message Waiting ↵Benny Prijono
Indication (MWI, RFC 3842) - PJSIP-SIMPLE: - implement MWI - PJSUA-LIB: - added "mwi_enabled" flag in account config - added "on_mwi_info" callback - pjsua app: - added "--mwi" option to enable MWI on account - added simple callback to log the NOTIFY message - other: - added SIPp scenario files to simulate UAS side - build: - added MWI support on VS6, VS2005, MMP, and Makefile git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2968 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-12Ticket #411: Cannot update account presence's status while previous PUBLISH ↵Benny Prijono
is in progress (thanks Olivier Beytrison for the report) - enable request queueing. If PUBLISH is to be sent while another one is still in progress, queue the request and send it later when the ongoing request completes - this behavior is controlled by new pjsip_publishc_opt structure to control session's options - default behavior is to queue the request git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2940 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-12Related to ticket #411 (Cannot update account presence's status while ↵Benny Prijono
previous PUBLISH is in progress): - Crash in timer if publication session is terminated prematurely. To reproduce: publish two events in quick successions, e.g. by pressing "t" in pjsua couple of times. The publication session will be terminated with PJ_EBUSY status, and crash may occur when timer heap is polled. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2939 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-09Ticket #966: Bad RPID <person> id attribute generation (thanks Filipe ↵Benny Prijono
Figueiredo for the report) - make sure the id starts with letter git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2935 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-13Better fix for ticket #938: Presence PIDF document may be rejected by ↵Benny Prijono
presence servers that implement strict XML checking (thanks Johan Lantz for the fix) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2877 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-13Fixed ticket #938: Presence PIDF document may be rejected by presence ↵Benny Prijono
servers that implement strict XML checking (thanks Johan Lantz for the fix) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2876 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-30Ticket #927: PIDF timestamp is not added to the tuple (thanks Johan Lantz ↵Benny Prijono
for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2848 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-30Ticket #911: Crash when receiving NOTIFY after subscription is terminated ↵Benny Prijono
(thanks Johan Lantz for the report) - fixed the bug by not processing the NOTIFY if the subscription is already terminated - also added SIPp scenario to reproduce the bug git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2822 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-17Ticket #873: Minor update: cleaned up compile warnings of undefined function.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2764 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-15Ticket #873: Include the parsed XML tuple in the pjsip_pres_status, and ↵Benny Prijono
include it in the pjsua_buddy_info in PJSUA-LIB, in case the PIDF document contains other info that is needed by application (thanks Johan Lantz for the suggestion) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2762 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-05More ticket #869: Added PJSIP_PUBLISHC_DELAY_BEFORE_REFRESH configurationBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2754 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-01Ticket #869: Make various event/presence subscription time settings ↵Benny Prijono
configurable (thanks Johan Lantz for the suggestion) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2730 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-01More ticket #868: compilation error due to changes in pj_xml_find() functionBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2729 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-28Ticket #760: Enhancements to PUBLISH management (thanks Johan Lantz for the ↵Benny Prijono
suggestion) - Changes in PJSUA-LIB - retry with fresh request on 412/Conditional Request Failed response - changed default Expires in PUBLISH request to none (we will not put Expires), to avoid getting 423/Interval Too Brief response - if the PUBLISH fails for any reason, it will be retried on every PJSUA_PRES_TIMER (default 300 seconds), similar to how failed SUBSCRIBE will be retried - Changes to publish.h: - added API to add headers in every PUBLISH request - Added test scenario in Python unit tests git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2661 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-07-17Ticket #574: Add new API to know why the outgoing subscription request is ↵Benny Prijono
terminated and added support for delaying subscription acceptance git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2149 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-16Ticket #573: Handle receiving short version of Event headerBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2147 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-13Ticket #564: Reduce the memory usage for default pjsip settingsBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2131 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-07Stop putting PUBLISH in Allow header since that's probably is not ↵Benny Prijono
semantically correct (thanks Ruud Klaver for the suggestion) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2108 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-01Ticket #553: PUBLISH callback is not called when authentication fails ↵Benny Prijono
(thanks Ruud Klaver for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2095 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
2007-10-25Added assertion which checks if evsub module has been registered before ↵Benny Prijono
other calls pjsip_evsub_register_pkg() (thanks Alexander Agranovsky) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1522 74dad513-b988-da41-8d7b-12977e46ad98
2007-09-12Ticket #349 revisited: Crash when sending PUBLISH when network is unreachableBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1432 74dad513-b988-da41-8d7b-12977e46ad98
2007-08-25Implement ticket #336: custom presence status in NOTIFY/PUBLISH, supporting ↵Benny Prijono
subset of RPID elements git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1424 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-28Ticket #349: Crash when sending PUBLISH when network is unreachableBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1398 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-27Ticket #347: Assertion failure when handling incoming presence subscription ↵Benny Prijono
with Expires=0 git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1396 74dad513-b988-da41-8d7b-12977e46ad98
2007-06-27Ticket #346: deadlock in event subscription when SUBSCRIBE is followed ↵Benny Prijono
immediately with UN-SUBSCRIBE git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1395 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-29Fixed ticket #307: Fail to parse fully qualified PIDF document (thanks ↵Benny Prijono
Cool_Zer0) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1313 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-23Fixed ticket #291: Free memory read in PUBLISH sessionBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1292 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-02Ported PJSIP and PJSIP-SIMPLE to SymbianBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1241 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-04Ticket #209: Added XMLNS for attribute for PIDF document (thanks Tory Patnoe)Benny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@1146 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
2006-09-22In pjsua, outgoing REFER now always put Refer-Sub: falseBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@733 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-13Fixed bug in event subscription: for event subscriptions established by ↵Benny Prijono
non-SUBSCRIBE method (such as REFER), the method to refresh/unsubscribe subscription would still be SUBSCRIBE, not the initial method to establish subscription. There's no known ill effect of this bug (that I know of), but it's still important that this one has been fixed. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@712 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-20Added initial "norefersub" (RFC 4488) implementation in PJSUA-LIB, and also ↵Benny Prijono
properly register all supported SIP method, accepted content type, and supported extensions to endpoint. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@688 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-15Support for PUBLISH (RFC 3903):Benny Prijono
- API BREAK: pjsua_pres_create_uac() API CHANGED!! Added options in the function, to allow creating SUBSCRIBE without ";id=" parameter in the Event header. - the generic event publication in pjsip-simple/publish.[hc] - split PIDF and X-PIDF body generation and parsing into pjsip-simple/presence_body.c. - allow NULL in module parameter in pjsip_endpt_add_capability() - added "--publish" option in PJSUA. - by default, PJSUA-LIB will not add ";id=" parameter in Event header in the SUBSCRIBE request since lots of server and user agents don't support this correctly. - Set version to 0.5.7.6. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@685 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-15Added initial PUBLISH client support, and also default account selection in ↵Benny Prijono
pjsua/pjsua-lib git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@683 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-01Added simple WinCE application:Benny Prijono
- added pjsua_wince in pjsip-apps, which is a simple SIP UA application just to broadly test pjsip/pjmedia on WinCE. - Fix name conflicts in xpidf.c (e.g. ATOM variable conflicts with ATOM type in WinCE SDK). - Fix speex compilation errors on Wince (e.g. inline keyword is not recognized, replaced with PJ_INLINE). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@641 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-17Fixed bugs with the parsing (re: allowable chars): (1) Parameters in URI and ↵Benny Prijono
header should have different spec. URI should use paramchar spec while header should use token spec (thanks Jeroen van Bemmel) (2) The same rule applies when escaping the parameters during printing process (3) While we're on it, also fixed the tel-URI parser to automatically unescape the parameter values. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@606 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-19Changed in presence: incoming NOTIFY without body will not change presence ↵Benny Prijono
status (previously it will set status to closed) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@519 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-29Fixed bug in event subscription when it is challenged/authenticatedBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@424 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-18Added option to disable error message altogether, to save space footprintBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@330 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-07Updated evsub to sync with the docBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@306 74dad513-b988-da41-8d7b-12977e46ad98