summaryrefslogtreecommitdiff
path: root/pjsip
AgeCommit message (Collapse)Author
2009-10-13Ticket #364: Upon unregistration, (un)REGISTER should be sent only after ↵Benny Prijono
(un)PUBLISH has completed successfully - wait for unpublication to complete or some delay expires, before sending unregistration - added unpublish_max_wait_time_msec field in account config to control how long to wait git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2942 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-11Ticket #951 (misc fixes):Benny Prijono
- fixed misc compiler warnings with gcc on Linux git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2938 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-10Ticket #965: Receiving (malformed) re-INVITE with the same Via branch ↵Benny Prijono
parameter value as previous INVITE would raise assertion (thanks Daniel Nanassy for the report) - also fix possible crashes when UAS transaction initialization fails for some reason git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2936 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-10-09Ticket #954: Added missing fix in r2933, updating local SE (to a value less ↵Nanang Izzuddin
than local Min-SE) should also update local Min-SE. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2934 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-09Ticket #954: Updated session timer to tolerate 'bad' SE (less than Min-SE ↵Nanang Izzuddin
specified in request) in 2xx response. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2933 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-09Fixed ticket #917, #936, and #967:Benny Prijono
- #917: CANCEL may be sent to different servers than the INVITE when DNS SRV is used (thanks Alexei Kuznetsov for the report) - #936: CANCEL must be sent with TCP if the INVITE was sent with TCP because of 1300 bytes message size/MTU limit (thanks Johan Lantz for the report) - #967: Wrong Route header generation in CANCEL request with strict route Save the server address(es) found by resolution process to tx_data, which is copied to CANCEL request. CANCEL request then uses this address rather than starting a fresh server resolution. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2932 74dad513-b988-da41-8d7b-12977e46ad98
2009-10-01Misc (ticket #951): increase CSeq on retrying MESSAGE request due to 401/407 ↵Benny Prijono
response (thanks Rafael Maia for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2923 74dad513-b988-da41-8d7b-12977e46ad98
2009-09-22Fixed ticket #959: Assertion upon receiving malformed SIP messages (thanks ↵Benny Prijono
Andrey Kovalenko for the report) - transaction checks for the method before processing incoming ACK request - transport layer checks the validity of status code in the response - added SIPP scenario to reproduce the bad ACK request git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2915 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-27Ticket #957: Initial version of TLS transport for Symbian, includes:Nanang Izzuddin
- Secure socket, generic abstraction and Symbian implementation (using CSecureSocket). - Initial rewriting of SIP TLS transport. - Updated symbian_ua.mmp to support SIP transport TLS (experimental). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2913 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-19Misc #951: use UPPERCASE characters in transport type in SIP Via header, ↵Benny Prijono
some endpoints complain about it (thanks Tzury Bar Yochay and Alain Totouom for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2903 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-17Misc (ticket #915): removed mention of version number in PJSIP (it's written ↵Benny Prijono
0.5.9!) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2898 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-17Ticket #866: Fixed compile error caused by implicit conversion from void* in ↵Nanang Izzuddin
test_stun_on_status(). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2895 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-17Ticket #948: Fixed bug Replaces extension stops functioning after the ↵Nanang Izzuddin
library is restarted, by adding deinit module function and register it into atexit. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2894 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-17Ticket #833: Fixed bug session timer won't work properly after pjsua-lib ↵Nanang Izzuddin
restarted, by adding deinit module function for session timer and register the deinit function into atexit. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2893 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-17Ticket #833: Updated previous fix for Session Timer (timer callback gets ↵Nanang Izzuddin
pending INVITE is in progress), instead of just quitting the callback, it may be better to reschedule the timer (for five seconds). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2890 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-17Ticket #833: Fixed bug in session timer, timer callback shouldn't perform ↵Nanang Izzuddin
re-INVITE or BYE when there is pending INVITE. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2889 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-17Ticket #945: Account config may not get initialized with default values if ↵Benny Prijono
pjsua_acc_config_default() is called before pjsua_init() - added call to pjsua_config_default() in init_data(), so the global config is now initialized in pjsua_create() git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2887 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-15More ticket #930 (New PJSUA-LIB account option to add user defined ↵Benny Prijono
parameters to the Contact header) - Fixed test failure in pjsip_test, due to Contact URI is now interpreted as Contact header git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2883 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-14Ticket #877: Fixed bug flip-flop pools shouldn't be swapped when SDP ↵Nanang Izzuddin
negotiation fails. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2879 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-08-13Misc (#915): removed unused fields (refresh_tm and hangup_tm) from pjsua_callBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2874 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-13Ticket #886:Nanang Izzuddin
- Added C++ wrapper files for C source files using exception (PJ_TRY & PJ_THROW). - Updated Symbian MMPs. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2873 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-12Ticket #933: Incoming OPTIONS may trigger assertion if it arrives when ↵Benny Prijono
PJSUA-LIB is being shutdown (thanks Johan Lantz for the report) - destroy the media subsystem after busy_sleep(1000) in the shutdown sequence - also handle the case when OPTIONS arrives just when PJSUA-LIB is being initialized and media transport is not ready (in this case just reply OPTIONS without message body) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2871 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-12Ticket #833: Updated Session Timer to keep the refresher role unchanged on ↵Nanang Izzuddin
any refreshes, by timer or manual. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2870 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-12Ticket #877: Memory consumption of the invite session grows indefinitely if ↵Benny Prijono
call is running for long period of time and with many re-INVITES - introducing flip-flop pools in the pjsip_inv_session. There are two additional pools created, and one of them will be reset everytime SDP negotiation is done to release memory back to the OS git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2869 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-12Ticket #833: Fixed pjsip_timer definition (should not in a typedef).Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2865 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-12Ticket #866: Allow application to specify more than one STUN servers for ↵Benny Prijono
more robustness, and continue application startup if STUN resolution fails PJSUA-LIB: - New fields in pjsua_config to specify more than one STUN servers (the stun_srv_cnt and stun_srv array) - The existing stun_host and stun_domain fields are deprecated, but backward compatibility is maintained. If stun_srv_cnt is zero, the library will import the entries from stun_host and stun_domain - The library will now resolve the STUN server entries one by one and test it before using it - New auxiliary API pjsua_resolve_stun_servers() to perform resolution and test against array of STUN servers pjsua application: - The "stun-srv" command line options can now be specified more than once git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2864 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-11Ticket #833:Nanang Izzuddin
- Updated build config for VS6, Symbian, and Makefile for Session Timer. - Fixed C/C++ cross-linking problem on some compilers (e.g: Symbian GCCE). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2861 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-11Ticket #930: Fixed compile error for C++ (missing explicit casting from void*).Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2860 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-11Ticket #833:Nanang Izzuddin
- Renamed pjsip_timer_default_setting() to pjsip_timer_setting_default(). - Updated session timer settings in pjsua-lib as whole session timer setting struct (pyhton version remains using se & min_se). - Added output param SIP status code in pjsip_timer_process_resp() and pjsip_timer_process_req() to specify the corresponding SIP status code when function returning non-PJ_SUCCESS. - Fixed print header functions in sip_timer.c to have buffer check. - Added PJSIP_SESS_TIMER_DEF_SE setting to specify the default value of session timer interval. - Fixed role reference of the refresher, it is transaction role, not dialog role. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2859 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-11Ticket #833:Nanang Izzuddin
- Initial version of Session Timers (RFC 4028). - Added new options in pjsua app to configure Session Timers settings. - Added python tests for Session Timers. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2858 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-11Misc fix (ticket #915): Fixed bug in checking transaction registration with ↵Nanang Izzuddin
same key, passing wrong pointer of transaction key. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2857 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-06Ticket #934: Fixed pjsip_inv_verify_request2() to also checks all registered ↵Nanang Izzuddin
extensions (via pjsip_endpt_add_capability()). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2856 74dad513-b988-da41-8d7b-12977e46ad98
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-08-04Ticket #930:Nanang Izzuddin
- Changed semantic of pjsua_acc_config.contact_params, it is now used for specifying Contact header parameters (it was used for specifying Contact URI parameters). - Added a new field pjsua_acc_config.contact_uri_params, for specifying Contact URI parameters. - Added fields pjsua_acc_config.contact_params and pjsua_acc_config.contact_uri_params into python pjsua. - Updated/added option in pjsua app to specify Contact header parameters and Contact URI parameters. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2852 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-07-16Sound device is not automatically started after pjsua_set_no_snd_dev() is ↵Benny Prijono
called, even after pjsua_set_snd_dev() is called git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2837 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-15Ticket #919:Nanang Izzuddin
- Added default ilbc mode into codec passthrough setting. - Added iLBC mode 'negotiation' in iLBC codec_open(). - Updated stream_create() to prioritize codec_open(), that may update the codec params, over stream initializations involving codec params. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2834 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-30Ticket #910:Nanang Izzuddin
- Added a new API pjmedia_codec_passthrough_init2(). - Updated the initialization steps of passthrough codec in pjsua_media.c, to configure the codecs (of passthrough codec) to be enabled based on audio device extended/encoded formats. - Minor update: added passthrough.h into pjmedia_codec.vcproj. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2825 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-30Related to #911:Benny Prijono
- added subscription state name string in pjsua_buddy_info and display this in pjsua git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2824 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-25Ticket #906: Transaction is not destroyed when transport timeout event comes ↵Benny Prijono
later than transaction timeout (thanks Norma Steveley for the report) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2797 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-22Ticket #758:Nanang Izzuddin
- fixed transport TCP to call on_connect_complete when connect() returns PJ_SUCCESS. - added option to enable transport TCP in symbian_ua. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2781 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-17Misc fix (ticket #838): compilation warning when int is not typecasted to ↵Benny Prijono
pjsip_transport_type_e enum git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2766 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