Commit Graph

740 Commits

Author SHA1 Message Date
Benny Prijono 8ccd42897e Misc (ticket #951): fixed crash in pjsua application during shutdown with STEREO_DEO (thanks Andreas Ahland for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2906 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-21 11:12:19 +00:00
Nanang Izzuddin 8085b51327 Ticket #833: Updated dump-config in pjsua app to include Session Timer settings (and 100rel).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2897 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-17 20:28:47 +00:00
Benny Prijono ec5fb81de0 Misc (ticket #915): added reload command in pjsua to shutdown and reinitialize the library
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2892 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-17 15:33:45 +00:00
Benny Prijono 70dfc273ec Bug fix for ticket #833 (session timer support)
- bug in verifying --timer-se option in pjsua



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2867 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-12 17:28:36 +00:00
Benny Prijono bb995fd284 Ticket #866: Allow application to specify more than one STUN servers for 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: https://svn.pjsip.org/repos/pjproject/trunk@2864 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-12 11:03:23 +00:00
Nanang Izzuddin 0ea0ead00e Misc fix (ticket #915): Fixed bug of a wrong check variable used in writing playback_lat setting in pjsua app (thanks Wolfgang Fritz for the fix).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2862 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-11 18:34:03 +00:00
Nanang Izzuddin 65add62e5e Ticket #833:
- 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: https://svn.pjsip.org/repos/pjproject/trunk@2859 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-11 16:26:20 +00:00
Nanang Izzuddin 59dffb1a5c Ticket #833:
- 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: https://svn.pjsip.org/repos/pjproject/trunk@2858 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-11 12:42:38 +00:00
Benny Prijono 7e8e0c1653 More ticket #925: added compile time option to enable verbose logging output, and one more fix about samples_per_frame mismatch
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2854 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-05 17:10:35 +00:00
Nanang Izzuddin e2c7e85a43 Ticket #930:
- 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: https://svn.pjsip.org/repos/pjproject/trunk@2852 74dad513-b988-da41-8d7b-12977e46ad98
2009-08-04 14:36:17 +00:00
Benny Prijono 1f47f3f56d Ticket #925: New application to simulate network and system impairments to see how it affects the audio quality
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2846 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-29 12:28:31 +00:00
Benny Prijono dbf4cb963f More ticket #920: fixed wrong latency calculation when there is loud noise in the start of recording
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2840 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-18 09:18:26 +00:00
Benny Prijono 258dc213b2 More ticket #720: added Win32 target in VS2005 project
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2839 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-17 11:37:42 +00:00
Benny Prijono 5a8663af07 More ticket #920: fixed VS directory output for WM6 Pro
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2838 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-16 18:53:39 +00:00
Benny Prijono ff64ccfa2f More ticket #920: fix latency calculation not able to calculate latency higher than 500ms and added copyright info in source files
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2836 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-16 11:37:15 +00:00
Benny Prijono 7b40c6c166 Ticket #920: New pjsystest application for testing target system/device. Initial work on Win32 and WM
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2835 74dad513-b988-da41-8d7b-12977e46ad98
2009-07-16 10:36:48 +00:00
Benny Prijono d06d8c505f Related to #911:
- added subscription state name string in pjsua_buddy_info and display this in pjsua


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2824 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-30 13:53:47 +00:00
Nanang Izzuddin d687a5028c Ticket #909:
- Added new audio device VAS for Symbian platform.
 - Updated symsndtest to use the latest audio device framework.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2821 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-30 13:37:26 +00:00
Nanang Izzuddin 940d3f625a Ticket #758:
- 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: https://svn.pjsip.org/repos/pjproject/trunk@2781 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-22 14:06:40 +00:00
Nanang Izzuddin 7433b1ee93 Misc (#838): Updated symbian_ua_gui.mmp libraries order, previously there was linking error on MR when APS direct enabled.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2780 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-22 13:55:26 +00:00
Nanang Izzuddin 530820eab9 Misc (#838): Added libpassthroughcodec.lib into symbian_ua_gui.mmp.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2779 74dad513-b988-da41-8d7b-12977e46ad98
2009-06-22 12:03:01 +00:00
Benny Prijono 329d638568 Integration of Sipit24 branch, many tickets involved:
- #793: AMR encoder should regard 'mode-set' param specified by remote decoder.
 - #831: Automatically switch to TCP transport when sending large request
 - #832: Support for outbound proxy setting without using Route header
 - #849: Modify conference audio switch behavior in connecting ports.
 - #850: Remove 'Require=replaces' param in 'Refer-To' header (in call transfer with replaces).
 - #851: Support for regular nomination in ICE
 - #852: --ip-addr support for IPv6 for media transport in pjsua
 - #854: Adding SOFTWARE attribute in all outgoing requests may cause compatibility problem with older STUN server (thanks Alexei Kuznetsov for the report)
 - #855: Bug in digit map frequencies for DTMF digits (thanks FCCH for the report)
 - #856: Put back the ICE candidate priority values according to the default values in the draft-mmusic-ice
 - #857: Support for ICE keep-alive with Binding indication
 - #858: Do not authenticate STUN 438 response
 - #859: AMR-WB format param in the SDP is not negotiated correctly.
 - #867: Return error instead of asserting when PJSUA-LIB fails to open log file




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2724 74dad513-b988-da41-8d7b-12977e46ad98
2009-05-29 13:04:03 +00:00
Nanang Izzuddin b696cedcfa Ticket #847: Fixed audio device settings/macros in symbian_ua_gui.mmp.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2698 74dad513-b988-da41-8d7b-12977e46ad98
2009-05-14 14:31:09 +00:00
Nanang Izzuddin c91cd64b13 Ticket #818:
- Updated config_site_sample.h to enable resampling with small filter on WM platforms. 
 - Updated quality setting in WM sample apps (PocketPJ & pjsua_wince) to use default value.
 - Updated VS projects of G722.1, Speex, libresample: turning on optimization for debug mode on WM platforms.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2678 74dad513-b988-da41-8d7b-12977e46ad98
2009-05-06 18:59:31 +00:00
Nanang Izzuddin 494ff7f82c Ticket #818:
- Added libresample.mmp
 - Modified config_site_sample.h to enable resampling with small filter on Symbian platforms.




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2676 74dad513-b988-da41-8d7b-12977e46ad98
2009-05-06 15:37:47 +00:00
Benny Prijono fb4b4e1333 Part of #706, #809: fix Python module build error and added python_pjsua to the main .sln
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2674 74dad513-b988-da41-8d7b-12977e46ad98
2009-05-06 10:28:52 +00:00
Nanang Izzuddin 7f02df4d4e Ticket #772 (misc fix): Reverted back symbian_ua app UID to use unprotected/development UID range to avoid installation problem when installer is self-signed.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2673 74dad513-b988-da41-8d7b-12977e46ad98
2009-05-05 10:46:51 +00:00
Benny Prijono 8267464c5d Ticket #810 and part of #706: changed samples output directory to bin/samples/$TARGET
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2669 74dad513-b988-da41-8d7b-12977e46ad98
2009-05-01 10:05:13 +00:00
Benny Prijono c95649bdc2 More ticket #774: added g722.1/Siren7/Siren14 codecs to Symbian
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2666 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-29 20:59:22 +00:00
Benny Prijono dc8c49028e More ticket #706: renamed output names from vs8 to vc8 to make it backward compatible
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2664 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-29 15:30:38 +00:00
Nanang Izzuddin f10b04b989 Ticket #706: Merged branch vs-reorg2 into trunk:
- Currently supported platforms are: Win32, WM6 std & pro, WM5 SP & PPC, WM2003 SP & PPC.
 - Added libpjproject into solution, this is a single 'combo' library that bundles all PJSIP libraries.
 - Cleaned up most of compile warnings, note that warning level of libgsmcodec has been reduced from 4 to 3.




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2660 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-28 19:38:43 +00:00
Nanang Izzuddin c0a146a45d Updated output & intermediate dir settings in samples.vcproj for WM platforms (just for directory cleanness).
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/vs-reorg2@2659 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-28 19:18:03 +00:00
Nanang Izzuddin 679bdb720f Added 'combo' lib project that bundles all pjproject libraries into a single 'big' library.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/vs-reorg2@2658 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-28 15:52:27 +00:00
Nanang Izzuddin 2e4f03fd27 Cleaned up bunch of compile warnings. Special for libgsmcodec, its warning level is reduced from 4 to 3.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/vs-reorg2@2654 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-27 19:18:38 +00:00
Nanang Izzuddin c2d3bc6479 - Added some missing 'output' directories & set svn:ignore attribute.
- Modified precompiled header in pjsua_wince project settings.
- Added property sheets for WM5 & wm2003 platforms.
- Added additional libs "secchk.lib" & "ccrtrtti.lib" for wm2003 linking in its property sheet.



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/vs-reorg2@2652 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-27 14:35:37 +00:00
Benny Prijono 7efa2d60cc Ticket #798: UAC disconnect call when receiving BYE in early state (thanks 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: https://svn.pjsip.org/repos/pjproject/trunk@2650 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-27 12:50:16 +00:00
Nanang Izzuddin 89c273edc7 Initial VS settings for all platforms.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/vs-reorg2@2649 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-27 12:41:05 +00:00
Benny Prijono fe8e582c56 More ticket #706: removed all currently unsupported platforms such as WM 2003 from all projects and solution, to remove Mixed Platforms which is suspected to have caused VS to hang. These platforms will be re-added again later
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2645 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-23 14:53:30 +00:00
Nanang Izzuddin 00fdd88b61 Ticket #706:
- Added missing PocketPj.vcproj.
 - Updated include paths of pjmedia_codec.vcproj.
 - Fixed pjproject-vs8.sln that might cause VS stuck in loading.




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2640 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-22 15:37:28 +00:00
Nanang Izzuddin 0cf8d05d62 Ticket #706: Merged branch vs-reorg into trunk:
- Currently supported platforms are Win32 & WM6 std/pro.
 - Renamed project test_pjsip with pjsip_test, also source directory 'test-pjsip' to 'test'.




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2638 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-22 14:27:55 +00:00
Nanang Izzuddin 432dd25d47 #792: Updated samples makefile to sync output file name format as other projects, removed Mixed Platform from VS Solution.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/vs-reorg@2637 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-22 13:37:11 +00:00
Nanang Izzuddin 0ed1df0703 #792: Resetted DeleteExtensionsOnClean setting for pjsua_wince.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/vs-reorg@2636 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-22 11:06:07 +00:00
Perry Ismangil 721c0f0a5e #792 work in progress testing simple proj change
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/vs-reorg@2633 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-22 10:04:20 +00:00
Nanang Izzuddin 5ac6cdf3a7 #792: Fixed WM6 build configs, updated svn prop for pjsua_wince & pocketpj.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/vs-reorg@2631 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-21 19:04:26 +00:00
Nanang Izzuddin 57ccc7ff4f #792: Updated output file name: use short platform name wm6std/pro & replace hyphen with dash.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/vs-reorg@2630 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-21 17:00:57 +00:00
Perry Ismangil 50a7530d1d #792 work in progress
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/vs-reorg@2629 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-21 14:59:35 +00:00
Nanang Izzuddin ae0e64b159 #792: updated pocketpj & pjsua_wince so it's runable in Release & Debug config.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/vs-reorg@2628 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-21 14:08:49 +00:00
Nanang Izzuddin c2856f7776 #792: initial config for WM6 apps, added PocketPj & pjsua_wince
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/vs-reorg@2627 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-21 12:50:49 +00:00
Nanang Izzuddin 29b6baf2c4 #792: Renamed test_pjsip to pjsip_test, updated some missing settings for Win32 platform.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/vs-reorg@2626 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-21 11:12:40 +00:00
Nanang Izzuddin 6ae3846f7e #792: Updated property sheet win32-common and updated some projects settings
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/vs-reorg@2625 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-20 20:11:18 +00:00
Perry Ismangil 740891ec08 #792 work in progress: all vcproj now has property sheets wired in.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/vs-reorg@2622 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-20 16:41:35 +00:00
Nanang Izzuddin a5c1abf3fb Added sample of ps inherited from another ps.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/vs-reorg@2609 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-17 13:54:57 +00:00
Nanang Izzuddin 56e380affa Ticket #774:
- Added build config for GNU autoconf & make.
 - Fixed some G.722.1 codes for linux & mingw32 targets, e.g: types 
defs, collision function name 'round'.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2601 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-15 14:45:41 +00:00
Benny Prijono 3ec27ba23c More ticket #780: more work on icedemo sample application
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2600 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-15 13:38:40 +00:00
Benny Prijono 0023877556 Ticket #780: initial work on an ICE demo app
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2592 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-13 18:41:04 +00:00
Perry Ismangil aedca3a8de Branching for #706 work on reorganisation of Visual Studio projects
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/vs-reorg@2588 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-08 22:17:46 +00:00
Perry Ismangil 05d1769aaf #706 work in progress: all Win32 projects now have all 6 configs. Settings not correct yet.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2584 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-08 11:28:16 +00:00
Benny Prijono ef1391705e Misc (ticket #772): removed pasound.c and wmme_sound.c from pjmedia eVC4 project, and added pjmedia_auddev_wince to wince_demos eVC4 workspace and fix the pjsua_wince project dependency
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2571 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-06 10:53:51 +00:00
Benny Prijono 8972bf0c3b Ticket #776: IPv6 option in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2568 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-05 18:30:45 +00:00
Benny Prijono a2591fe7fa Misc (ticket #772): added pjmedia-audiodev to pjsip_apps VS6 workspace
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2567 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-03 10:21:14 +00:00
Benny Prijono 45f2f35792 Misc (ticket #772): bug in pjsua application when reading the URL from the buddy list, causing corrupt/invalid URI to be returned
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2566 74dad513-b988-da41-8d7b-12977e46ad98
2009-04-02 12:15:23 +00:00
Benny Prijono 045ce3e37d Misc (ticket #772): added pjmedia-audiodev dependency for PocketPJ in EVC4 workspace
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2561 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-30 18:27:24 +00:00
Perry Ismangil 74338058c2 Addition of Debug-Static, Debug-Dynamic, Release-Static, and Release-Dynamic build configuration for Visual Studio, for Win32 target
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2559 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-30 12:15:43 +00:00
Nanang Izzuddin fc96d5baf9 Ticket #771 (auddev-misc): Minor fix in auddemo menu.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2558 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-27 15:43:44 +00:00
Nanang Izzuddin 21286f269d Ticket #771 (auddev-misc):
Updated audio test tool:
 - Fixed playback report on avg interval.
 - Added feature to set/get capture & playback latecies setting.
 - Minor update on drift calculation, improve a bit readibility for debugging.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2555 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-27 15:15:46 +00:00
Nanang Izzuddin eaed311096 Ticket #737: Updated eVC 4 projects to support for the new audio device API.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2518 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-17 11:20:30 +00:00
Benny Prijono 51fc47f497 Fixed warnings about unchecked fgets() return value with gcc 4
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2517 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-17 11:19:48 +00:00
Nanang Izzuddin a3aa6f9f0b Ticket #737: Minor fix for auddemo.c, disable its log color (that may cause log unreadable on bright/white shell background).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2514 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-16 16:34:33 +00:00
Nanang Izzuddin 11951c3997 Ticket #716 (app misc): fixed info of ilbc default mode in pjsua app menu.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2507 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-12 23:04:21 +00:00
Benny Prijono 9920dc304b (Major) Task #737 and #738: integration of APS-Direct and Audiodev from aps-direct branch to trunk.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2506 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-12 18:11:37 +00:00
Benny Prijono d9e8dfea2d Initial fixes for ticket #747: bugs in parsing SIP torture messages (RFC 4475):
- SIP version components may be separated by whitespaces (e.g. "SIP / 2.0")
 - parsing of mangled header when for unknown/generic header
 - Via parameters were parsed with paramchar rather than token
 - handling NULL character inside quoted string

Some torture messages have been added in the Python test.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2505 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-12 11:25:11 +00:00
Nanang Izzuddin fa92382c62 - updated delay statistic calculations to use pj_math_stat, also added
min, avg, dev of latency into the test result
- fixed drift report
- updated test result calculations to use division with rounding




git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2503 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-11 11:28:44 +00:00
Benny Prijono ccd90bbee2 Continuing task #741 for aps-direct: updated GNU build system for the new audiodev
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2501 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-10 15:14:11 +00:00
Nanang Izzuddin 08694eaa20 - Added feature to increase/decrease output volume in symbian_ua
- Removed optimization setting in some MMP files
- Added new symbian_ua.pkg in Carbide development for comfortness



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2500 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-10 15:03:04 +00:00
Nanang Izzuddin fcb92d01a6 - updated APS set_cap() to store output volume setting into stream param.
- updated APS get_param() to return actual volume setting.
- updated symbian_ua application to use the new pjsua-lib APIs: snd_set/get_setting().




git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2498 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-10 13:32:09 +00:00
Nanang Izzuddin da37ea3e5d - Fixed compile errors/warnings for Symbian targets.
- Updated module dependencies of symbian auddev implementations.
- Minor updates, e.g: missing update on symbian_ua UID changing, updated default log level for logfile.



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2491 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-06 16:24:43 +00:00
Nanang Izzuddin a377597ed8 - Fixed player callback (for PCM) of APS aud dev to zero-fill the buffer whenever it gets non-audio frame type.
- Updated symbian_ua.mmp to allow it links to multiple audio back-ends (feature of the new audio device framework).
- Minor fix in symbian_ua to use codec macros instead of sound device macro.




git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2483 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-03 18:25:55 +00:00
Nanang Izzuddin 90b8320681 Ticket #732:
- Added new Symbian specific API in PJLIB, pj_symbianos_set_connection_status(), to let PJLIB knows the connection status.
 - Added connection status checks before Symbian socket operations.
 - Added loop limiter in Symbian busy_sleep() to avoid the possibility of infinite loop.
 - Added sample of connection monitor in Symbian sample application (ua.cpp).




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2481 74dad513-b988-da41-8d7b-12977e46ad98
2009-03-02 15:48:45 +00:00
Nanang Izzuddin 0cb3b02b09 Added one new pjsua-lib API to get audio device stream instance, also added its usage sample for audio routing in symbian_ua.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2480 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-27 17:37:35 +00:00
Nanang Izzuddin a940b36960 - Updated Symbian bld.inf & MMP projects to use new audio framework.
- Updated audiodev.c to accomodate Symbian audio devs (APS & standard multimedia framework).
- Fixed compile warning & errors on Symbian.




git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2475 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-23 13:53:30 +00:00
Benny Prijono 10454dc424 Updated libraries and applications to use the new Audio Device API
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2468 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-21 14:21:59 +00:00
Benny Prijono 555139d839 Updated audio test
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2464 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-19 12:08:19 +00:00
Benny Prijono e3ebd55df7 Added audiotest and initial work on audio demo sample
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2463 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-18 20:14:15 +00:00
Nanang Izzuddin 452b66bf76 - Updated audio route API for Symbian APS.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2461 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-18 15:23:47 +00:00
Nanang Izzuddin fe02a0684d - Added APS-direct sound device management into pjsua-lib (and removed it from apps).
- Fixed bug in conf_switch.c to always update ts_rx (even if port is not transmitting).
- Minor updates: 'fmt_id' to 'id', added transmitter_Cnt in conf port info, explicit mapping in Symbian audio APS impl from pjmedia_format_id to Symbian APS fourcc.



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2460 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-18 14:28:49 +00:00
Benny Prijono f863ca3f77 Added bitrate and vad info in pjmedia_format, and changed audio route to use enumeration rather than boolean
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2457 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-17 15:19:45 +00:00
Nanang Izzuddin 83457d5937 Changed term 'fourcc' to 'format' and few minor fixes/updates.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2456 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-16 16:29:05 +00:00
Benny Prijono b995a38a75 Bug in APS-Direct emulation in sound_port causing crash and tick noise, and handle wideband audio in APS-Direct emulation in pjsua_app.c
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2454 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-13 15:57:46 +00:00
Benny Prijono b7dfc9ce09 Added APS-Direct emulation to sound port and pjsua_app.c, also fixed miscellaneous compilation warnings
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2452 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-13 11:53:12 +00:00
Nanang Izzuddin 798bf45e03 Updated symbian_ua menu, adding commands to test codecs & audio routing, removing 'less used' commands.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2450 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-12 12:35:27 +00:00
Nanang Izzuddin bfa860b133 - Added support for codec ILBC, G729, and AMR.
- Updated audio switch board to make user possible to update its port 0 (master port) attributes, this is needed since sound device need to be reopened (e.g: for changing ptime or codec) while conf is not recreated.
- Added new API to AMR helper to resolve mode/frame-type based on frame len.
- Updated pmedia_frame_ext helper functions for a bit optimization.



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2444 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-09 10:39:58 +00:00
Benny Prijono 98d8c95902 Ticket #716 (miscellaneous): write nameserver settings in dump config in pjsua_app.c
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2441 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-06 08:13:43 +00:00
Nanang Izzuddin 4906604fd7 - Fixed pjmedia_frame_ext_pop_subframes() in calculating len.
- Fixed symbian_sound_aps.cpp in filling silence, previously just by filling zeroes.
- Some fixes in ua.cpp: always reopen sound device (even if PCM is in use), make sure sound device closed before quit, release application pool.




git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2439 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-05 12:28:38 +00:00
Nanang Izzuddin 81db8c724a - Added new API for sound & sound port to create/open sound device with extended setting, to allow opening sound device with non-PCM format and other settings.
- Updated symbian_ua/ua.cpp to be able to reopen sound device when audio stream session is using non-PCM data/passthrough codec.
- Updated stream.c to allow it works with non-PCM data.
- Added PCMU/A frames processing into non-PCM play/record callbacks in symbian_audio_aps.cpp.
- Added passthrough codec init/deinitialization in pjsua-lib.
- Added a new pjmedia_frame_ext helper function, pjmedia_frame_ext_pop_subframes, to pop-out/remove some subframes.
- Other minor updates/fixes.




git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2438 74dad513-b988-da41-8d7b-12977e46ad98
2009-02-05 10:59:14 +00:00
Nanang Izzuddin 4e50262076 Initial sources of APS-direct.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/aps-direct@2434 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-28 18:03:12 +00:00
Benny Prijono 298c12e70e Ticket #706: Part 1 of VS 2005 projects reorganization: introduction of Windows Mobile 6 standard SDK in the build platform
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2430 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-27 10:14:52 +00:00
Benny Prijono becb31be0b Minor fix sin simpleua.c sample: should put authentication scheme in the sample snippet for authentication
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2423 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-20 08:53:38 +00:00
Benny Prijono 32d267bb67 Fixed gcc-4.3.2 warnings with the warn_unused_result flag in some APIs
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2408 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-01 22:08:21 +00:00
Benny Prijono 95b5340fa6 Fixed unreached code, deprecated fopen(), unused arguments, and other warnings with MSVC
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2407 74dad513-b988-da41-8d7b-12977e46ad98
2009-01-01 20:56:36 +00:00
Benny Prijono 844653c1f2 Updated copyright notice in all files to Teluu Inc., and changed the year as well
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2394 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-23 17:27:53 +00:00
Benny Prijono 945aeb2681 Created top-level directory tests and moved test-pjsua there. This will be the placeholder for future developed tests
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2392 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-22 18:54:58 +00:00
Benny Prijono 4b55e0aa64 Some minor changes: use log level 3, and change some default settings
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2382 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-18 13:22:52 +00:00
Benny Prijono 2285e7e24a Ticket 684: protect the memory allocation for TX packet with try/catch, and fixed various transmit data buffer leaks when transmission fails immediately
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2380 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-17 14:28:18 +00:00
Nanang Izzuddin 82f7a4147a Ticket #675:
- Fixed ICE+STUN panic E32User-CBASE 46, the problem seems to be inside the Symbian version of pjsua_handle_events().
 - Updated minor things, e.g: compile warnings



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2379 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-17 11:36:22 +00:00
Nanang Izzuddin 74f874627d Ticket #661: Fixed transport ICE in verifying possibilities of RTCP settings in the SDP.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2376 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-11 17:25:50 +00:00
Benny Prijono d8cd6b9b48 Ticket #682: New API to register (external) Python thread (thanks Johan Risberg for the patch)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2375 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-11 11:18:33 +00:00
Benny Prijono 21f871fbca Ticket #681: Bugs in sending and receiving instant messages in Python wrapper (thanks Johan Risberg for the patches)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2374 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-11 11:03:21 +00:00
Benny Prijono 30fe485f6f Ticket #672: Option to add custom parameters in the account Contact URI
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2373 74dad513-b988-da41-8d7b-12977e46ad98
2008-12-10 16:54:16 +00:00
Benny Prijono 08a48b8ccf More ticket #10: changed to signature of the redirection callbacks to make it more natural to use
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2371 74dad513-b988-da41-8d7b-12977e46ad98
2008-11-27 12:42:07 +00:00
Benny Prijono 5e51a4e1d8 Ticket #10: handle redirection response in the invite session
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2370 74dad513-b988-da41-8d7b-12977e46ad98
2008-11-27 00:06:46 +00:00
Benny Prijono 6c7cf562a3 Small modifications to level.c sample to print out the timeline and linear level
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2369 74dad513-b988-da41-8d7b-12977e46ad98
2008-11-19 14:48:48 +00:00
Nanang Izzuddin ce2c5f1cdf Ticket #674:
- Updated SDP negotiation module to allow special treatment for AMR negotiation.
 - Fixed SDP negotiation when it prefers local codec order it gets wrong in identifying the remote offer.
 - Added some test scripts to test AMR negotiation.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2364 74dad513-b988-da41-8d7b-12977e46ad98
2008-11-11 11:51:18 +00:00
Nanang Izzuddin 2976a2e588 Ticket #646: Fixed panic E32USER-CBase 66 and leak of undeinit'ed stdlib when quitting symbian_ua_gui.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2347 74dad513-b988-da41-8d7b-12977e46ad98
2008-10-09 14:19:34 +00:00
Benny Prijono 02e850458b Added more targets to python Makefile
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2346 74dad513-b988-da41-8d7b-12977e46ad98
2008-10-08 11:57:25 +00:00
Benny Prijono 7f630433a1 Ticket #643: Do not try to re-register with a new Contact when the REGISTER response contains private IP address
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2316 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-24 16:52:41 +00:00
Benny Prijono 91d06b6179 Ticket #611: Configuration option to force the route URI to use loose routing
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2301 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-20 12:16:56 +00:00
Nanang Izzuddin 0cff128244 Ticket #627: Fixed general compiler warning when building for WinCE (thanks David Parker for the patch).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2285 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-16 16:45:29 +00:00
Nanang Izzuddin 51b1e5531b Ticket #626: Fixed PocketPJ build error when SRTP is unused (thanks David Parker for the patch).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2282 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-16 15:15:45 +00:00
Benny Prijono dbd9d4bbd8 Ticket #623: Assertion when receiving SUBSCRIBE with non presence event (thanks Lucas Rosa Galêgo for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2273 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-11 10:25:51 +00:00
Benny Prijono 40860c373e Ticket #610: Added sample to create a media transport adapter, similar to how SRTP media transport works
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2262 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-04 13:55:33 +00:00
Benny Prijono c8215b3109 Ticke#609: Build/compilation error in Python module (undeclared dec_fmtp_mode/enc_fmtp_mode) (thanks Saul Ibarra for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2260 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-04 07:37:30 +00:00
Nanang Izzuddin f0b4990146 Fixed build settings for Symbian emulator target regarding sound device implementation.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2257 74dad513-b988-da41-8d7b-12977e46ad98
2008-09-01 11:54:35 +00:00
Benny Prijono ac1f4848cd Fixed minor bug in exe availability checking in run.py
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2239 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-26 14:35:16 +00:00
Benny Prijono b9760d9204 Added sleep() in mod_pesq.py, to wait the test until the call is stabilized
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2238 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-26 12:15:31 +00:00
Benny Prijono c366aa9917 Fixed audio configuration in config_site.py not used by test scripts
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2237 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-26 12:13:25 +00:00
Nanang Izzuddin 23a00b774f Ticket #599:
- Added "dec_fmtp" and "enc_fmtp" fields to pjmedia_codec_param.setting.
 - Codec factory puts its default parameters in "dec_fmtp" field.
 - pjmedia_stream_info_from_sdp() puts the "fmtp" attribute in SDP to pjmedia_codec_param.
 - Special treatment for fmtp "bitrate" parameter (of G722.1) during SDP negotiation
 - Added maxptime field in stream_info.
 - Replaced iLBC's fmtp "mode" implementation to use general fmtp mechanism.
 - Added some test scripts for G722.1 bitrate negotiation.




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2236 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-25 13:58:25 +00:00
Benny Prijono 563cd7a06a Added on_incoming_subscribe() handler in pjsua, just to demonstrate that this callback exists
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2227 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-19 20:02:15 +00:00
Benny Prijono 0b62704c9a Fixed Python bug with enum_codecs() (thanks Saúl Ibarra for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2221 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-18 11:32:13 +00:00
Benny Prijono 876a2ae3ed Fixed crash in Python when receiving incoming DTMF digits
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2220 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-18 11:07:58 +00:00
Benny Prijono 36e76ef160 Ticket #594: Improvements in PocketPJ Windows Mobile application: added TCP option, VAD option, option to select codec priority order, and auto-answer option
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2211 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-13 13:56:24 +00:00
Benny Prijono 6a2376397c Added interactive option in aectest sample and to display WAV duration on exit
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2210 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-13 13:53:18 +00:00
Benny Prijono f6c77f4312 Fixed bug in --auto-rec option handling in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2209 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-13 13:52:19 +00:00
Benny Prijono 59b3ffe52f Related to ticket #590: added command line option in pjsua to select the echo canceller algorithm to use
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2204 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-11 18:10:42 +00:00
Benny Prijono 4e57a54630 Initialize CPocketPJ setting with proper values in constructor
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2201 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-10 22:10:41 +00:00
Benny Prijono a7908d7bbb Ticket #590: new echo suppressor which should work much better than the old one
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2199 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-10 16:15:14 +00:00
Benny Prijono 95250c71e2 Ticket #588: Improvements to echo cancellation framework
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2198 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-09 05:40:22 +00:00
Benny Prijono 551af42ca3 Ticket #586: Added ICE negotiations test to test the scenario when two agents have different number of components
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2196 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-07 09:55:52 +00:00
Benny Prijono a330d4553a Ticket #585: Handle non-SIP URI in Contact header of incoming INVITE and SUBSCRIBE requests
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2194 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-05 20:14:39 +00:00
Nanang Izzuddin 99d69522ac Ticket #563: Updated SDP offer/answer related to call hold scenario to conform to RFC 3264 section 8.4 (before: 'a=inactive' and 'c=0.0.0.0', now: 'a=sendonly' and muted ports).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2191 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-04 15:01:38 +00:00
Benny Prijono b1c620431a Fixed ticket #581: Fixed build dependencies in the makefiles
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2183 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-29 11:42:20 +00:00
Benny Prijono ebb2c334a2 Ticket #463: Configuration option to have external sound device implementation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2182 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-28 23:40:58 +00:00
Benny Prijono 9183c03c3d Added latency.c in the samples (see http://trac.pjsip.org/repos/wiki/MeasuringSoundLatency)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2178 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-28 14:37:47 +00:00
Benny Prijono 251e02af61 Fixed invalid configuration generation in pjsua for auto-update-nat option (thanks Ondrej Sterbak)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2176 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-25 10:05:55 +00:00
Nanang Izzuddin cb2789a19b Ticket #577: Initial source of sound device wrapper with APS
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2174 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-24 15:30:44 +00:00
Benny Prijono de2c5f041f Added setup-vc.py for Visual Studio installation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2173 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-24 12:20:53 +00:00
Benny Prijono 1a19db4239 Tweak setup.py
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2172 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-24 12:20:08 +00:00
Benny Prijono ec72b6ec4d Added simplecall.py sample
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2171 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-24 09:01:33 +00:00
Benny Prijono fd47c2c552 pjsua.py: fixed transport port bug, changed default tracing to disabled, and removed documentation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2170 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-24 09:00:28 +00:00
Benny Prijono e2bb607f9b Fixed crash in stateful proxy sample when receiving request with malformed CSeq header (thanks Brocha Strous)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2168 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-23 09:59:11 +00:00
Benny Prijono 6ecef07bd2 Added sleep() in python handle events to avoid starvation in the main thread
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2165 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-21 22:46:35 +00:00
Benny Prijono 680c39e770 Fixed gcc warning on _pjsua.c about suggested parenthesis
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2164 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-21 21:15:46 +00:00
Benny Prijono 550404568a Major modifications in Python module and pjsua.py wrapper:
- replaced call/acc/buddy dictionaries with user data attachment
 - recommended to install callback when creating the object, to
   prevent missing some events
 - fixed circular references by using weakref
 - protect access to pjsua with mutex; found out that without this
   there will be deadlock in Python
 - fixed memory leaks in the _pjsua.c module (objects reference
   counter not properly maintained)



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2163 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-21 18:20:57 +00:00
Benny Prijono b7944865e1 Added pjsua option to set the logging color scheme for terminal with light background (thanks Ondrej Sterbak)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2161 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-19 20:53:49 +00:00
Benny Prijono d6e362a2b5 Ticket #571: Coloring for logs in Linux/UNIX, two more spaces in logs and runtime log colors configuration (thanks Ondrej.Sterbak)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2159 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-19 17:53:47 +00:00
Benny Prijono 288d4bd2a1 Added WAV playlist and conf_set/get_level API to Python module
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2158 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-19 15:40:21 +00:00
Benny Prijono e6787ecf5b Implemented ticket #192 for Python: Add callback to notify application about incoming SUBSCRIBE request, and add subscription state and termination reason in buddy info
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2156 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-18 23:00:56 +00:00
Nanang Izzuddin c985354e68 Added pjsua command line option '--jb-max-size' to set jitter buffer max frames
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2154 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-17 16:59:07 +00:00
Nanang Izzuddin 660eee8b32 Added ability to dump extended statistics (RTCP XR) in pjsua.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2152 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-17 14:54:03 +00:00
Benny Prijono c91ed8dba4 Ticket #518: some fixes for growing memory usage in PJSUA-LIB, by using temporary pools for temporary variables and by having separate pool for each account and buddy
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2130 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-13 12:24:55 +00:00
Benny Prijono 940bd3e84c Fixed bug in python's player_get_slot() and recorder_get_slot()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2122 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-11 09:14:40 +00:00
Benny Prijono b85ba65c73 Updated setup.py for Linux and written more docstrings documentation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2120 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-11 00:55:22 +00:00
Benny Prijono 9c4611432c Ticket #556: New object oriented Python abstraction for pjsua API
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2119 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-10 22:41:20 +00:00
Benny Prijono 1d6b8955c6 Configuration option to include/exclude loopback interface in enum_ip_interface(), and always include loopback address in the proxy sample (thanks Filippo Zangheri for the suggestion)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2112 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-07 21:31:02 +00:00
Benny Prijono c7bdb084e4 Modified runall.py python testing module to accommodate mod_recvfrom.py
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2111 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-07 20:15:25 +00:00
Benny Prijono e9a8224a8d Added mod_recvfrom.py testing module and some registrar test scenarios
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2110 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-07 20:14:41 +00:00
Benny Prijono 35f5ce9e79 Fixed compilation warnings on gcc-4.2.3
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2103 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-04 23:49:44 +00:00
Benny Prijono 6ae55becaa Added gdi32.lib and advapi32.lib into pjsua VC 2005 input libraries specs
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2096 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-02 15:17:48 +00:00
Benny Prijono e10db84646 Ticket #552: Added TLS server name extension to support connecting to multi-hosted SIP TLS server (thanks Klaus Darilion for the suggestion)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2094 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-01 15:31:59 +00:00
Nanang Izzuddin ffa18c9a60 Updated PESQ test to save the WAV output on failure and report the PESQ target.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2088 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-28 00:52:20 +00:00
Benny Prijono cb1185633e Updated python test readme doc
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2087 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-28 00:40:17 +00:00
Benny Prijono 0fe5acff88 Fixed crash when handling incoming MESSAGE request without message body but with Content/Type set (thanks Anshuman S. Rawat)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2086 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-28 00:39:58 +00:00
Nanang Izzuddin 038effe333 Fixed wrong variable name for number of failed tests
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2085 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-28 00:00:10 +00:00
Benny Prijono 1e65e9ade0 Added stdout buffering option in Python tests
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2084 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-27 23:53:00 +00:00
Nanang Izzuddin e19e0e091f Removed userdata param in callback funcs of mod_media_playrec.py
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2083 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-27 22:47:33 +00:00
Nanang Izzuddin 65417bddda Updated runall.py to cleanup the 'logs' directory before test; fixed log ext name; added report num of tests performed
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2082 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-27 22:15:41 +00:00
Benny Prijono ab8dba93e3 Added more Python tests: offer with multiple media lines
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2081 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-27 21:59:15 +00:00
Benny Prijono 036911bdc4 Added the ability to send a complete/arbitrary SIP INVITE message in mod_sendto.py Python test script
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2080 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-27 21:22:12 +00:00
Nanang Izzuddin a680bd6fcc Ticket #543:
- added options to run.py
 - passing options in runall.py to run.py
 - removing userdata in module callback functions




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2078 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-27 21:12:12 +00:00
Nanang Izzuddin 9869cb5cbb Ticket #543:
- Fixed bug of calculating clock interval which should include channel count
 - Added L16 codecs including stereo
 - Added WAV files for stereo tests



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2075 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-27 16:18:13 +00:00
Nanang Izzuddin 81e9bd52cd Fixed minor bug on ptime calculation on player creation; Updated pjsua-app info on ports ptime and default capture latency
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2074 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-27 12:52:51 +00:00
Benny Prijono e4ddeecf0f python testing: fixed slow test performance due to expecting wrong text in mod_call.py, and exclude PUBLISH tests in runall.py
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2071 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-27 08:51:55 +00:00
Benny Prijono 8ca401465a Rearrange the commands in mod_pres.py to make it work
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2070 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-26 22:20:54 +00:00
Benny Prijono ddd02de5b5 echo command in pjsua can be used to print any text, and this is used to better synchronize stdout in Python test apps
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2069 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-26 22:20:11 +00:00
Benny Prijono 9bc3c18e23 Added test duration in runall.py output, and add public ICE in excluded tests
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2068 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-26 22:17:33 +00:00
Benny Prijono 4d0da3aa38 Added option to disable stdout buffering in pjsua, and adjust the python tests
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2067 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-26 20:23:47 +00:00
Benny Prijono 632be0a2f5 Added various tests with invalid SDP and other SIP parameters
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2066 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-26 19:51:01 +00:00
Nanang Izzuddin 9eac547221 Ticket #543: Updated PESQ to start/stop manually stream/record instead of using auto-rec/play/hangup, and also updated thresholds
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2063 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-26 18:52:16 +00:00
Benny Prijono 5242a423c9 Set universal_newlines=False in run.py, and added failed UPDATE scenario in mod_call.py
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2062 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-26 16:27:17 +00:00
Benny Prijono 88accae905 Specifying star in codec selection will select all codecs. Fixed the codec selection in codec.c to select all codecs when empty string is given.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2061 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-26 15:48:14 +00:00
Benny Prijono 62a969c920 Added PRACK tests and ICE with public proxy tests
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2059 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-26 13:29:29 +00:00
Nanang Izzuddin 6ee166d43f Ticket #543: Updated PESQ test, sound device used only by one side to avoid contention
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2057 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-26 12:26:52 +00:00
Benny Prijono 8a3fc3bbf7 Replaced WAV files for automated testing
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2055 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-25 23:26:28 +00:00
Nanang Izzuddin acb3e3250e Ticket #543: Updated mod_pseq & mod_media_playrec.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2052 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-25 18:18:32 +00:00
Nanang Izzuddin b40e28724f Ticket #543: added mod pesq & mod media playrec to runall.py, also added some more wav files
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2051 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-25 15:05:21 +00:00
Nanang Izzuddin 9a6e835935 Ticket #543: added initial WAV files for test input
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2050 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-25 14:31:05 +00:00
Benny Prijono 32177c0418 Large changeset to replace all occurences of year 2007 with 2008 in the copyright notice
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2039 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-20 22:44:47 +00:00
Nanang Izzuddin b6133fb805 More ticket #543: added PESQ test
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2038 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-20 21:45:50 +00:00
Benny Prijono 5b64b8df4b Updated doxygen documentations
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2037 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-20 21:39:02 +00:00
Nanang Izzuddin e6f85fb750 More ticket #543: added SRTP tests on scripts-sendto
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2036 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-20 17:43:55 +00:00
Benny Prijono 3190f69413 Set svn attributes on new test script files
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2034 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-20 00:29:17 +00:00