summaryrefslogtreecommitdiff
path: root/pjsip
AgeCommit message (Collapse)Author
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
2009-06-12Ticket #882: Added check of active call count before auto-close sound device.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2758 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-08Ticket #831: Added compile-time option to disable/prevent transport ↵Nanang Izzuddin
switching to TCP. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2756 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-05Ticket #880: Pressing call hold twice in pjsua will cause call to be unheldBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2752 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-04Ticket #860:Benny Prijono
- will send SUBSCRIBE to refresh REFER subscription (not REFER!), only when required (such as when call transfer is running for longer than REFER subscription expiration, hence need to be refreshed) - replaced hardcoded REFER subscription duration (600s) with a macro, {{{PJSIP_XFER_EXPIRES}}}. - when NOTIFY with "200 OK" sipfrag body is received and subscription state is not terminated, send SUBSCRIBE with Expires=0 to terminate the REFER subscription - for transferee, terminate the subscription in CONNECTING state and not in CONFIRMED state. Terminating the subscription in CONFIRMED state causes redundant NOTIFYs with "200 OK" sipfrag body to be sent, one with active subscription and another with terminated state. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2750 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-04Ticket #861: IPv6: when an IPv6 URI has ";transport=udp" parameter, the ↵Benny Prijono
resolver will use IPv4 transport and it will fail to resolve the URI git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2746 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-04Ticket #863: Account may always re-register with IPv6, due to string ↵Benny Prijono
comparison of IPv6 address. Note: this needs ticket #878) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2745 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-04More ticket #878 (New PJLIB API to parse socket address string):Benny Prijono
- updated PJSUA-LIB to use the new API git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2744 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-03More ticket #876:Benny Prijono
- fixed crash when null-audio is used with switchboard git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2742 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-03Ticket #876: Second call fails to open the sound device event when ↵Benny Prijono
--null-audio is set git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2741 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-03Ticket #822: Retransmit provisional response every 1 minuteBenny Prijono
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2739 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-03Misc (ticket #838): removed all Python doxygen comments/documentations from ↵Benny Prijono
pjsua.h as these has been deprecated by new Python abstraction long time ago git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2738 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-03Misc (ticket #838): added link to the ticket which changed the account ↵Benny Prijono
re-registration rule git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@2737 74dad513-b988-da41-8d7b-12977e46ad98