Commit Graph

968 Commits

Author SHA1 Message Date
Benny Prijono 06a2db93ae Added pj_shutdown() on os_core_unix.c
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@816 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-21 13:00:42 +00:00
Benny Prijono af1bb1e09f Fixed handles leak upon program exit, by introducing pj_shutdown() and pj_atexit(). Also fixed handle leaks in SIP transaction layer and SIP endpoint.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@815 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-21 12:39:31 +00:00
Benny Prijono a80d1cdd9b Fixed bug caused by recent sound device ID convention change
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@814 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-21 12:31:11 +00:00
Benny Prijono 1d0ca0ca86 Added jitter buffer settings in PJSUA-API media config
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@813 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-21 09:06:47 +00:00
Benny Prijono 094d3adb7f Fixed sound device ID bug: application was unable to use device ID zero because this caused pasound.c to autodetect default device
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@812 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-21 08:41:00 +00:00
Benny Prijono 07113c97a4 Fixed compilation error if C++ application tries to include pjsua_internal.h
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@811 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-21 08:38:00 +00:00
Benny Prijono 19993c6af6 Fixed handles leak in SIP endpoint: ioqueue is not freed, causing PJ_IOQUEUE_MAX_HANDLES mutex to leak during program exits
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@810 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-21 08:37:17 +00:00
Benny Prijono 31333b6667 Fixed minor memory leak in caching pool (one malloc is not freed)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@809 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-21 08:36:12 +00:00
Benny Prijono 45c206fadb Fixed minor memory leak in SIP TCP transport
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@808 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-19 21:46:29 +00:00
Benny Prijono ab082f38fe Fixed memory leaks bug in speex codec
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@807 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-19 20:28:34 +00:00
Benny Prijono f792bef52a Removed duplicated stun.o in pjlib-util Makefile
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@805 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-17 13:44:16 +00:00
Fahris 6585f7275f Added svn:ignore for Python build directory
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@804 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-16 12:06:06 +00:00
Benny Prijono 8b8b9974cc Added initial Python module
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@803 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-16 11:18:03 +00:00
Benny Prijono a1c4f91d62 Added checking for clock rate mismatch in PJMEDIA master port.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@802 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-15 18:55:44 +00:00
Benny Prijono f538d2d77f Fixed bug in parser: clone_data member of message body is not set.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@801 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-15 14:38:55 +00:00
Benny Prijono 5a9e2041ee Fixed transport detachment when there's no thread being used in siprtp.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@800 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-14 13:35:20 +00:00
Benny Prijono 8fc6de0270 Add pjsip_regc_add_headers() APi to set headers to be added
to the REGISTER request. This solves the problem where headers
 registered in the initial REGISTER request (such as User-Agent
 header) are not sent in subsequent reregistration request.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@799 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-11 21:25:55 +00:00
Benny Prijono f7b1c39e34 Committed what seems like what left uncommitted in previous commit (pjsua_app.c and pj/config.c)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@798 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-11 16:46:34 +00:00
Benny Prijono 053f522223 Attended call transfer implementation. The changes involves:
- Added support for SIP Replaces extension (RFC 3891)
- Added pjsua_call_xfer_replaces() to perform attended call
  transfer.
- PJSUA checks and process Replaces header in incoming calls
- Added pjsip_ua_find_dialog() API.
- Added pjsip_endpt_has_capability() API.
- Added pjsip_endpt_send_response2() API.
- etc.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@797 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-11 16:16:04 +00:00
Benny Prijono d61a8c8bd7 Fixed overflow bug in conference.c causing cracking noise (thanks Norman Franke)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@796 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-10 18:04:32 +00:00
Benny Prijono c4ab3a4a17 Changed svn:eol-style property to LF for configure scripts
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@795 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-08 09:12:26 +00:00
Benny Prijono 3647cbd05c Changed svn:eol-style to CRLF for Visual Studio projects
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@794 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-08 09:08:02 +00:00
Benny Prijono ba065f87d3 Removed PA_NO_WMME macro in pjmedia debug build.
(Thanks Steve Xu)



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@793 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-06 13:20:19 +00:00
Benny Prijono eba441ad84 Removed multiple Via headers checking in transport, as
proxies will receive multiple Via headers.
Thanks Aldo <acampi at deis.unibo.it>.



