Nanang Izzuddin
2c953d4f2d
Added test delaybuf to pjmedia MIPS test.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2192 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-04 16:03:28 +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
37fc9de7fd
Fixed build error on FreeBSD (cannot use <netinet/ip.h> if <netinet/in_systm.h> is not included)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2190 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-04 14:45:02 +00:00
Benny Prijono
33c9db0ea3
Fixed compilation warning in test-pjsip
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2189 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-04 14:30:33 +00:00
Benny Prijono
ed3bd6ffa8
Changed SIP transport to use active socket to fix ticket #579 : "Data loss with TCP sockets (thanks Helmut Wolf for the report)". Also added SIP more TCP transport tests to reproduce the bug
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2188 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-04 10:52:51 +00:00
Benny Prijono
bd344ff0ba
Added new active socket API's to specify application buffers in start_read() and start_recv() functions
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2187 74dad513-b988-da41-8d7b-12977e46ad98
2008-08-04 09:59:02 +00:00
Benny Prijono
7f6ee02164
Fixed ticket #582 : Extended presence status is not sent in initial NOTIFY request (thanks Joseph Maiquez for the report)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2186 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-31 08:32:46 +00:00
Benny Prijono
417d6054a7
Initial work for ticket #579 : added option to make the active socket sends all the (TCP) data before calling completion callback
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2185 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-29 20:15:15 +00:00
Nanang Izzuddin
794be669a0
Ticket #557 : Fixed memory leak in Speex EC (actually this is updating Speex version to 1.2rc1)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2184 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-29 12:13:40 +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
901a2c3f8d
Added PJ_LOG_HAS_LEVEL_TEXT logging flag to display the log verbosity level (thanks Ondrej Sterbak for the patch)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2181 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-28 21:15:04 +00:00
Benny Prijono
1523ff9333
Ticket #538 : Closed TCP connection should be removed from the hash table immediately
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2180 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-28 20:17:04 +00:00
Benny Prijono
4676455ef0
Ticket #580 : Incoming target refresh request does not update the Contact header (thanks Joel Dodson for the report)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2179 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-28 18:57:36 +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
1dd5420a03
Fixed linking errors in pjnath when TCP is disabled in PJLIB
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2177 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-25 10:45:34 +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
Benny Prijono
733486a3b6
Ticket #578 : Bug in encoding ICE candidate type in SDP (thanks Ondrej Sterbak)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2175 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-25 09:16:30 +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
6ee5fb133e
pj_strtoul() should stop the conversion as soon as it finds a non-digit character in the input
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2169 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-23 13:26:33 +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
0afea9b997
Added math.h to pjlib's Visual Studio projects
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2167 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-22 14:58:41 +00:00
Benny Prijono
e1a008e980
Wrong documentation in pjmedia_snd_port_connect() (thanks Klaus Darilion)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2166 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-22 10:36:38 +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
705e784529
Ticket #576 : Added user data in pjsua account and buddy
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2162 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-21 18:12:51 +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
b726d268a6
Fixed build error with some Mingw configuration related to socklen_t
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2160 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-19 18:05:04 +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
d7e2658d30
Related to ticket #192 : crash when shutting down pjsua if buddy pool has been destroyed when presence subscription callback is called
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2157 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-18 23:51:49 +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
Benny Prijono
6d9ee8d5da
Ticket #575 : Unregistering from Windows IOCompletionPort (IOCP) ioqueue does not close the socket handle (thanks Gang Liu for the report)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2155 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-18 10:33:09 +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
99e591fdb2
Fixed linking error cased by missing PJMEDIA_HAS_RTCP_XR guard for pjmedia_session_get_stream_stat_xr()
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2153 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-17 16:03:50 +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
1af449a512
Fixed Winsock link error in pjturn-srv VS6 project
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2151 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-17 14:45:48 +00:00
Benny Prijono
63fba01e16
Ticket #192 : 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@2150 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-17 14:19:10 +00:00
Benny Prijono
751305783c
Ticket #574 : Add new API to know why the outgoing subscription request is terminated and added support for delaying subscription acceptance
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2149 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-17 13:53:41 +00:00
Benny Prijono
ac3c28dfed
More ticket #568 : added hash_test.c to pjlib-test VS6 and VS2005 projects
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2148 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-17 13:44:56 +00:00
Benny Prijono
0c13f3d89e
Ticket #573 : Handle receiving short version of Event header
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2147 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-16 22:39:45 +00:00
Benny Prijono
c4633496dd
Ticket #572 : New PJSIP pjsip_msg_find_hdr_by_names() API to find SIP header by either header name or the short header name
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2146 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-16 12:31:57 +00:00
Nanang Izzuddin
66456af972
Ticket #570 : Fixed find_pitch() search range iteration; and fixed wsola_generate() in deciding when to just return a frame from existing extra samples and when to expand/generate samples.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2145 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-14 18:55:01 +00:00
Nanang Izzuddin
4b96049db1
Ticket #569 : Updated SRTP locking to not guard member transport when sending packet; added separate tx_buffer for RTCP since tx_buffer is not guarded by SRTP lock anymore
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2144 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-14 18:36:50 +00:00
Nanang Izzuddin
375850e9e0
Fixed minor bug missing wsola_plc initialization.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2143 74dad513-b988-da41-8d7b-12977e46ad98
2008-07-14 17:59:31 +00:00