Benny Prijono
da9080fa10
Fixed milenage build on eVC etc.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1575 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-11 07:14:47 +00:00
Benny Prijono
744aca06f2
Do not resolve SIP address with STUN if public address is configured
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1571 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-11 03:06:07 +00:00
Benny Prijono
bc9baa9791
Enable AKA support in the build by default
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1570 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-11 03:05:32 +00:00
Benny Prijono
f0f8fd1f2f
Fixed compilation warnings/errors under C++ mode
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1569 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-10 12:05:59 +00:00
Benny Prijono
1d699e8751
Deregister PJSIP_SYN_ERR_EXCEPTION upon destroying SIP endpoint to allow restarting SIP endpoint without shutting down pjlib (thanks Phil Torre)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1566 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-09 02:56:29 +00:00
Benny Prijono
2fc98badf0
Update the digest AKAv2-MD5 implementation, we can now login to OpenIMSCore
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1565 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-08 10:19:39 +00:00
Benny Prijono
fc8bb1488d
Remove SDP from 487 response when incoming INVITE comes without SDP and we are sending offer in 18x response
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1564 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-08 09:56:50 +00:00
Benny Prijono
c5cbc05578
Accept UPDATE without SDP (this is a valid scenario according to session timer RFC)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1563 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-08 09:44:08 +00:00
Benny Prijono
8eb07bfd7c
In pjsua-lib, treat incoming SDP with a=sendonly as hold request, and respond with a=inactive
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1562 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-08 09:39:06 +00:00
Benny Prijono
48ab2b70e3
- Added option to send empty Authorization header in outgoing requests
...
- When UAS has sent answer in reliable 1xx, do not put SDP in 2xx
- Handle the case when UPDATE is challenged with 401/407
- Obsolete --service-route option in pjsua
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1561 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-08 09:24:30 +00:00
Benny Prijono
3f302ff3f0
Add Contact header to UPDATE request within dialog
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1560 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-08 09:21:31 +00:00
Benny Prijono
94b2244dd0
Allow zero in outgoing CSeq in request creation within dialog
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1558 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-08 03:30:39 +00:00
Benny Prijono
32767ecd64
Change default PUBLISH interval from 60 seconds to PJSUA_PRES_TIMER
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1556 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-07 03:45:03 +00:00
Benny Prijono
2fcca5c371
Fixed bug in route set calculation: prevent updating route set upon receiving failure response (e.g. 401/407 response), and remove the first_cseq check since this would not work when the first request is challenged
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1555 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-06 08:59:17 +00:00
Benny Prijono
c1b1c0ac00
Validate SDP in incoming message before passing it to negotiator (otherwise assertion will occur if SDP contains error)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1554 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-06 08:48:02 +00:00
Benny Prijono
ea9fd39950
The NAT type investigation in incoming INVITE caused assertion error when the INVITE comes without SDP
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1553 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-06 03:41:40 +00:00
Benny Prijono
5e2f683e85
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@1552 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-05 23:30:40 +00:00
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
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
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
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
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
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
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
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
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
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
Benny Prijono
28f673a1d4
Continuing ticket #396 : tested digest AKAv1, implemented AKAv2, and some works in the authentication framework to support it
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1500 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-15 07:04:59 +00:00
Benny Prijono
4ab9fbbd57
Ticket #399 : Initial implementation of tool to perform NAT type detection/classification
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1495 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-12 12:14:27 +00:00
Benny Prijono
ac2997616a
Fixed compilation warnings with AKA implementation
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1492 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-11 11:26:12 +00:00
Benny Prijono
33b5a1cecc
Ticket #397 : Bug with handling large SIP message body (thanks Helmut Wolf)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1491 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-11 11:21:00 +00:00
Benny Prijono
b071a7897d
Fixed build warnings/error on Linux
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1490 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-10 13:12:37 +00:00
Benny Prijono
83b6d61933
Continuing ticket #396 : added PJSIP_HAS_DIGEST_AKAv1_AUTH to enable AKA support. Default is disabled, for now
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1489 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-10 12:18:27 +00:00