Commit Graph

3907 Commits

Author SHA1 Message Date
Sauw Ming 93b3252fb3 Fixed #1637: Crash in pjsua_media_channel_update() if one media gets rejected
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4433 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-08 08:52:40 +00:00
Riza Sulistyo 7892a637e0 Re #1636: add initial support for bdIMAD
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4432 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-08 08:02:48 +00:00
Sauw Ming ef9cffa687 Fixed #1633: Crash if on_redirected() callback is not implemented and UAC receives 422 response
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4425 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-06 09:36:05 +00:00
Sauw Ming 97227d7447 Fixed #1632: Remove Contact header in MESSAGE requests
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4424 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-06 06:58:40 +00:00
Sauw Ming 91b3146546 Re #1631: Fixed typo in null_port (thanks to Tomas Valenta for the report)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4423 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-06 06:06:17 +00:00
Sauw Ming 4f6ad783cb Re #1630: Fixed incorrect parameter in Python wrapper.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4422 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-06 06:00:18 +00:00
Sauw Ming dd44fb1ba1 Fixed #1629: Add pjsua_call_set_hold2() API to allow update of Contact header
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4421 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-06 05:55:09 +00:00
Benny Prijono 74f8514333 Implementation of Re #1628: Modify SIP transaction to use group lock to avoid deadlock etc.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4420 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-05 11:59:54 +00:00
Sauw Ming dcd5738270 Changed version to 2.1.0-svn
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4419 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-05 11:23:52 +00:00
Sauw Ming 54fc4c0338 Changed version to 2.1.0
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4415 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-05 08:34:45 +00:00
Riza Sulistyo 4741b802e6 Misc (re #1559): add macro PJMEDIA_SDL_LIB to manually specify SDL library name on MSVC
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4414 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-05 08:21:02 +00:00
Sauw Ming d4f0ba486a Re #1616: Fixed assertion trying to release group lock when STUN transaction is already destroyed in the callback
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4413 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-05 06:29:15 +00:00
Riza Sulistyo 152b642843 Misc (re #1559): fixed compile errors/warnings on MSVC
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4412 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-05 03:12:32 +00:00
Nanang Izzuddin 414d34ca74 Misc (re #1559): fixed compile errors/warnings on Symbian platform.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4411 74dad513-b988-da41-8d7b-12977e46ad98
2013-03-04 04:34:38 +00:00
Riza Sulistyo dd6810f384 Re #1616: symbian port of ioqueue & timer
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4374 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-27 07:15:57 +00:00
Sauw Ming 8ba9a4101d Fixed #1626: Assertion when remote sends re-INVITE with less media
Included in the fix is sipp testing scenario.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4373 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-27 06:44:44 +00:00
Riza Sulistyo bd537010a1 Re #1617: added concur_test.c to visual studio pjnath_test project
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4372 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-27 05:36:26 +00:00
Nanang Izzuddin 581cf335e5 Close #1627: invoke on_tsx_state_changed() callback from on_call_state(DISCONNECTED).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4371 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-26 12:38:27 +00:00
Nanang Izzuddin 05c3eaf39b Close #1615: Fixed bug in URI scheme check macro PJSIP_URI_SCHEME_IS_SIP()/SIPS/TEL.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4370 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-26 05:30:00 +00:00
Benny Prijono 2508587130 Misc re #1562: disable trace in the jitter buffer
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4369 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-21 21:55:54 +00:00
Benny Prijono 6357137c68 Re #1617: prevent TURN session from sending anything once it is in deallocating state
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4368 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-21 21:53:28 +00:00
Nanang Izzuddin 1d66832a6a Close #1625: Introduced new API pjmedia_sdp_validate2() for allowing SDP media without c= line when port is zero, currently it is only applied in validating remote SDP.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4367 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-21 20:49:19 +00:00
Sauw Ming bbc140f76a Sipit30 misc (re #1559): Increased maximum key length for SRTP crypto key
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4366 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-21 20:41:31 +00:00
Benny Prijono 199d0148bb Re #1624: fixed representation in ICE to make it more IPv6 ready
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4365 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-21 18:06:51 +00:00
Nanang Izzuddin 3b06333cc5 Sipit30 misc (re #1559): Updated log for SRTP key to use base64 as in the SDP (easier in tracing which key for which stream)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4364 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-21 17:01:28 +00:00
Benny Prijono 7f8625a806 Re #1623: fixed deadlock between conference mutex and ICE. Scenario:
- sound device thread calls put_frame() which gets the conf mutex, and is calling transport sendto() to send RTP packet which requires ICE mutex. 
 - The worker thread finished ICE negotiation and notifies PJSUA-LIB and application while holding ICE group lock, app then do conf_connect() which causes deadlock.

This fix defer the callback to a timer.


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4363 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-21 16:43:24 +00:00
Nanang Izzuddin 837437fb50 Re #1622: fixed bad default aspect ratio.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4362 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-21 14:51:56 +00:00
Nanang Izzuddin d062f131f3 Close #1622: Apply H264 SDP fmtp parameters: max-fs, max-mbps, max-br.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4361 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-21 14:48:53 +00:00
Benny Prijono e00cbe02e9 Fixed #1617: major synchronization fixes in PJNATH with incorporation of group lock to avoid deadlock and crashes due to race conditions
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4360 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-21 11:26:35 +00:00
Benny Prijono ac932bb522 Fixed #1616: Implementation of Group lock and other foundation in PJLIB for fixing synchronization issues
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4359 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-21 11:18:36 +00:00
Nanang Izzuddin bb3ae74c5a Misc (re #1562): Minor updates in pjsua app: fixed wrong error message and increased buffer for input menu.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4358 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-20 21:00:42 +00:00
Benny Prijono 349d800c4d Fixed #1621: Handle the case when ICE session cannot create valid checklist
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4357 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-19 20:05:59 +00:00
Nanang Izzuddin 39a4937dc5 Re #1242: fixed silly mistake unremoved test code.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4356 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-19 19:45:45 +00:00
Benny Prijono 4fe56e71d3 More #1613: fixed bugs in the 'fixes' above:
- the socket was closed when ioctl() is called
 - the 'iff' structure was not initialized


git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4355 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-19 16:27:37 +00:00
Nanang Izzuddin fdc115fa8a Misc (re #1559): Added INFO into Allow header for PJSUA.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4354 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-19 16:22:31 +00:00
Nanang Izzuddin 40329b2174 Re #1242: Fixed overridden media direction and c=0.0.0.0 line in the re-invite. For example when sending call hold and remote answers with multiple codecs, re-invite of lock codec is sent with SDP a=sendrecv line.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4353 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-19 16:16:37 +00:00
Sauw Ming 462e6c18f5 Fixed #1620: Fix the calculation of transmission count during retransmission of STUN request
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4352 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-19 14:37:28 +00:00
Benny Prijono 2c10892764 Fixed #1619: transport error on re-INVITE should not terminate call
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4351 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-19 05:18:36 +00:00
Nanang Izzuddin f53a34ecd8 Re #1242: Fixed ICE nego completion check as it always returns FALSE when peer doesn't support ICE.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4350 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-15 03:57:31 +00:00
Nanang Izzuddin 3b3ddb291f Close #1618: Fixed SSL socket to check for async sending operation error.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4349 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-14 09:38:31 +00:00
Sauw Ming ad85d33f19 Re #1608: Fixed array size calculation of amr bitrates array.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4348 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-14 02:00:13 +00:00
Nanang Izzuddin 0c662eadf7 Close #1614: Added call redirect option PJSIP_REDIRECT_ACCEPT_REPLACE to accept call redirection with replaced 'To' header.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4347 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-13 10:19:25 +00:00
Nanang Izzuddin 2343c259d5 Re #1568: (PJSIP 2.x) No need to restart media when remote RTP address changed but ICE transport is running.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4345 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-13 07:43:32 +00:00
Nanang Izzuddin 82d1fee083 Re #1610: Workaround for crash in sess_on_send_msg() callback
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4344 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-08 07:33:23 +00:00
Nanang Izzuddin a2174066e7 Close #1602: configurable local port range for ICE transport.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4343 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-07 09:35:34 +00:00
Nanang Izzuddin c6c69db96e Close #1242: Single re-INVITE/UPDATE for both lock codec and ICE negotiation updates.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4342 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-06 13:48:45 +00:00
Nanang Izzuddin 544c6db59e Misc (re #1562): pjsua_call_set_vid_strm() should acquire call dialog.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4341 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-05 12:21:30 +00:00
Benny Prijono 2ce87f1753 Re #1570: Update to work with audio routing (speaker vs handset). Thanks Bob Cripps for the patch!
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4340 74dad513-b988-da41-8d7b-12977e46ad98
2013-02-05 05:15:01 +00:00
Sauw Ming 2573b434fe Re #1608: Try to store the number of frames in the packet in case SKP_Silk_SDK_get_TOC() couldn't return the correct number of frames during decode
This was reported to happen in SILK ARM version (thanks to Marcus for the report)



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4339 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-31 05:23:46 +00:00
Sauw Ming b3010ae7ee Re #1568: (PJSIP 2.x) Apply pjsua_media_config before detecting media change and fixed encoding name string duplication.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4336 74dad513-b988-da41-8d7b-12977e46ad98
2013-01-29 08:15:02 +00:00