Commit Graph

4132 Commits

Author SHA1 Message Date
Benny Prijono 241474d94d Misc (re #1630): Fixing warnings about variable set but not used with recent gcc
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4728 74dad513-b988-da41-8d7b-12977e46ad98
2014-02-04 10:13:56 +00:00
Sauw Ming 4bf06e69fa Re #1519 (commited to SVN trunk): Add lib target to build system to enable building the library only (without the executables)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4727 74dad513-b988-da41-8d7b-12977e46ad98
2014-02-04 07:39:55 +00:00
Sauw Ming 6938aecfc7 Re #1731: Fix the same problem in TLS transport
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4726 74dad513-b988-da41-8d7b-12977e46ad98
2014-02-04 04:56:50 +00:00
Sauw Ming c4bd44831a Fixed #1731: Fix TCP transport leak problem
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4725 74dad513-b988-da41-8d7b-12977e46ad98
2014-02-04 04:45:37 +00:00
Nanang Izzuddin 3537c545df Misc (re #1630): Fixed some more typos in the codes.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4724 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-31 08:52:09 +00:00
Nanang Izzuddin 68cb865f25 Close #1730: Added srtp_deinit()/shutdown() detection for external SRTP in configure script.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4723 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-30 04:33:27 +00:00
Nanang Izzuddin 30a2f34618 Close #1729: Added check of PJMEDIA_HAS_VIDEO (instead of just specific backend check) in video device wrappers.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4722 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-29 10:40:40 +00:00
Nanang Izzuddin 6ca4a4997b Misc (re #1630): Modified configure script to only include libnsl if needed, e.g: on Solaris networking functions are in libnsl (thanks Jeremy Laine for the patch).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4721 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-29 10:08:28 +00:00
Nanang Izzuddin 7a302f27ed Close #1728: Removed milenage library from linking setting.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4720 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-29 09:53:06 +00:00
Nanang Izzuddin e354c94af6 Re #1519: [SVN trunk]: Misc fix compile warning.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4719 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-29 08:10:22 +00:00
Nanang Izzuddin 7959439cdb Fix #1727:
- Start timer TIMER_TYPE_UAS_TIMEOUT when incoming subscription request is accepted (via pjsip_evsub_accept()).
 - Kill any timer when subscription state is shifting into TERMINATED.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4718 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-29 06:58:21 +00:00
Nanang Izzuddin bd187283ee Fix #1726: Added check in assertion line for transmitting STUN message without incrementing retransmission count.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4717 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-29 06:33:38 +00:00
Benny Prijono b02eb708c8 Fixed #1725: ACK is not sent upon receiving 200/OK retransmission if re-INVITE is sent
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4716 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-24 11:28:34 +00:00
Riza Sulistyo a4651e6f6c Re #1722:
- add handler for 502/503 response to refresh request. 
 - add expire timer for refresher.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4715 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-24 09:32:27 +00:00
Nanang Izzuddin d50aabdde6 Misc (re #1630): Fixed some typos in the code (thanks Tzafrir Cohen for the patch).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4714 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-23 08:15:34 +00:00
Nanang Izzuddin 93252d7e89 Misc (re #1630): Fixed symbols that should not be exported (thanks Tzafrir Cohen for the patch).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4713 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-23 08:13:11 +00:00
Nanang Izzuddin 288461dd42 Misc (re #1630): Fixed GCC build warnings (thanks Tzafrir Cohen for the patch).
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4712 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-23 08:09:29 +00:00
Sauw Ming 709083b78f Re #1723: Modified build system to link with C++ library only for pjsua2 lib or app
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4711 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-23 02:28:41 +00:00
Benny Prijono 7faedf5db4 More re #1655: bug in console UI to do attended call transfer
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4710 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-22 10:51:49 +00:00
Benny Prijono 16a65355fd More re #1655: added CLI command to toggle audio output route
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4709 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-22 08:02:56 +00:00
Nanang Izzuddin 153df4e464 Re #1519 [into SVN trunk]: AudioMedia objects must not be destroyed before unregistered from conf bridge.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4708 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-21 10:59:25 +00:00
Benny Prijono 7d93e41e08 Related to Re #1656: added trace message when output route setting fails
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4707 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-17 05:09:29 +00:00
Benny Prijono 156d42580c Re #1630: Updated GNU GPL COPYING file to use the official one from http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. It has minor differences with the one we used
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4706 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-17 03:03:47 +00:00
Sauw Ming be9ab067d8 Re #1723: Fixed compilation and linking errors
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4705 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-16 06:33:19 +00:00
Sauw Ming f33813f793 Closed #1723: Merging pjsua2 branch into trunk
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4704 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-16 05:30:46 +00:00
Riza Sulistyo a58f57bc38 Re #1721: Clear invite transaction before calling on_call_tsx_state (on transaction terminated)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4703 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-07 10:55:10 +00:00
Nanang Izzuddin 653c0d27b6 Re #1519: Put back automatic "writer" deletion in Endpoint destructor.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4702 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-07 07:35:31 +00:00
Nanang Izzuddin 1683d49f75 Close #1720:
- Added configure flags --with-external-srtp and --disable-resample.
 - Added macro setting PJMEDIA_LIBSRTP_AUTO_INIT_DEINIT to allow application to handle libsrtp init & deinit by itself.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4701 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-03 03:44:05 +00:00
Sauw Ming f226c99fac Re #1630 (misc): Fixed documentation of pjsip_generic_int_hdr
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4700 74dad513-b988-da41-8d7b-12977e46ad98
2014-01-02 01:25:22 +00:00
Nanang Izzuddin 91131fc69d Re #1519: Fixed assertion and crash in Endpoint destruction caused by late destroy (after pjsua destroyed) and double deletes of audio device media.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4699 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-19 03:49:05 +00:00
Nanang Izzuddin 9f8f280dd5 Re #1716: Maintain reference to log writer to avoid crash (caused by premature cleanup by GC).
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4698 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-19 03:39:30 +00:00
Nanang Izzuddin e062d51ea4 Re #1716: Misc fixes/updates on Android app based on pjsua2+SWIG, e.g: fixed java string comparisons, added build config for ndk-build (for native debugging), updates on SVN props.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4697 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-18 11:42:04 +00:00
Riza Sulistyo 85df2905bf Re #1716:Added java desktop sample application.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4696 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-18 07:14:54 +00:00
Nanang Izzuddin 775f753f7d Fixed #1718: Immediately shift call state to DISCONNECTED after receiving 422 response without Min-SE header.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4695 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-18 07:10:12 +00:00
Nanang Izzuddin 17ab10d37a Fixed #1717: Destroy media subsystem after all pollings/busy_sleep() are done, but leave deallocating media transport (via pjsua_media_channel_deinit()) before the pollings to allow clean TURN destroy.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4694 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-17 09:01:21 +00:00
Nanang Izzuddin 6c930b9c7d Re #1716: Handle recreated activity, for example by device rotation.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4693 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-14 01:14:07 +00:00
Nanang Izzuddin 70bde3b601 Re #1519: Misc fixes in pjsua2:
- Changed AccountConfig::toPj() signature, because a pjsua_acc_config instance should not be copied/assigned to another pjsua_acc_config instance as it contains list.
 - Fixed assertion in Endpoint destructor caused by access to pjlib mutex after pjlib is destroyed.
 - Changed VS2005 sample_debug project to allow debugging C++ code such as pjsua2_demo.cpp.
 - Compile warnings on VS2005.
 - Fixed SWIG python unit test.



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4692 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-13 11:44:51 +00:00
Nanang Izzuddin 3270796782 Re #1716: Initial implementation of new Android app based on pjsua2+SWIG API.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4691 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-13 09:07:53 +00:00
Nanang Izzuddin ba10fb5124 Re #1708: Cleanup few chat stuffs in Python GUI.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4690 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-13 01:28:16 +00:00
Nanang Izzuddin 8ccd01859a Re #1516: Avoid duplicated LDFLAGS in pjlib-test, which may raise linking errors (e.g: on Android).
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4689 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-13 01:16:10 +00:00
Benny Prijono 174fe6650d Misc re #1630: added string.h to pjlib-util.h. Thanks Johan lantz for the suggestion
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4688 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-10 10:58:10 +00:00
Nanang Izzuddin de206c7e10 Re #1708: Misc updates:
- Explicitly invoke call hangup in stopping audio.
 - Show text chat box, if it's hidden, when user initiates instant message (right click on buddy).



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4687 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-05 13:20:37 +00:00
Nanang Izzuddin f71702e9b6 Re #1708:
- Changed participant managements in Chat, e.g: changed Buddy based to URI based, create temporary Buddy for incoming call/IM from non-buddy.
 - Implemented simple media features in chat window (mute, volume, codec info).
 - Misc: added window menu listing chat windows, changed behaviour on closing chat window, etc.



git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4686 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-05 11:04:36 +00:00
Nanang Izzuddin 56717f77e9 Re #1519: Added typecast methods for AudioMedia & its descendants, as Python cannot downcast among C++ classes, e.g: Media to AudioMedia.
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4685 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-05 10:53:12 +00:00
Benny Prijono c910290b21 Re #1519: fixed assertion when unable to resolve destination
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4684 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-05 08:25:27 +00:00
Benny Prijono 9df4b9eacf Re #1519: added some more NULL checking in SIP data types
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4683 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-05 07:21:24 +00:00
Benny Prijono f835b753a7 Re #1519: fixed crash when receiving typing indication inside a call
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4682 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-05 06:35:28 +00:00
Benny Prijono de525ebe1d Re #1519: minor fix to use pjmedia_format_copy() instead of plain assignment, and add return value to pjsua main()
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4681 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-05 04:20:19 +00:00
Benny Prijono 2aaaea3a5b Re #1519: added Tx/Rx level adjustment in conf port info in pjsua-lib and pjsua2, and format in conf_port_info
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4680 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-05 04:15:24 +00:00
Benny Prijono f5e32ccaa6 Re #1708: bring back logging and some fixes in settings dialog
git-svn-id: https://svn.pjsip.org/repos/pjproject/branches/projects/pjsua2@4679 74dad513-b988-da41-8d7b-12977e46ad98
2013-12-05 03:04:38 +00:00