Commit graph

680 commits

Author SHA1 Message Date
Benny Prijono
b2ad04a288 Do no disconnect invite session if authentication fails for requests within dialog. Also clears up inv->invite_tsx if re-INVITE fails with authentication error, otherwise it will not be able to send further re-INVITEs
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2058 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-26 13:24:10 +00:00
Benny Prijono
61fc5e6aa2 Fixed assertion error when resending re-INVITE after it is challenged with 401/407, and also fixed error when the invite session is not retrying the BYE request when it is challenged with 401/407
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2053 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-25 18:35:31 +00:00
Benny Prijono
0b4c57b8de Fixed ticket #550: PRACK is not re-sent on 401/407 challenge (thanks Josh Benson)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2049 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-25 10:15:01 +00:00
Benny Prijono
32177c0418 Large changeset to replace all occurences of year 2007 with 2008 in the copyright notice
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2039 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-20 22:44:47 +00:00
Benny Prijono
5b64b8df4b Updated doxygen documentations
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2037 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-20 21:39:02 +00:00
Benny Prijono
224b4e22a7 Ticket #549: major modification in media transport API to support more offer/answer scenarios
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2032 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-19 14:10:28 +00:00
Nanang Izzuddin
148fd3929a More ticket #540: updated snd-auto-close to work friendly with call
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2027 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-16 09:52:50 +00:00
Nanang Izzuddin
68559c3dac Ticket #540: Added pjsua-lib feature auto-close sound device on idle and new pjsua option --snd-auto-close=N
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2018 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-13 17:01:46 +00:00
Benny Prijono
89ac2b4d25 Fixed various compilation warnings with gcc strict compilation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2015 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-13 12:52:56 +00:00
Benny Prijono
123fad7d79 Fixed error representing the qvalue in Contact header (parser error), and optimize the printing to remove ending zero digits (thanks Philippe Leuba)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2005 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-11 11:18:04 +00:00
Nanang Izzuddin
9dbad15b00 Updated default speex quality settings and reenabled pjsua to set Speex codec quality based on media quality config
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@2004 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-10 18:56:10 +00:00
Nanang Izzuddin
fd461eb779 Added more validations & a new API (thanks Florian Bomers):
- added more validation on pjmedia transport get info.
 - added more validation on stop_media_session() of pjsua_media, useful when conference is not used.
 - added new API for retrieving user_data of pjmedia session.




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1998 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-09 09:35:59 +00:00
Benny Prijono
1189365820 Ticket #418 Protect client registration session with mutex
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1992 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-06 22:52:48 +00:00
Benny Prijono
f76e1396d7 More ticket #485: added TURN support in PJSUA-LIB API
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1990 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-06 14:51:48 +00:00
Benny Prijono
4304725c30 Fixed gcc warnings about type pruned pointers
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1981 74dad513-b988-da41-8d7b-12977e46ad98
2008-06-04 14:44:29 +00:00
Nanang Izzuddin
e85a1835c9 Fixed bug wrong option for resample port between conference bridge and sound device
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1970 74dad513-b988-da41-8d7b-12977e46ad98
2008-05-29 11:03:23 +00:00
Nanang Izzuddin
829ac0206e Changed build optimizations settings for Speex, pjmedia, and symbian_sound for Symbian. Speex/8000 now also runs on Symbian!
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1965 74dad513-b988-da41-8d7b-12977e46ad98
2008-05-27 00:24:26 +00:00
Nanang Izzuddin
2d4ee7d379 More on ticket #535: updated files using and related to math.h
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1961 74dad513-b988-da41-8d7b-12977e46ad98
2008-05-17 14:54:18 +00:00
Benny Prijono
dd742dab2f Ticket #534: Client register/registration support for various registrar brokenness
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1959 74dad513-b988-da41-8d7b-12977e46ad98
2008-05-17 12:45:00 +00:00
Benny Prijono
054c5df8fd More ticket #533: fixed bug in Retry-After parser (thanks Samuel Vinson)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1957 74dad513-b988-da41-8d7b-12977e46ad98
2008-05-15 10:07:36 +00:00
Benny Prijono
23110bf308 Ticket #533: Support for parsing Retry-After SIP header
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1954 74dad513-b988-da41-8d7b-12977e46ad98
2008-05-13 09:38:50 +00:00
Nanang Izzuddin
af97484f77 Ticket #524: changed pjsua and stereotest default audio frame time from 10ms to 20ms
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1951 74dad513-b988-da41-8d7b-12977e46ad98
2008-05-08 09:51:16 +00:00
Benny Prijono
5516f91a7e Fixed bug: NOTIFY is sent continuously on PJSUA-LIB shutdown
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1947 74dad513-b988-da41-8d7b-12977e46ad98
2008-05-05 12:06:08 +00:00
Benny Prijono
fa34806bcd If regc.check_contact is disabled, and no Expires header has been found, but the server does return one single Contact header, assumes that the server is broken/unable to return the correct Contact. In this case, get the expiration from the single Contact header in the response (thanks Alan Bond)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1946 74dad513-b988-da41-8d7b-12977e46ad98
2008-05-04 10:49:40 +00:00
Benny Prijono
83088f30b2 Fixed bug in invalid Contact address being generated upon NAT detection, when no username part is present in the account ID
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1938 74dad513-b988-da41-8d7b-12977e46ad98
2008-04-22 18:33:55 +00:00
Benny Prijono
48374a2d62 Fixed bug: the status line in sipfrag content (for REFER) must ends with a CR-LF
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1933 74dad513-b988-da41-8d7b-12977e46ad98
2008-04-17 20:54:22 +00:00
Benny Prijono
ddaaf6a75d Use the smart Contact header for TCP/TLS
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@1931 74dad513-b988-da41-8d7b-12977e46ad98
2008-04-15 10:37:19 +00:00
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