Benny Prijono
91e567e7b1
Ticket #433 : Failure in media negotiation when SDP contains two audio media lines (thanks Arie Velthoen)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1639 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-28 08:51:58 +00:00
Benny Prijono
42d08d28d3
Related to Ticket #429 : when bind address is specified and public address is not, the bind address should be used as the public address (thanks Arie Velthoen)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1636 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-20 11:23:07 +00:00
Benny Prijono
9f6c90c7a1
Reverted back changes in r1631
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1634 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-17 11:40:14 +00:00
Benny Prijono
ae63e5583f
Make pj_ioqueue_op_key_init() in pjsip_tx_data_create() more correct
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1632 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-14 17:24:04 +00:00
Benny Prijono
3a4628397e
Fixed case when tdata is NULL pjsip_tx_data_get_info()
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1631 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-14 17:18:16 +00:00
Benny Prijono
0cdcd3f918
Ticket #429 : Failed to create RTP/RTCP sockets when explicit bind address is specified (thanks Arie Velthoen)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1625 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-09 14:14:11 +00:00
Benny Prijono
db4eb81fd7
IPv6 logging in account keep-alive in pjsua-lib
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1622 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-09 05:30:47 +00:00
Benny Prijono
5f55a1f49b
Fixed run-time error on MacOS X (and possibly BSD based systems) when bind() is called with larger addrlen
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1621 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-05 05:08:29 +00:00
Benny Prijono
b247714f40
Fixed error when creating TLS transport in pjsua-lib (the TLS type was misidentified was UDP)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1618 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-05 04:09:59 +00:00
Benny Prijono
19b29373fe
Fixed Contact generation failure and crash on unregistration if regc initialization failed
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1617 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-05 04:08:40 +00:00
Benny Prijono
fe0b1d66bb
Fixed mapped_address's address family not set causing assertion
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1616 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-05 04:07:37 +00:00
Benny Prijono
5186eae58c
Ticket #420 : updated pjmedia SDP and media UDP transport to support IPv6
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1615 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-03 14:38:25 +00:00
Benny Prijono
7ebdb3e3ba
Fixed compilation errors/warnings on Linux with the recent IPv6 commits
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1611 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-03 00:40:58 +00:00
Benny Prijono
d0bd498ec6
More ticket #421 : fixed SIP messaging components to support IPv6 format
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1610 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-02 15:40:52 +00:00
Benny Prijono
23674a3c39
Ticket #421 : initial IPv6 support: UDP transport
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1602 74dad513-b988-da41-8d7b-12977e46ad98
2007-12-01 08:59:25 +00:00
Benny Prijono
fe7d87b264
Fixed difference in the declaration of log callback between pjsua-lib and pjlib (thanks Arie Velthoen)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1600 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-29 11:35:44 +00:00
Benny Prijono
d5f9f42a79
Ticket #416 : Allow application to handle sending ACK manually
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1598 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-25 04:40:07 +00:00
Benny Prijono
c5145764e3
Fixed ticket #426 : Respond incoming CANCEL with no matching INVITE with 481 (thanks Sergey Bakulin)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1597 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-23 12:04:40 +00:00
Benny Prijono
99cd02997e
Ticket #424 : Added API to retrieve number of transactions and dialogs (thanks Sergey Bakulin)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1594 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-23 03:47:50 +00:00
Benny Prijono
37db51c5a6
Fixed ticket #423 : Client registration (pjsip_regc) doesn't obey explicit transport selection (thanks Hitesh)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1593 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-23 03:41:54 +00:00
Benny Prijono
8147f40b7d
Ticket #14 : Don't change RTP/RTCP SSRC on re-INVITE
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1591 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-21 14:50:07 +00:00
Benny Prijono
d07f71621f
Fixed wrong doxygen comment on various SIP parsing function, about null-terminating the input text
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1582 74dad513-b988-da41-8d7b-12977e46ad98
2007-11-16 03:52:05 +00:00
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