Benny Prijono
24a21856cb
Fixed miscellaneous compile warnings/errors when built with C++ mode
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1929 74dad513-b988-da41-8d7b-12977e46ad98
2008-04-14 04:04:30 +00:00
Benny Prijono
53a7c70638
Ticket #525 : Crash on call update or re-invite (Thanks Alexey)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1928 74dad513-b988-da41-8d7b-12977e46ad98
2008-04-14 02:57:29 +00:00
Benny Prijono
c54dcb3920
As per list report, changed the default response to incoming REFER from 200 to 202 as some gateways do not like this. Thanks Pedro Sanchez for the report
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1912 74dad513-b988-da41-8d7b-12977e46ad98
2008-04-08 23:33:15 +00:00
Benny Prijono
617b8605e2
Fixed crash in SRTP when incoming SDP is received without any m= line (thanks Atik)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1909 74dad513-b988-da41-8d7b-12977e46ad98
2008-04-07 10:10:31 +00:00
Benny Prijono
7fff9f9778
Ticket #522 : Enable keep-alive for UDP transport even when STUN is not configured
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1908 74dad513-b988-da41-8d7b-12977e46ad98
2008-04-04 10:50:21 +00:00
Benny Prijono
754a4df66c
Ticket #521 : Duplicate Authorization header when PJSIP is configured to send empty Authorization header (thanks Roland Klabunde)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1906 74dad513-b988-da41-8d7b-12977e46ad98
2008-04-02 20:34:05 +00:00
Benny Prijono
c295d9f962
More ticket #514 : bug in previous fix caused invite session to unable to respond to authentication in re-INVITE
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1902 74dad513-b988-da41-8d7b-12977e46ad98
2008-04-01 16:37:58 +00:00
Benny Prijono
7d60d052eb
Ticket #504 : final installment to support stereo audio all the way in PJMEDIA. Please see tickiet #504 for more info
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1898 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-29 12:24:20 +00:00
Benny Prijono
9ae5dfc6fc
More ticket #514 : the last fix causes invite session to refuse to send CANCEL!
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1896 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-27 17:30:51 +00:00
Benny Prijono
e8554ef92f
Ticket #515 (Update Contact header in REGISTER for TCP/TLS transport)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1889 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-22 09:33:52 +00:00
Benny Prijono
573b78c5b1
More ticket #61 : (after rolling back previously buggy patch) Fixed bug in pjsua-lib with SRTP. If call is hold and resumed, SRTP transports will use itself as the underlying transport
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1884 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-21 09:15:50 +00:00
Benny Prijono
68f9e4f2fc
More ticket #61 : bug in pjsua-lib with SRTP. If call is hold and resumed, SRTP transports will use itself as the underlying transport
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1883 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-21 08:56:02 +00:00
Benny Prijono
22e48c9878
Ticket #514 : bug with handling simultaneous outgoing re-INVITE, the invite session does not check if we have an ongoing INVITE transaction (thanks Philippe Leuba)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1878 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-20 14:40:50 +00:00
Benny Prijono
5297af9f59
Related to ticket #353 : still memory leak with pjsua wav player (thanks Arie Velthoen)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1874 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-18 13:40:40 +00:00
Benny Prijono
734fc2d550
More ticket #479 : bug in pjmedia_transport_get_info(), the info should be initialized by caller
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1873 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-17 16:05:35 +00:00
Benny Prijono
7ffd7752fd
Ticket #507 : committed and tested g722 patch on Windows
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1870 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-17 14:07:53 +00:00
Benny Prijono
6e7c5add56
More ticket #504 : buffer overflow in splitcomb when handling stereo audio
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1866 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-13 10:15:16 +00:00
Benny Prijono
e1a5a852c0
Ticket #479 : allow media transport framework to return transport specific info (for example, to know whether SRTP is enabled)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1860 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-11 21:38:05 +00:00
Benny Prijono
bcc7d0df06
More ticket #7 : fixed undefined symbol on Symbian
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1857 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-11 13:37:25 +00:00
Benny Prijono
50f19b3250
More ticket #495 : bug in snd_clock_rate causing unability to open sound device on WinCE
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1855 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-11 13:15:43 +00:00
Benny Prijono
9963998a85
Ticket 467: dont send SDP with BYE!
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1849 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-07 14:39:52 +00:00
Benny Prijono
52cde927b5
Ticket #498 : Option in client registration to ignore Contact address in REGISTER response
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1837 74dad513-b988-da41-8d7b-12977e46ad98
2008-03-02 10:37:41 +00:00
Benny Prijono
f3758ee6f8
Ticket #495 : ability to specify different clock rate when opening sound device
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1823 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-26 15:32:16 +00:00
Benny Prijono
5d177b88db
Fixed bug in ticket #455 in round-robin call ID allocation (thanks Truong Thanh Quang)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1821 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-26 10:31:28 +00:00
Benny Prijono
4768c3c9fd
Ticket #7 : Move PJSIP compile time configurations/settings (such as T1, T2 timers) to run-time (thanks Philippe Leuba)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1818 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-22 11:10:17 +00:00
Benny Prijono
5933e05461
Ticket #491 : Crash in TCP/TLS transport when the listener is destroyed
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1817 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-22 09:56:27 +00:00
Benny Prijono
7433446236
Ticket #492 : Bug in strict route processing when challenged with 401/407 response
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1816 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-22 08:36:06 +00:00
Benny Prijono
8389c31c97
Ticket #412 : increased randomness of guid_simple.c to 192-bits, and seed random number generator in pjsua_core.c
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1815 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-21 21:36:34 +00:00
Benny Prijono
87402389b7
Ticket #488 : When outgoing request within dialog is responded with 481 or 408, should send BYE after terminating dialog (thanks Philippe Leuba)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1814 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-21 19:28:21 +00:00
Benny Prijono
2dbed82495
Ticket #467 : fixed issues with RTP/AVP vs RTP/SAVP negotiation
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1810 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-21 10:08:27 +00:00
Benny Prijono
fc13bf6ed7
Ticket #489 : New PJSUA callbacks to notify application when media stream is created and destroyed
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1806 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-20 08:56:15 +00:00
Benny Prijono
19450bebc4
Ticket #482 : TCP keep-alive packets are corrupting SIP message (thanks Helmut Wolf)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1800 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-15 17:26:47 +00:00
Benny Prijono
0ee4dde130
Ticket #481 : Default TLS version should be TLSv1 (thanks Klaus Darilion)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1799 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-15 08:08:06 +00:00
Benny Prijono
0c06826053
Added link to discussions about on_dtmf_callback() concurrency
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1796 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-14 14:38:52 +00:00
Benny Prijono
8b22ce1030
Minor error: wrong logging info when printing RTP socket address
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1786 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-08 12:57:55 +00:00
Benny Prijono
db844a4e5d
More ticket #61 : fixed signaling security level calculation for SRTP
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1774 74dad513-b988-da41-8d7b-12977e46ad98
2008-02-02 17:07:18 +00:00
Benny Prijono
bc2219bc48
Added pj_strstr() and pj_stristr() in pjlib
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1757 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-26 10:45:52 +00:00
Benny Prijono
423f641465
Bug: source address not initialized in loop transport causing pjsip-test to fail
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1756 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-26 10:45:02 +00:00
Benny Prijono
a7b376bc7c
Fixed doxygen comments everywhere
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1748 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-25 16:06:33 +00:00
Benny Prijono
f650898407
More ticket #61 : fix bug in secure signaling determination, and added --srtp-secure option in pjsua to control signaling security requirement for SRTP
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1745 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-25 09:02:33 +00:00
Benny Prijono
25b2ea147a
Return 406/Not Acceptable if SRTP negotiation failed instead of 500
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1742 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-24 19:20:54 +00:00
Benny Prijono
d817965a91
Ticket #61 : Implement SRTP support in PJMEDIA and PJSUA-LIB, and updated applications because of the changes. This is a major modification back ported from SRTP branch. See ticket #61 for changelog detail of this commit
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1735 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-23 20:39:07 +00:00
Benny Prijono
87a9021bc0
Related to ticket #61 : added new invite session API pjsip_inv_verify_request() which takes additional remote SDP, to avoid parsing SDP multiple times
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1733 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-23 20:29:30 +00:00
Benny Prijono
5b221d4fa6
Related to ticket #61 : Added PJSIP_ESESSIONINSECURE error code in sip_errno to require that secure session shall be used (needed by SRTP)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1732 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-23 20:25:39 +00:00
Benny Prijono
5773cd69a9
Ticket #455 : allocate pjsua call id in round robin fashion
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1717 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-19 13:01:42 +00:00
Benny Prijono
4190cf9e19
Ticket #453 : Log level is not set in PJSUA-LIB (thanks Simon Farmer)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1705 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-18 13:25:05 +00:00
Benny Prijono
be41d86a41
Minor correction about WAV player parameter name and its comment in pjsua.h
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1704 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-18 13:24:28 +00:00
Benny Prijono
58add7c5c7
Minor correction about WAV player parameter name and its comment in pjsua.h
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1703 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-18 13:24:07 +00:00
Benny Prijono
0b41aa52d5
Fixed compilation warnings on OSX 10.5
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1694 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-15 20:26:13 +00:00
Benny Prijono
59b3aed4d9
Reply with 488+SDP instead of 415 when incoming SDP is not acceptable (thanks Alain Totouom)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1693 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-15 16:54:54 +00:00
Benny Prijono
37c710ba55
Added PJSUA_DEFAULT_AUDIO_FRAME_PTIME setting and changed default iLBC mode from 20 to 30
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1675 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-10 12:09:26 +00:00
Benny Prijono
e723b92f8b
Ticket #443 : Overflow in dump_media_session() (thanks Simon Farmer)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1674 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-09 22:11:24 +00:00
Benny Prijono
1402a4a0a1
Protect against division by zero in pjsua's dump_media_session (thanks Simon Farmer)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1671 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-08 23:41:22 +00:00
Benny Prijono
38fb3ead87
Related to ticket #437 : optimize the stack usage of pjsua-lib
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1655 74dad513-b988-da41-8d7b-12977e46ad98
2008-01-02 08:27:03 +00:00
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
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
Benny Prijono
7977f9f7eb
Ticket #396 : initial implementation of digest AKA (akav1-md5) authentication for IMS/3GPP
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1488 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-10 11:37:56 +00:00
Benny Prijono
05ec487eec
Fixed bug: resolver did not select securer transport for SIPS URI
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1484 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-06 17:55:55 +00:00
Benny Prijono
cf0b4b22d4
Ticket #393 : Added configuration to set basic audio frame length to minimize audio latency in pjsua-lib
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1482 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-06 17:31:09 +00:00
Benny Prijono
ee7276b6f5
Force svn eol-style for WinCE project files to CRLF
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1478 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-05 12:28:11 +00:00
Benny Prijono
feb69f445d
Ticket #391 : Added framework to send and receive arbitrary requests within call in PJSUA-LIB, with samples to send/receive DTMF with INFO in pjsua application
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1477 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-05 09:12:26 +00:00
Benny Prijono
97acefd361
Related to ticket #95 : bug in TLS transport: keep-alive timer is not cancelled when transport is destroyed
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1476 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-05 06:41:04 +00:00
Benny Prijono
9569a0b59f
Related to ticket #5 : fixed compilation warnings on gcc
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1475 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-04 15:35:26 +00:00
Benny Prijono
6649156722
Related to ticket #385 : fixed gcc compilation warnings
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1474 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-04 15:34:22 +00:00
Benny Prijono
6703f04646
Ticket #95 : Keep-alive mechanism for TCP and TLS transports
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1473 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-04 09:50:36 +00:00
Benny Prijono
bdc093fe5f
Ticket #390 : Register session will keep transport instance so that keep-alive is sent
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1472 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-04 09:48:25 +00:00
Benny Prijono
c08682eddc
Ticket #389 : Added new commands in pjsua to change codec priorities and send UPDATE
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1471 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-04 06:17:58 +00:00
Benny Prijono
7a686d085e
Related to ticket #385 : fixed bug in pjsua-lib: 100rel module is not initialized because PJSIP_HAS_100REL macro has been removed
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1470 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-04 06:15:26 +00:00
Benny Prijono
1f7767b66e
Ticket 5: Support for SIP UPDATE (RFC 3311) and fix the offer/answer negotiation
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1469 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-03 18:28:49 +00:00
Benny Prijono
79d79886d0
Related to ticket #385 : bug in 100rel causing 2xx response to be queued indefinitely when UAS previously sent 1xx response with SDP
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1467 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-01 12:22:52 +00:00
Benny Prijono
651f6e29f5
Fixed ticket #387 : UAS dialog should add Contact header in 1xx response
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1466 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-01 12:20:35 +00:00
Benny Prijono
a41d66ec5c
Fixed ticket #386 : Over-deinitialize sound subsystem in pjsua_media.c (thanks Jiandong Ruan)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1465 74dad513-b988-da41-8d7b-12977e46ad98
2007-10-01 12:17:23 +00:00
Benny Prijono
373633c6e4
Fixed compilation error in sip_100rel.c when c++ mode is used
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1464 74dad513-b988-da41-8d7b-12977e46ad98
2007-09-30 18:06:41 +00:00
Benny Prijono
dcfc0bab7a
Ticket #385 : Support for reliable provisional response (100rel, PRACK)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1463 74dad513-b988-da41-8d7b-12977e46ad98
2007-09-30 16:50:27 +00:00
Benny Prijono
8063ddff02
Changed pjsip_tx_data obj_name to be consistent with its pool obj_name
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1462 74dad513-b988-da41-8d7b-12977e46ad98
2007-09-30 16:43:36 +00:00
Benny Prijono
22ee695ae2
Reverted back CSeq data type to signed 32bit integer
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1461 74dad513-b988-da41-8d7b-12977e46ad98
2007-09-30 16:40:57 +00:00
Benny Prijono
df65719ddc
Changed CSeq data type in dialog to 32bit (instead of 31bit)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1460 74dad513-b988-da41-8d7b-12977e46ad98
2007-09-30 11:02:37 +00:00
Benny Prijono
76c18818c9
Changed initial sequence number randomization to produce number in 15bit instead, to assist troubleshooting
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1459 74dad513-b988-da41-8d7b-12977e46ad98
2007-09-30 11:00:49 +00:00
Benny Prijono
315999bde4
Minor fix: changed file identification in log (the THIS_FILE macro) from sip_regc.c to sip_reg.c
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1458 74dad513-b988-da41-8d7b-12977e46ad98
2007-09-30 10:58:36 +00:00
Benny Prijono
15b0230b89
Ticket #381 : auto-update the IP address in Contact according to the address/port received in REGISTER response
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1454 74dad513-b988-da41-8d7b-12977e46ad98
2007-09-27 14:07:07 +00:00