Commit graph

397 commits

Author SHA1 Message Date
Benny Prijono
5bb94225d0 Fixed nullsound in Symbian
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1243 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-02 13:19:33 +00:00
Benny Prijono
ba5926a822 PJSUA-LIB was ported to Symbian and added simple Symbian app. Testing follows
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1242 74dad513-b988-da41-8d7b-12977e46ad98
2007-05-02 11:29:37 +00:00
Benny Prijono
ad2e0cadf4 Fixed ticket #242: Crash on Windows when no sound device is available
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/split-3rd-party@1224 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-29 12:31:51 +00:00
Benny Prijono
af09dc3ba9 Merged changes from the trunk
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/split-3rd-party@1210 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-22 12:48:30 +00:00
Benny Prijono
25dfd1dfa1 Fixed build system for third_party
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/split-3rd-party@1201 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-17 16:16:01 +00:00
Benny Prijono
4f093d2250 Updated EVC project files with new directory layout
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/split-3rd-party@1179 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-09 08:54:32 +00:00
Benny Prijono
c95a0f0c33 Fixed all VS6 and VS8 projects with new third party projects layout
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/split-3rd-party@1177 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-09 07:06:08 +00:00
Benny Prijono
230c2f91fa Added missing NULL getopt sentitel in stateful/stateless proxy samples
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1161 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-06 10:35:41 +00:00
Benny Prijono
3569c0d5a7 Fixed ticket #216: Build error when PJ_HAS_TCP is set to zero (thanks ChenHuan)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1159 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-06 10:29:20 +00:00
Benny Prijono
da9785b8c3 Added pjsua_dump(), and fix STUN DNS SRV resolution error in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1135 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-02 20:43:06 +00:00
Benny Prijono
64ac31bced Fixed couple of compilation warnings in STUN and new proxy samples with gcc
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1131 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-02 19:11:41 +00:00
Benny Prijono
2225d01c96 Updated project dependencies to pjnath
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1130 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-02 18:46:06 +00:00
Benny Prijono
fbec997d1e Fixed Python module because of recent ICE changes in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1128 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-02 16:56:20 +00:00
Benny Prijono
fff245c591 Ticket #205: merged proxy functionalities from stable to trunk
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1127 74dad513-b988-da41-8d7b-12977e46ad98
2007-04-02 11:44:47 +00:00
Benny Prijono
54826a3955 Make simpleua work without threads
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1120 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-30 18:57:01 +00:00
Benny Prijono
a6bd758a9d Updated projects and Makefiles with the new pjnath library
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1111 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-28 15:49:48 +00:00
Benny Prijono
b681a2f671 ICE (work in progress): use single socket for all candidates in component, and implemented IP interface enumeration on Win32
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1104 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-25 18:44:51 +00:00
Benny Prijono
ebbf68973c Added generic DNS SRV resolution in pjlib-util
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1102 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-24 17:37:25 +00:00
Benny Prijono
c27512bd35 Added/updated VS8 projects for pjnath
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1100 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-23 20:12:45 +00:00
Benny Prijono
c97608ee7f ICE (work in progress): integration with PJSUA
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1098 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-23 16:34:20 +00:00
Benny Prijono
4e5d551edb Ticket #159: allow sound device selection in pjsua (thanks Michael Smith)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1044 74dad513-b988-da41-8d7b-12977e46ad98
2007-03-06 18:11:30 +00:00
Benny Prijono
015cbfdfec Updated VS8 and EVC4 project with new STUN files and added SHA1, HMAC-MD5, and HMAC-SHA1 encryption
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1001 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-25 15:38:32 +00:00
Benny Prijono
20d3672c3f Fixed ticket #132: dialog automatically insert Contact header when sending 3xx response (thanks Hozjan Vladimir for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@995 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-22 14:52:24 +00:00
Benny Prijono
a771a51a61 Ticket #110: HUGE HUGE changeset to replace all occurence of year 2006 with 2007 in copyright notice in all sources
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@974 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-19 01:13:53 +00:00
Benny Prijono
da275f6360 Fixed various bugs in Python module
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@972 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-18 23:49:14 +00:00
Benny Prijono
b67eaac592 Tidy up the output of pjsua help screen
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@968 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-18 20:56:00 +00:00
Benny Prijono
a2914f2bbb Added TCP transport in sipstateless sample
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@967 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-18 01:50:01 +00:00
Benny Prijono
1febfdf6e6 Fixed bug in pjsua: account config not initialized using acc_default()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@966 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-18 01:35:04 +00:00
Benny Prijono
72c04d2efc Fixed broken --auto-play command in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@964 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-17 22:20:58 +00:00
Benny Prijono
0eef2c7c47 Updated documentation and sample for media conference with regard to maximum value for audio level adjustment
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@961 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-17 19:38:21 +00:00
Benny Prijono
4abeb9be2e Added sleep() before destroying sound device in playfile and playsine to prevent audio stutters
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@959 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-17 19:34:46 +00:00
Benny Prijono
0deef106f1 sipstateless now takes an argument for the response code to be sent
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@956 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-17 00:12:15 +00:00
Benny Prijono
afc47be5d9 Still on ticket #101: set TLS port to TCP port + 1
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@948 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-14 14:44:55 +00:00
Benny Prijono
e347cb07fc Fixed ticket #101: PJSUA transport is not updated with correct port number if application specifies port is zero
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@947 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-14 14:36:13 +00:00
Benny Prijono
4759f9ca08 Fixed ticket #93: Python readline() blocks/hang because C module running on different thread is calling a blocking OS call
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@945 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-14 02:15:19 +00:00
Benny Prijono
40d2cc7aff Fixed bug in Python module's normalize_stun_config(), and added Makefile for building Python module
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@944 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-14 01:45:08 +00:00
Benny Prijono
53932c05aa Fixed bug in simpleua sample: shouldn't respond to ACK request!
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@943 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-13 18:51:44 +00:00
Benny Prijono
63da4ff0d4 Fixed hardcoded Linux build in Python module's setup.py
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@936 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-07 10:09:19 +00:00
Benny Prijono
8148cda903 Fixed ticket #92: undefined symbols when running Python application
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@935 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-07 09:36:37 +00:00
Fahris
89ea3d0297 py pjsua updated @ 070207
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@934 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-07 08:18:35 +00:00
Benny Prijono
aa28604980 Added various PJSIP constants to Python module and bugfix in call_hangup()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@928 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-03 17:23:22 +00:00
Fahris
e314b8856d py_pjsuaupdated 020207
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@926 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-02 10:52:04 +00:00
Benny Prijono
ebdf87742d Implement the missing pjsua_get_snd_dev() function
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@925 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-01 19:25:50 +00:00
Fahris
6f35cb8549 py_pjsua update 010207
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@924 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-01 07:41:26 +00:00
Benny Prijono
39ac70ae80 Fixed ticket #85: build errors when building samples with VS6/VS8
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@922 74dad513-b988-da41-8d7b-12977e46ad98
2007-02-01 03:01:01 +00:00
Benny Prijono
e6ead5425d Updated PJSUA-API docs for Python and some bug fixes in Python module
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@918 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-31 20:53:31 +00:00
Benny Prijono
ed7a5a7be3 Some simple call testing to py_pjsua and bug fixes
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@916 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-29 18:36:38 +00:00
Fahris
17d9181e1e update py_pjsua.c 290107
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@915 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-29 12:09:33 +00:00
Fahris
b721aa3c04 revisi py_pjsua.c 290107
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@914 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-29 05:07:41 +00:00
Benny Prijono
fc24e6929d Fixed various gcc warnings especially related to ticket #82 when particular codecs are disabled
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@911 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-27 18:31:51 +00:00
Benny Prijono
06d1d0ed00 Fixed ticket #82: link error when codec(s) are disabled from configure script (thanks Thomas Reitmayr)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@910 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-27 18:09:28 +00:00
Benny Prijono
4af234b591 Implement ticket #62: option to play tones continuously, and added --play-tone option in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@904 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-24 02:02:09 +00:00
Benny Prijono
32e4f4910c Implement ticket #77: allow specifying multiple files in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@903 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-24 00:44:26 +00:00
Benny Prijono
fbce9d0c06 Support for Visual Studio 2005 workspace
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@898 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-23 05:35:36 +00:00
Benny Prijono
990042e6ef Added ability to feed text file containing commands (on Windows) and sleep command to pjsua. Thanks Steven Halerman.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@894 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-21 19:36:00 +00:00
Benny Prijono
e960bb54f9 Fixed gcc warnings, especially about dereferencing type-punned pointer
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@893 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-21 17:53:39 +00:00
Benny Prijono
87ef89a592 Continuing work on ticket #50: make explicit transport selection works for sending response
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@882 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-14 00:39:45 +00:00
Benny Prijono
f77ba882da Added simple_pjsua example
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@876 74dad513-b988-da41-8d7b-12977e46ad98
2007-01-08 01:20:07 +00:00
Benny Prijono
1ef52e46e5 Fix eol-style in pjsua.py/py_pjsua.c
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@870 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-28 15:56:06 +00:00
Fahris
dcf8fa4beb py_pjsua.c and pjsua.py updated until lib call
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@869 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-28 03:13:48 +00:00
Benny Prijono
6dd967c9ac Ticket #51: Added audio level adjustment to PJSUA-API
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@864 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-26 02:27:14 +00:00
Benny Prijono
0875ae8c4e Added DTMF callback support all the way to PJSUA API (ticket #48)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@863 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-26 00:11:48 +00:00
Benny Prijono
f3bbc139b5 Major TLS work (ticket #3): asynchronous socket, rather complete TLS options, and pjsua integration. The TLS support should work in both client and server mode.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@861 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-25 06:43:59 +00:00
Benny Prijono
0d510786fa Ticket #46: added recording capability in streamutil sample application
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@856 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-22 15:24:11 +00:00
Benny Prijono
6f0a3d717a Added debugging info setting in Visual Studio project in Release mode
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@853 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-11 09:52:20 +00:00
Benny Prijono
dc308700f8 First update on buddy API
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@851 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-09 00:39:42 +00:00
Benny Prijono
6e0e54bff3 Initial implementation of TLS transport for ticket #3 (still not working at all)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@849 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-08 21:58:31 +00:00
Benny Prijono
987935985d Updated Python abstraction with transport and account API
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@845 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-04 08:33:20 +00:00
Benny Prijono
f762ee7376 Fixed ticket #29: calling pjsua_init() to reinitialize the whole libraries after pjsua_destroy() is called
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@839 74dad513-b988-da41-8d7b-12977e46ad98
2006-12-01 11:14:37 +00:00
Benny Prijono
bc96847e46 Implement task #26: integrate table based Alaw/Ulaw/linear conversion into pjmedia (thanks Toni Rutar for the original contribution)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@838 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-30 01:35:00 +00:00
Benny Prijono
5807f2c60e Fixed sndtest bug (ticket #32): it doesn't display the correct device being tested when default device is used.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@837 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-29 23:12:26 +00:00
Benny Prijono
2b6ec1a259 Added 'cc x y' and 'cd x y' command in pjsua as shortcut commands for the normal cc and cd command
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@832 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-26 10:49:58 +00:00
Benny Prijono
4be63b5a58 Print media statistic when call is disconnected in pjsua, to assist tracing media problems
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@831 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-25 14:50:25 +00:00
Benny Prijono
5b1e14d2f3 Fixed bug in siprtp: media transport was incorrectly NULL-ed after end of call, causing next call to fail
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@829 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-25 08:46:48 +00:00
Benny Prijono
4a92299d8e Updated footprint script to include new stuffs such as echo canceller and tone generator
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@826 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-24 09:31:22 +00:00
Benny Prijono
9872573227 Fixed footprint calculation script
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@825 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-24 09:02:19 +00:00
Benny Prijono
572d485316 Updated Python project with base PJSUA API
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@824 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-23 21:50:02 +00:00
Benny Prijono
12a669c7a6 Worked on the AEC. Apply constant delay bufferring for the AEC,
and also consider sound device latency when applying EC. It
sounds like working although it still doesn't perfectly cancel
the echo.

EC is now by default enabled in PJSUA.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@822 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-23 07:32:13 +00:00
Benny Prijono
af1bb1e09f Fixed handles leak upon program exit, by introducing pj_shutdown() and pj_atexit(). Also fixed handle leaks in SIP transaction layer and SIP endpoint.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@815 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-21 12:39:31 +00:00
Benny Prijono
8b8b9974cc Added initial Python module
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@803 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-16 11:18:03 +00:00
Benny Prijono
5a9e2041ee Fixed transport detachment when there's no thread being used in siprtp.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@800 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-14 13:35:20 +00:00
Benny Prijono
f7b1c39e34 Committed what seems like what left uncommitted in previous commit (pjsua_app.c and pj/config.c)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@798 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-11 16:46:34 +00:00
Benny Prijono
3647cbd05c Changed svn:eol-style to CRLF for Visual Studio projects
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@794 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-08 09:08:02 +00:00
Benny Prijono
d95abb4ede Fixed bug in siprtp in SDP generation because of recent change in SDP attribute value
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@784 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-20 10:18:44 +00:00
Benny Prijono
1ebd614540 Fixed miscellaneous warnings with gcc compilation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@782 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-19 15:48:02 +00:00
Benny Prijono
4ddad2c1fc Some changes to REFER handling in PJSUA-LIB:
- added callback to report call transfer progress
 - changed the call transfer request callback name in pjsua
 - added "--norefersub" option in pjsua.
 - fixed bug when call transfer is done more than once in
   the same dialog (dialog usage can not be added)

Also removed 7xx status from the SIP status codes.

And added pjsip_parse_status_line() to parse sipfrag.




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@780 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-18 17:16:34 +00:00
Benny Prijono
27f01ddebf FIXED BUG: pjsip_endpt_send_request() SHOULD DELETE THE REQUEST REGARDLESS OF THE STATUS!!!
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@777 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-16 21:07:19 +00:00
Benny Prijono
4e05b47e23 Added logging in pjsua wince
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@774 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-16 15:52:31 +00:00
Benny Prijono
41c96f37fb Changed siprtp to bind to specific address (instead of 0.0.0.0) when -i option is specified in the command line
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@771 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-16 11:39:07 +00:00
Benny Prijono
fa9e5b1a6c Major addition to support DNS SRV resolution in PJSIP:
- added DNS asynchronous/caching resolver engine in
  PJLIB-UTIL (resolver.[hc])
- modified SIP resolver (sip_resolve.c) to properly
  perform DNS SRV/A resolution when DNS resolution is
  enabled.
- added dns_test.c in PJSIP-TEST for testing the SIP
  resolver.
- added nameserver configuration in PJSUA-LIB
- added "--nameserver" option in PJSUA.
- updated project/Makefiles and doxygen documentation.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@753 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-08 12:39:34 +00:00
Benny Prijono
0a5cad8dec Added support for specifying IP address in PJSUA-LIB/pjsua.
This option can be used for example to select the IP 
interface of SIP/RTP/RTCP transports, or to specify the
public IP address of NAT/router in case port forwarding is
used.

For SIP transports, this feature works for both UDP and 
TCP transports.

Changes:
 - added public_ip field in pjsua_transport_config, and
   change SIP and media transport creation to consider this
   option.
 - added --ip-addr option in pjsua
 - added pjsip_tcp_transport_start2() which allows 
   specifying alternate TCP published address when creating
   TCP transports.




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@742 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-26 13:21:02 +00:00
Benny Prijono
093d3022e3 Fixed several bugs in PJSUA-API:
- in some condition, when outgoing call fails, call count
  incorrectly decremented to -1
- introduce account priority in pjsua_acc_config, and
  improve the account searching for incoming calls
- pjsua will hangup call after sending transfer/REFER request.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@737 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-24 00:07:11 +00:00
Benny Prijono
5ee1f2eb96 Updated doxygen documentation for the website
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@736 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-22 20:43:00 +00:00
Benny Prijono
d524e82949 In pjsua, outgoing REFER now always put Refer-Sub: false
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@733 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-22 12:48:18 +00:00
Benny Prijono
148c9dd37a Fixed race-condition/deadlock problems in the dialog/user agent layer
all the way up to PJSUA-API:
- standardized locking order: dialog then user agent, and dialog then PJSUA
- any threads that attempt to acquire mutexes in different order than
  above MUST employ retry mechanism (for an example, see acquire_call() in
  pjsua_call.c). This retry mechanism has also been used in the UA layer
  (sip_ua_layer.c) since it needs to lock user agent layer first before
  the dialog.
- introduced pjsip_dlg_try_inc_lock() and PJSUA_TRY_LOCK() to accomodate
  above.
- pjsua tested on Quad Xeon with 4 threads and 200 cps, so far so good.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@729 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-19 13:37:53 +00:00
Benny Prijono
594e4c5f29 Fix the local IP address resolution issue in PJSIP, PJMEDIA, and PJSUA, by adding a new API pj_gethostip() to resolve the default local IP address of local host. This new function will work even when local hostname resolution is not set correctly, by detecting the default IP interface in the system.
Also fix compile warnings in iLBC.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@721 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-14 18:51:01 +00:00
Benny Prijono
39ea7f0e32 Fixed WinCE compilation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@717 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-14 13:52:29 +00:00
Benny Prijono
804ff0aa0c Added --duration option in PJSUA to limit the maximum duration of calls. Also added pjsip_generic_string_hdr_init2() to initialize temporary SIP header that is allocated in the stack.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@715 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-14 11:17:48 +00:00
Benny Prijono
d6388acc29 Fix compilation error when PJSIP_AUTH_HEADER_CACHING and PJSIP_AUTH_AUTO_SEND_NEXT is disabled, and set the default for both to disabled. Also fixed the error message in pjsua when invalid arguments are specified.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@695 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-09 13:23:09 +00:00
Benny Prijono
7f5c12cb57 Added multi-purpose tone generator in PJMEDIA (tonegen.[hc])
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@693 74dad513-b988-da41-8d7b-12977e46ad98
2006-09-02 23:45:18 +00:00
Benny Prijono
3a5e1ab170 Support for PUBLISH (RFC 3903):
- 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: https://svn.pjsip.org/repos/pjproject/trunk@685 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-15 20:26:34 +00:00
Benny Prijono
21b9ad9ea5 Added initial PUBLISH client support, and also default account selection in pjsua/pjsua-lib
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@683 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-15 13:11:22 +00:00
Benny Prijono
fc290a6557 Set default codec to PCMU in pjsip-perf
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@676 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-13 18:20:55 +00:00
Benny Prijono
c1e263f5ce Fixed run-time bug with simple_ua and pjsip-perf sample.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@668 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-09 13:53:59 +00:00
Benny Prijono
fd27c6699a Changed WinCE demo app to automatically answer incoming calls.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@667 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-09 11:59:26 +00:00
Benny Prijono
10861bc15e Fixed bug in --auto-conf option in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@661 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-07 13:22:43 +00:00
Benny Prijono
80019eb11f Added Ctrl-C handler for pjsua Windows, and added average bps in media statistic.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@660 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-07 13:22:23 +00:00
Benny Prijono
7ca96da54f Added --auto-conf options in pjsua, also enable speex/3200, and set quality 5 to use large resampling filter
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@659 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-07 12:11:40 +00:00
Benny Prijono
5da50430bb Change set_ec_tail() API to set_ec() in sound port, also change suppressor to reduce mic signal by division rather than zeroing the signal. Also moved out VAD and EC settings to config.h.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@658 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-07 10:24:52 +00:00
Benny Prijono
f521eb0401 Fixed assertion error if ACK is received before INVITE transaction sends final response (malicious?). Also fixed misc warnings, and stress-tested on Quad Xeon
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@657 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-06 23:07:25 +00:00
Benny Prijono
edba079f23 Echo suppressor tuning and testing on WincE, and also added config_site_sample.h
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@656 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-06 18:23:56 +00:00
Benny Prijono
22dfe59f7e Change AEC into generic echo canceller framework with either AEC or simple echo suppressor backend can be selected during runtime.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@653 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-06 12:07:13 +00:00
Benny Prijono
7c3741fe38 Set to use PCMU and disable AEC for WinCE target.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@652 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-05 21:07:15 +00:00
Benny Prijono
70972993e6 AEC and sound backend fixes:
- Changed default sound backend in Windows to PortAudio
- Finalizing AEC settings on Windows:
	- default tail is 256 msec
	- write AEC configuration with "dc"



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@651 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-05 11:13:58 +00:00
Benny Prijono
f20687a082 More work on the AEC (including changes in PJSUA), embed the AEC in sound_port, reduce DirectSound buffer from 32 to 16, and fixed ARM compilation for MSVC WinCE target.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@648 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-04 18:27:19 +00:00
Benny Prijono
69f7312f51 More experimentation with AEC: (1) added media port to create bidirectional port from two unidirectional ports, (2) split AEC functionality into AEC algorithm (aec.h) and AEC media port (aec_port.h), (3) Added the AEC functionality in the sound_port.c.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@646 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-04 11:08:00 +00:00
Benny Prijono
d79f25c3aa Fix compilation error in MacOS because of recent changes in config.h, also disable AEC by default in pjsua-lib, and added ec-tail option in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@643 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-02 19:41:37 +00:00
Benny Prijono
01f0154646 Added simple WinCE application:
- 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: https://svn.pjsip.org/repos/pjproject/trunk@641 74dad513-b988-da41-8d7b-12977e46ad98
2006-08-01 23:09:35 +00:00
Benny Prijono
7bef0f5d02 Changed siprtp on Linux to raise the thread priority
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@639 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-31 18:54:06 +00:00
Benny Prijono
00cae61f5e - Added iLBC codec (experimental) with the following features:
- configurable default decoder mode (20 or 30),
   - encoder mode follows the mode specified in SDP fmtp from
     the remote's SDP,
   - silence detector uses pjmedia's,
   - PLC uses iLBC's PLC,
   - perceptual enhancement (penh) is configurable via codec
     param, as usual.

- iLBC mode is configurable in pjsua with --ilbc-mode option.

- Added packet lost simulation in pjmedia's UDP transport and
  in pjsua (with --rx-drop-pct and --tx-drop-pct options).

- Increase default buffer count in DirectSound to 32 frames
  to make it more resilient to CPU disruption.

- Specify and parse fmtp mode in SDP for codecs that need it.




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@637 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-31 15:19:36 +00:00
Benny Prijono
e85bc4114b Another take at fixing 64bit problems. PJ_MAX_OBJ_NAME is increased to 32 chars (from 16), and check all those sprintf's especially the ones with "%p" format.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@635 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-29 20:29:24 +00:00
Benny Prijono
e909eac609 Added capability in pjsua to add application created media port to pjsua's conference bridge, also capability to use custom sound device in pjsua.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@632 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-27 22:04:56 +00:00
Benny Prijono
0a12f00fc3 Added --ptime and --no-vad option in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@629 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-26 17:05:39 +00:00
Benny Prijono
05784a54d5 Fixed minor bug in siprtp: in summary report, percentage of RX loss is displayed in the TX section
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@626 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-25 11:54:15 +00:00
Benny Prijono
7db431e40c Added 64bit Linux target (x86_64), also fixed compilation warnings when compiling for this target
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@624 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-23 14:38:49 +00:00
Benny Prijono
b699fe28f2 Improvement/bug fix in hash table lookup to allow user to specify the hash value, and modify transaction to take advantage of this feature
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@623 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-23 10:10:35 +00:00
Benny Prijono
258ece97ba Few changes in siprtp:
(1) Added "s" command to show summary of all calls statistic
(2) Media start delay changed from 1000ms to 50ms
(3) Changed print_call to use LOG instead of printf, so that it can be turned off



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@621 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-22 12:53:04 +00:00
Benny Prijono
48af79cdb0 pjsua application should check that the --max-calls argument does not exceed compile time maximums
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@620 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-22 12:49:17 +00:00
Benny Prijono
513795f798 Undo modification to use timer, and back to using threads as the performance is not good
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@615 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-18 21:12:24 +00:00
Benny Prijono
563156189c Small improvements: (1) pjsua now responds to incoming OPTIONS request, 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: https://svn.pjsip.org/repos/pjproject/trunk@612 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-18 14:39:40 +00:00
Benny Prijono
dcc0cbf0be Fixed crash in SIP TCP transport deinitialization, and set pjsip-perf to handle INVITE request to non-standard URL call-statefully
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@605 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-16 10:40:37 +00:00
Benny Prijono
ceb12607c8 Attempt to get some applications linked for RTEMS target, just to get the footprint calculation working
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@604 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-14 15:20:00 +00:00
Benny Prijono
49f682acab Some minor modifications here and there in pjsip-perf
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@603 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-11 12:25:45 +00:00
Benny Prijono
775a1b2268 Added PJSIP_MAX_NET_EVENTS configuration to pjsip
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@602 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-11 09:53:27 +00:00
Benny Prijono
c35737640a pjsip-perf uses 1 milisecond polling timeout because IOCP does not work correctly if application does not yield the CPU
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@601 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-10 21:39:24 +00:00
Benny Prijono
b4a17c942d Fixed bug in PJSUA API re: account selection and Contact header for accounts
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@597 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-10 14:40:21 +00:00
Benny Prijono
1ef06dfc33 Report peak memory used upon exiting
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@595 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-09 10:06:44 +00:00
Benny Prijono
cb832eb539 Added caching pool capacity upon exiting pjsip-perf
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@593 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-08 19:49:02 +00:00
Benny Prijono
bdf202a5b3 More fine tuning on the footprint report generation script
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@591 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-08 10:03:46 +00:00
Benny Prijono
17e0d74d38 Some improvements in footprint generation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@586 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-05 20:45:55 +00:00
Benny Prijono
313b1e4697 Added script, source file, and makefile to calculate PJSIP/PJMEDIA footprint
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@585 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-04 23:48:51 +00:00
Benny Prijono
b6eab2cc6d Various performance improvements in PJSIP: (1) optimizing for common case to minimize stricmp() calls (header names, method, URI schemes), (2) added functionality in scanner to parse and unescape in-place, (3) etc..
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@583 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-03 22:08:47 +00:00
Benny Prijono
ac623b3bca Change all pj_memset to pj_bzero(), where applicable
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@582 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-03 15:19:31 +00:00
Benny Prijono
1479b65e53 Fixed minor bug in pool_caching.c that prevent pool from being reused if the capacity has changed when the pool is released
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@581 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-03 14:18:17 +00:00
Benny Prijono
c03a3c5ffc Added TCP support in pjsip-perf (also tried on Linux)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@580 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-03 02:31:10 +00:00
Benny Prijono
514ca6b263 Added (the forgotten) pjsip-perf.c into samples dir
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@579 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-03 01:30:01 +00:00
Benny Prijono
8840610a9f Added pjsip-perf in the samples
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@578 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-03 01:09:50 +00:00
Benny Prijono
ca4cff24bc Added INVITE request verification in siprtp before incoming call is established
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@573 74dad513-b988-da41-8d7b-12977e46ad98
2006-07-02 14:18:47 +00:00
Benny Prijono
b12106f981 Improvements in PJMEDIA to support RFC 3605 (RTCP attribute in SDP) and other changes to improve RTCP communication behind NAT. Also fixed bug related to RTCP reporting changes in revision 565
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@568 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-29 14:45:17 +00:00
Benny Prijono
f901651255 Fixed minor bug in the display of packet loss percentage
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@565 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-29 09:41:34 +00:00
Benny Prijono
e93e287b5c Major improvements in PJSIP to support TCP. The changes fall into these categories: (1) the TCP transport implementation itself (*.[hc]), (2) bug-fix in SIP transaction when using reliable transports, (3) support for TCP transport in PJSUA-LIB/PJSUA, and (4) changes in PJSIP-TEST to support TCP testing.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@563 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-28 16:46:49 +00:00
Benny Prijono
e6956991ea Changed siprtp to strictly use one worker thread for all (SIP and media)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@546 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-22 22:57:12 +00:00
Benny Prijono
4d3aa92ac6 Changed siprtp to use timer to schedule transmissions of RTP/RTCP packets
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@545 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-22 22:31:48 +00:00
Benny Prijono
819506cb2e Added dq command in pjsua to dump current call quality
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@544 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-22 22:29:51 +00:00
Benny Prijono
6fd4b8f213 Modify all applications because of changed in WAV port API (removed user_data from argument)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@541 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-22 18:51:50 +00:00
Benny Prijono
deb3196da3 Changed siprtp to use media transport framework to handle NAT
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@540 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-22 18:51:03 +00:00
Benny Prijono
1ec70b3082 Yet again large diffs because of documentation/doxygen update
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@531 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-20 15:39:07 +00:00
Benny Prijono
0498d902ee Re-live --quality options in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@528 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-19 14:49:14 +00:00
Benny Prijono
787b8697bd Display the invalid argument in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@526 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-19 12:40:03 +00:00
Benny Prijono
eef4f8c672 Comment out PJSUA options that are no longer supported with new pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@521 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-19 12:07:44 +00:00
Benny Prijono
37235afb40 Updated doxygen documentation to all headers in PJMEDIA
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@518 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-18 02:02:36 +00:00
Benny Prijono
c78c3a3544 Optimizations mostly in the conference bridge (gained more than 3x faster)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@513 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-16 15:54:43 +00:00
Benny Prijono
6f13748501 Fixed bug in command line parsing in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@510 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-15 11:31:36 +00:00
Benny Prijono
172cd7322c Fixed new pjsua build/makefiles
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@508 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-14 20:22:31 +00:00
Benny Prijono
22a300a401 Implement --null-audio, --auto-loop, etc. in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@507 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-14 20:04:55 +00:00
Benny Prijono
d2ea4eaaf8 Removed activex-pjsua from projects (no longer desired)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@504 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-14 12:08:52 +00:00
Benny Prijono
eebe9af098 -- REWRITE OF PJSUA API --
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@503 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-13 22:57:13 +00:00
Benny Prijono
97f2a3704d Changed codec names to uppercase in siprtp, as they are not accepted by some UA
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@494 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-07 21:21:57 +00:00
Benny Prijono
8b1889bdd2 Another huge chunks of modifications in PJSUA API, too many things to mention!
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@492 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-06 18:40:40 +00:00
Benny Prijono
b9b32abf60 Initial work on pjsua ActiveX component
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@487 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-01 12:28:44 +00:00
Benny Prijono
30c658b500 Added options in pjmedia UDP transport to disable source address checking
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@483 74dad513-b988-da41-8d7b-12977e46ad98
2006-06-01 11:37:30 +00:00
Benny Prijono
9fc735d65f More changes in pjsua API to make it more complete high level API
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@482 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-28 14:58:12 +00:00
Benny Prijono
dc39fe8a2f First stage in pjsua library re-arrangements towards creating an easy to use high level API
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@476 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-26 12:17:46 +00:00
Benny Prijono
959df2a3fb Change jitter calculation in sound test (sndtest) to show the worst jitter value
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@471 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-22 10:48:11 +00:00
Benny Prijono
6a61c22b35 Put back high thread priority in dsound.c
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@469 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-22 10:28:44 +00:00
Benny Prijono
69d9d19f73 Added sound test sample
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@464 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-21 19:00:28 +00:00
Benny Prijono
6647d82f15 Set media thread in siprtp samples to highest priority to make RTCP jitter calculation as accurate as possible
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@460 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-20 13:01:07 +00:00
Benny Prijono
4100342690 Removed VSS traces from .dsp files
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@458 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-19 21:06:04 +00:00
Benny Prijono
fcb3672eae Added --report-file options in siprtp
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@454 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-18 18:34:21 +00:00
Benny Prijono
b04c9e0072 Major modification in pjmedia to split stream transport into separate functionality, to allow using custom transports with streams
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@452 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-17 17:17:39 +00:00
Benny Prijono
98ab1a290e Fixed error in Samples.mak (TARGET instead of TARGET_NAME)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@449 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-16 13:27:33 +00:00
Benny Prijono
f996213fe2 Rearrange transaction statefull stuffs in SIP so that it will not be linked when transaction is disabled
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@448 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-16 13:20:00 +00:00
Benny Prijono
ed8c0fc17f Changed default sound back-end on Win32 to own DirectSound
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@445 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-14 21:29:53 +00:00
Benny Prijono
4d7fd203b2 Fixed bug in siprtp because of recent changes in pjsip_session_info_from_sdp()
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@444 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-14 20:57:20 +00:00
Benny Prijono
65382dba06 Set default sound backend in Win32 to own DirectSound, and changed conference clock to 10ms (from 20ms)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@443 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-14 18:50:09 +00:00
Benny Prijono
42adf5e7fb Fixed more bugs with multiple frame handling
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@442 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-14 18:23:34 +00:00
Benny Prijono
95af4cce74 Add $TARGET variable in Samples-vc.mak
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@439 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-14 09:39:04 +00:00
Benny Prijono
8befd9fe99 Another major modifications in PJMEDIA:
- handle multiple frames in one packet
- split stream creation into two steps to allow customization
- PLC framework and implementation with G.711 and speex
- stream returns NO_FRAME correctly.
- added ptime argument in pjsua



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@438 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-13 22:46:23 +00:00
Benny Prijono
16a6b0e0f6 Split reporting capability to separate file in siprtp sample
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@437 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-12 10:20:03 +00:00
Benny Prijono
0382cd8135 Updated Makefiles, defined $TARGET as shortcut for ($MACHINE_NAME-$OS_NAME-$CC_NAME)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@431 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-04 08:43:02 +00:00
Benny Prijono
410fbaea61 Added maximum duration and auto-quit option in siprtp sample.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@430 74dad513-b988-da41-8d7b-12977e46ad98
2006-05-03 18:16:06 +00:00
Benny Prijono
b8c251830a Improve codec handling in pjsua cmd-line options, and add URI to call
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@422 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-29 08:31:09 +00:00
Benny Prijono
159530153a Initial support for stereo codecs, and added L16 codecs. Also better handling for case remote media is restarted
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@412 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-27 22:37:08 +00:00
Benny Prijono
5012da80a7 Added sound clock drifting reporting in sndinfo sample
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@410 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-25 10:02:40 +00:00
Benny Prijono
3cd1880275 Better support for continuing media when peer has restarted transmission/RTP session
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@409 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-24 23:14:08 +00:00
Benny Prijono
6d7a45f38c Better support for continuing media when peer has restarted transmission/RTP session
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@408 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-24 23:13:00 +00:00
Benny Prijono
bf13feebb0 Added stream.c example to demonstrate how to stream audio from both sound device or WAV file
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@407 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-20 11:13:32 +00:00
Benny Prijono
393e5f310b Fixed small typo error in printed message in siprtp.c
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@395 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-08 09:34:58 +00:00
Benny Prijono
14b7b66d86 Randomize RTCP send interval to reduce collision risk
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@394 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-07 15:01:51 +00:00
Benny Prijono
e7483e5fcd Fixed RTCP compilation warnings with gcc
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@393 74dad513-b988-da41-8d7b-12977e46ad98
2006-04-06 21:08:35 +00:00