git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@792 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-06 13:19:20 +00:00
Benny Prijono 33cb24a868 Fix compilation error with memchr() on VS2005
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@790 74dad513-b988-da41-8d7b-12977e46ad98
2006-11-01 07:13:45 +00:00
Benny Prijono 646b7b7456 Updated README.txt
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@787 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-21 18:28:07 +00:00
Benny Prijono 9a44fe2428 Fixed quality setting in MP3 writer (thanks Toni again)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@786 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-21 09:23:37 +00:00
Benny Prijono 8f31052c5a Changed the processing of mp3 _options in mp3 writer with regard to bit_rate and quality to comply with LAME, also changed the pjsua_recorder_create() parameter to allow specifying mp3 options in one of the parameter
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@785 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-20 11:08:49 +00:00
Benny Prijono d95abb4ede Fixed bug in siprtp in SDP generation because of recent change in SDP attribute value
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@784 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-20 10:18:44 +00:00
Benny Prijono b3cdb2bdb7 Support for MP3 recording for Win32 target. Also added "--rec-file" and "--auto-rec" option in pjsua to record voice conversion. The "--rec-file" option will record to either .WAV or .MP3 depending on the file extension.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@783 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-19 15:49:47 +00:00
Benny Prijono 1ebd614540 Fixed miscellaneous warnings with gcc compilation
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@782 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-19 15:48:02 +00:00
Benny Prijono dfb7d48871 Changed temporary buffer size for duplicating contact info in pjsua-lib to 1024 from 512
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@781 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-18 20:35:14 +00:00
Benny Prijono 4ddad2c1fc Some changes to REFER handling in PJSUA-LIB:
- added callback to report call transfer progress
 - changed the call transfer request callback name in pjsua
 - added "--norefersub" option in pjsua.
 - fixed bug when call transfer is done more than once in
   the same dialog (dialog usage can not be added)

Also removed 7xx status from the SIP status codes.

And added pjsip_parse_status_line() to parse sipfrag.




git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@780 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-18 17:16:34 +00:00
Benny Prijono d52174b247 Updated doxygen documentation for media transport (again)
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@779 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-18 12:50:46 +00:00
Benny Prijono 43278aba11 Updated doxygen documentation in media transport
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@778 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-18 10:01:25 +00:00
Benny Prijono 27f01ddebf FIXED BUG: pjsip_endpt_send_request() SHOULD DELETE THE REQUEST REGARDLESS OF THE STATUS!!!
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@777 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-16 21:07:19 +00:00
Benny Prijono 197cabf52b Fixed bug in client registration when pjsip_endpt_send_request() returns immediate error
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@776 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-16 20:05:27 +00:00
Benny Prijono f43448fec6 Removed colon from SDP attribute value [thanks Olivier Gournet]
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@775 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-16 16:43:25 +00:00
Benny Prijono 4e05b47e23 Added logging in pjsua wince
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@774 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-16 15:52:31 +00:00
Benny Prijono 52dfdee5a2 Fixed bug in media UDP transport: when recv() returns error (e.g. ICMP packet is received on Windows), transport will be stopped! [thanks Tomer]
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@773 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-16 12:53:48 +00:00
Benny Prijono ba25f6790a Fixed missing #include <pjmedia/errno.h> in nullsound.c
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@772 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-16 11:46:44 +00:00
Benny Prijono 41c96f37fb Changed siprtp to bind to specific address (instead of 0.0.0.0) when -i option is specified in the command line
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@771 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-16 11:39:07 +00:00
Benny Prijono 39ae2daf5e Updated PortAudio to latest version for Mac
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@770 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-13 17:57:42 +00:00
Benny Prijono e1a8badcde Fixed possible small memory leak in PJSUA registration
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@769 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-13 17:45:38 +00:00
Benny Prijono 42e9e5ff1e Fixed bug in static buffer based pool: thread local strorage leakage
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@768 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-13 17:30:46 +00:00
Benny Prijono 0f3173d40a Fixed bug in log length calculation (null character was included) [thanks Klaus Darilion]
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@767 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-13 13:48:56 +00:00
Benny Prijono c8ee6ec8a1 Fixed bugs in pasound.c again, this time it is suspected that two input/output streams will be called by different threads, while pasound.c only expect it to be called by the same thread [thanks Norman Franke]
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@766 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-12 16:00:02 +00:00
Benny Prijono 658a1c5681 Fixed bug in pjsua_media.c: when sound device is created with different sampling rate than the clock rate configuration, resampling port needs to be created.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@765 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-11 21:56:16 +00:00
Benny Prijono ba74777cfc Fixed another typo in pj\types.h comment [thanks Tomasz Ostrowski]
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@764 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-11 16:37:02 +00:00
Benny Prijono 26056d8883 Changed pjsua_media.c to try different clock rates when opening sound device
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@763 74dad513-b988-da41-8d7b-12977e46ad98
2006-10-11 16:03:41 +00:00