Commit Graph

653 Commits

Author SHA1 Message Date
Benny Prijono eb7693143c Use the smart Contact header for TCP/TLS
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/ice-turn07@1930 74dad513-b988-da41-8d7b-12977e46ad98
2008-04-15 10:35:32 +00:00
Benny Prijono b3535a4eb2 More ticket #485: huge changeset to integrate TURN with ICE and PJSUA-LIB/pjsua. Still experimental
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/ice-turn07@1926 74dad513-b988-da41-8d7b-12977e46ad98
2008-04-14 01:48:39 +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