Commit Graph

1388 Commits

Author SHA1 Message Date
Benny Prijono 8dbd8637e8 SIP TCP and TLS transports may call send completion callback with bytes_set=0 when send operation fails because outgoing connection is cancelled (for example, application quits). This will trigger assertion error in transaction because transaction only expects positive or negative bytes_set number, but not zero
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1551 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-05 23:25:37 +00:00
Benny Prijono 42307c7b79 Update ticket #408: although route set must not be updated on subsequent requests, dialog MUST recompute the route set upon receiving 2xx response if the route set was previously computed from 1xx response
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1550 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-05 23:14:18 +00:00
Benny Prijono 7129cc7234 Increment SDP version upon creating subsequent offer inside the call (ref: Sipit21/Mon/12:30)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1549 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-05 05:54:25 +00:00
Benny Prijono 8c05b552cb Continue doing ICE/STUN keep-alive if the request failed because of timeout (PJNATH_ESTUNTIMEDOUT)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1548 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-04 03:55:17 +00:00
Benny Prijono e1c984f0c4 Fixed bug with detecting successful unregistration request. Previously, successful unregistration was mistakenly treated as successful registration when it contains no Contact header and has positive Expires header value
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1547 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-04 02:05:13 +00:00
Benny Prijono 840d08e767 Only do Test 1B if Test 2 failed
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1546 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-03 22:44:14 +00:00
Benny Prijono 80eee89556 Removed pjsua requirement to have consecutive RTCP mapped ports, and instead just print log message if mapped RTCP port is not adjacent to mapped RTP port
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1545 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-03 22:43:23 +00:00
Benny Prijono 91be4aad89 Log source address of incoming STUN message
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1544 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-03 21:43:05 +00:00
Benny Prijono 438e65b9a4 Print error message if NAT type detection command fails
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1543 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-03 21:42:10 +00:00
Benny Prijono 2568c74dba Changed Service-Route processing to append S-R to existing route set rather than overwriting them
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1542 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-03 09:29:52 +00:00
Benny Prijono 9761c4ce61 Fixed wrong comment on audio_frame_ptime default value
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1541 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-03 07:10:29 +00:00
Benny Prijono efe0d32fe7 Allow empty reason phrase in SIP responses during parsing (thanks Roman Puls)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1540 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-03 03:41:30 +00:00
Benny Prijono 860be56153 Ticket #410: Endless authentication retries when 401/407 response contains no challenge
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1539 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-03 01:46:03 +00:00
Benny Prijono e083fd5786 More ticket #385: 100rel support should be enabled by default
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1538 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-01 06:40:33 +00:00
Benny Prijono 124a22235f Ticket #408: Route set shouldn't be updated once it has been set (thanks Anshuman S. Rawat)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1537 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-31 15:52:09 +00:00
Benny Prijono bddef2c767 Ticket #407: keep-alive for UDP transports in PJSUA-LIB
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1536 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-31 13:28:08 +00:00
Benny Prijono 1086143eaa Ticket #406: New PJSUA API to update buddy's presence subscription
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1535 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-31 10:54:53 +00:00
Benny Prijono a17496a0e3 Ticket #405: Subscribe to buddy presence upon receiving incoming subscription from the buddy
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1534 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-31 10:20:31 +00:00
Benny Prijono 91a6a173bb More ticket #399: added PJSUA API to retrieve the remote NAT type
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1533 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-31 08:59:29 +00:00
Benny Prijono 324409edf5 Fixed deadlock in increment_counter() and decrement_counter() caused by different lock order (thanks Phil Torre)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1531 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-31 07:53:17 +00:00
Benny Prijono df91208a02 Fixed route set bug in simpleua.c (thanks Raquie Rawq)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1530 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-30 16:41:45 +00:00
Benny Prijono 44e88ea429 Added pjsua_get_var() to access pjsua_var from a DLL (thanks Tomas Valenta)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1529 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-30 15:42:35 +00:00
Benny Prijono 7d96853a1c Initial minimum jitter value was set to 2ms (thanks Roman Puls)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1528 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-30 15:37:58 +00:00
Benny Prijono 337fb5e986 Fixed warnings in PJLIB string_i.h about variable may not get initialized
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1527 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-26 09:02:28 +00:00
Benny Prijono aecabfc658 More ticket #399: pj_sock_close() is called more than once. Also implemented NAT detection callback for Symbian UA
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1526 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-26 05:35:42 +00:00
Benny Prijono 7d3e12c860 Ticket #403: Ability to specify RConnection instance etc in PJLIB Symbian
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1525 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-26 05:25:35 +00:00
Benny Prijono 3838c21431 More ticket #399: on_request_complete() callback does not release the mutex in some cases
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1524 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-26 04:17:03 +00:00
Benny Prijono f207547788 More ticket #399: fixed bug that triggers assertion in the timer
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1523 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-26 03:59:34 +00:00
Benny Prijono c2456ccd18 Added assertion which checks if evsub module has been registered before other calls pjsip_evsub_register_pkg() (thanks Alexander Agranovsky)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1522 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-25 03:19:58 +00:00
Benny Prijono 349b17fe5f Fixed wrong doxygen documentation for various AUTH settings (thanks Alexander Agranovsky)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1521 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-25 03:18:51 +00:00
Benny Prijono 2a67ea43f8 Continuing ticket #400: Only process Service-Route header if enable_service_route (--service-route option in pjsua) is set
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1520 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-25 02:51:33 +00:00
Benny Prijono 03be9fa460 Fixed ticket #402: Endless error loop when TCP accept() continuously returns error
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1519 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-24 09:37:50 +00:00
Benny Prijono 522e7de2b5 Fixed ticket #401: Unable to register when account URI contains display name
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1518 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-24 08:32:00 +00:00
Benny Prijono e6906bd233 Added more svn:ignore files
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1517 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-24 08:29:38 +00:00
Benny Prijono 1f099197d9 Added dummy symbol in PJLIB's ctype.c to avoid linker warning about empty translation unit (thanks Jim Gomes)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1516 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-21 11:51:05 +00:00
Benny Prijono 0de9e2b3a0 Added default value for PJ_SOL_TCP for systems that lack SOL_TCP or IPPROTO_TCP (thanks Jim Gomes)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1515 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-21 11:49:48 +00:00
Benny Prijono 4baf4745ce Fixed compilation warning in sip_auth_client.c about unreachable code when AKA is not used (thanks Jim Gomes)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1514 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-21 11:48:51 +00:00
Benny Prijono 427439c49d Changed default AEC/EC tail length (PJSUA_DEFAULT_EC_TAIL_LEN) from 800 ms to 200 ms since we now have much better sound latency
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1513 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-21 09:41:24 +00:00
Benny Prijono 741cfb4777 More ticket #395: changed max default buffer length from 60ms to 100ms for added stability
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1512 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-21 09:40:19 +00:00
Benny Prijono c231419d00 Updated libmilenage Visual Studio project toption to use /MD instead of /MT
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1511 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-21 02:08:38 +00:00
Benny Prijono f9090f7bb5 Added resample_libsamplerate.c into VS8 project
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1510 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-21 02:05:15 +00:00
Benny Prijono eb5874c7dc Fixed bug in pjmedia clock_thread.c: busy loop when clock thread is stopped
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1509 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-20 23:58:23 +00:00
Benny Prijono f020ab23a3 Updated Service-Route calculation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1508 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-18 15:28:33 +00:00
Benny Prijono a2a2d416b8 Ticket #400: initial support for Service-Route header, still untested
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1507 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-18 05:54:02 +00:00
Benny Prijono d224f9d7c1 Updated README.txt of libsamplerate instructions
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1506 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-18 01:58:38 +00:00
Benny Prijono 3808af1d42 Updated VS2005 and eVC projects with new base64 and AKA files
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1505 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-18 01:40:44 +00:00
Benny Prijono 19a351710a Fixed build warnings/errors for Symbian target
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1504 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-17 06:21:44 +00:00
Benny Prijono 07a5ffb941 Tolerate more ICMP errors in ICE media transport
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1503 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-16 14:10:58 +00:00
Benny Prijono 550a1a6544 Ticket #398: support for libsamplerate in the autoconf+Makefile
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1502 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-16 08:54:00 +00:00
Benny Prijono 6ba8c54950 More ticket #399: added callback to report NAT detection result, and sends NAT type in SDP
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1501 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-16 01:34:14 +00:00