summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-12-31Re #1882 (misc): Use cred->cnonce instead of cnonce when calling ↵Liong Sauw Ming
pjsip_auth_create_digest(), since cnonce can be null Thanks to Dusan Klinec for the patch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5227 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-31Re #1882 (misc): Fixed incorrect loop when destroying streams in case of ↵Liong Sauw Ming
non-successful stream creation. Thanks to Dusan Klinec for the patch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5226 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-31Re #1882 (misc): re r5222, fixed string truncation length checking (the ↵Liong Sauw Ming
string is null terminated) in srtp. Thanks to Dusan Klinec for the patch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5225 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-30Re #1882 (misc): Add checking before calling pj_strncpy(), to make it more ↵Liong Sauw Ming
robust and consistent with the other two checks below. Note that without the check, it should be safe, but the buffer could point to one byte after the buffer, even though the string length is zero. Thanks to Dusan Klinec for the proposed patch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5224 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-30Re #1882 (misc): Moved checking of header count earlier when parsing generic ↵Liong Sauw Ming
array header in sip_parser. Thanks to Dusan Klinec for the patch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5223 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-30Re #1882 (misc): Fixed string truncation length checking in srtp (note that ↵Liong Sauw Ming
this is a third party source). Thanks to Dusan Klinec for the patch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5222 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-30Re #1882 (misc): Fixed potential out-of-bound array access in ice_session.Liong Sauw Ming
Thanks to Dusan Klinec for the patch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5221 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-30Re #1882 (misc): Fixed incorrect sizeof argument when using pj_bzero() and ↵Liong Sauw Ming
pj_memcpy() in ssl_sock_ossl.c Thanks to Dusan Klinec for the patch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5220 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-30Re #1882 (misc): Add checking of crypto name in transport srtp.Liong Sauw Ming
Thanks to Dusan Klinec for the patch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5219 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-30Re #1882 (misc): Fixed missing comma in timer names string array. Thanks to ↵Liong Sauw Ming
Dusan Klinec for the patch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5218 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-24Misc (re #1882): Fixed bug STUN still being used in media transport UDP & ↵Nanang Izzuddin
ICE after STUN is disabled in account config (media_stun_use == PJSUA_STUN_USE_DISABLED). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5217 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-23Misc (re #1882): Fixed wrong specifier used in ssl_sock_ossl.c (should be ↵Nanang Izzuddin
'PJ_DEF' instead of 'PJ_DECL'). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5216 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-16Re #1882 (misc): Check for duplicate entry when building list of ICE host ↵Riza Sulistyo
candidate. Thanks to Dusan Klenic for the original patch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5215 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-11Fixed #1901: crash when async_cnt is set to a value greater than one for SIP ↵Liong Sauw Ming
TLS transport git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5214 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-11Re #1882 (misc): Fixed configure-android shell script error on LinuxLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5213 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-10Re #1882 (misc): Removed unnecessary callback setting for TLS listenersLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5212 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-09Re #1882 (misc): Fixed uninitialized mainThreadOnly variable in UaConfigLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5209 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-08Re #1882 (misc): Fixed bug in SipTransaction::fromPj(pjsip_transaction &) ↵Liong Sauw Ming
which do not copy the state variable git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5207 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-03Misc (re #1882): Added feature of CDATA content handling into XML parser.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5206 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-03Fix #1899: Updated pjsua behaviour to re-create stream even when SDP ↵Nanang Izzuddin
direction attribute is inactive, as long as media port is not zero. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5205 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-01Misc (re #1882): Need to zero-fill pj_thread_desc in libRegisterThread() to ↵Nanang Izzuddin
avoid assertion in pj_thread_register() due to accidentally recognized as reused descriptor. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5204 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-01Misc (re #1882): Added include header guard to pjnath.h.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5203 74dad513-b988-da41-8d7b-12977e46ad98
2015-11-26Re #1882 (misc): Fix bug in parser,which may loop infinitely when it doesn't ↵Riza Sulistyo
fine the required character. Thanks to Oleg Grazhdan for the patch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5202 74dad513-b988-da41-8d7b-12977e46ad98
2015-11-19Re #1882 (misc): Configurable audio device name lengthLiong Sauw Ming
Thanks to Wolfgang Wallhäuser for the original patch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5201 74dad513-b988-da41-8d7b-12977e46ad98
2015-11-16Fix #1898: If transport is being shutdown/destroyed and connected event ↵Nanang Izzuddin
comes, proceed as error/cancelled connect. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5200 74dad513-b988-da41-8d7b-12977e46ad98
2015-11-10Re #1896: Updated default audio device backends: mingw uses WMME, linux/*nix ↵Nanang Izzuddin
uses alsa (if available). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5199 74dad513-b988-da41-8d7b-12977e46ad98
2015-11-10Re #1897: Implement support to Ffmpeg 2.8.Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5198 74dad513-b988-da41-8d7b-12977e46ad98
2015-11-09Close #1896: Update default audio device backend on MacOS to CoreAudio.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5197 74dad513-b988-da41-8d7b-12977e46ad98
2015-11-06Re #1894: Fixed high socket descriptor check in ioqueue select, it should be ↵Nanang Izzuddin
against FD_SETSIZE instead of PJ_IOQUEUE_MAX_HANDLES, as PJ_IOQUEUE_MAX_HANDLES can be lower than FD_SETSIZE. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5196 74dad513-b988-da41-8d7b-12977e46ad98
2015-11-06Re #1895: Terminate subscription when receiving non 2xx Notify response ↵Riza Sulistyo
without Retry-After header. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5195 74dad513-b988-da41-8d7b-12977e46ad98
2015-11-06Close #1894: Improve ioqueue performance on multithreadeded environment.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5194 74dad513-b988-da41-8d7b-12977e46ad98
2015-10-30Re #1882 (misc): related to r5192, fixed inaccurate index checking in ↵Liong Sauw Ming
pjmedia_sdp_attr_find() as well git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5193 74dad513-b988-da41-8d7b-12977e46ad98
2015-10-29Re #1882 (misc): Fixed inaccurate index checking assertion when removing SDP ↵Liong Sauw Ming
attributes in pjmedia_sdp_attr_remove() and pjmedia_sdp_attr_remove_all() Thanks to Fredrik Hansson for the report. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5192 74dad513-b988-da41-8d7b-12977e46ad98
2015-10-23Misc (re #1882): Only check 'hide' URI parameter on SIP/SIPS URIs in ↵Nanang Izzuddin
printing route header, otherwise it may cause crash as other URI types may not have 'other_param' field (thanks thanks Fredrik Hansson for the patch). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5191 74dad513-b988-da41-8d7b-12977e46ad98
2015-10-23Misc (re #1882): Added array length check before inserting parsed bandwidth ↵Nanang Izzuddin
& attribute info to SDP structure (thanks Fredrik Hansson for the patch). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5190 74dad513-b988-da41-8d7b-12977e46ad98
2015-10-23Misc (re #1882): Updated libresample makefile to also generate shared ↵Nanang Izzuddin
library when configure param '--enable-resample-dll' (see also #1462) is specified. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5189 74dad513-b988-da41-8d7b-12977e46ad98
2015-10-08Fixed #1873: iOS application getting killed after pjsua fail to release a ↵Liong Sauw Ming
disconnected transport git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5188 74dad513-b988-da41-8d7b-12977e46ad98
2015-10-07Re #1882 (misc): Fixed possibly incorrect stream statsLiong Sauw Ming
When a codec is opened, it can modify its param (such as iLBC can normalize its frame ptime based on remote SDP), so the stream stats has to be updated accordingly. Also in this fix is to increase the log level which shows the info of iLBC mode opened. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5187 74dad513-b988-da41-8d7b-12977e46ad98
2015-10-06Fixed #1888: Support for WebRtc AECLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5186 74dad513-b988-da41-8d7b-12977e46ad98
2015-10-02Close #1892: Add pjsua/pjsua2 callback ↵Nanang Izzuddin
on_call_tx_offer()/Call::onCallTxOffer() to notify incoming re-INVITE without offer. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5185 74dad513-b988-da41-8d7b-12977e46ad98
2015-10-01Fix #1891: Also match base address in find local candidate after receiving ↵Nanang Izzuddin
ICE check response. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5184 74dad513-b988-da41-8d7b-12977e46ad98
2015-09-29Fix #1889: DNS parser should return error on RR class != IN only when RR ↵Nanang Izzuddin
type is known. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5183 74dad513-b988-da41-8d7b-12977e46ad98
2015-09-28Fix #1887: Feed only one PCM input frame at a time to iOS iLBC encoder.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5182 74dad513-b988-da41-8d7b-12977e46ad98
2015-09-21Re #1881: Add filters file.Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5181 74dad513-b988-da41-8d7b-12977e46ad98
2015-09-17Fixed #1886: Ddestruction of locked mutex in SIP dialogLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5180 74dad513-b988-da41-8d7b-12977e46ad98
2015-09-17Re #1882 (misc): Related to r4852 and r4857, fixed problem in reopening ↵Liong Sauw Ming
sound device after setting it to null device Thanks to Fredrik Hansson for the report and patch git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5179 74dad513-b988-da41-8d7b-12977e46ad98
2015-09-11Re #1885: Fixed race condition in evsub scenario 2 (Subscription timer ↵Nanang Izzuddin
callback vs subscription destroy). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5178 74dad513-b988-da41-8d7b-12977e46ad98
2015-09-11Re #1885: Fixed race condition in evsub scenario 1 (Subscription timeout vs ↵Nanang Izzuddin
subscription refresh). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5177 74dad513-b988-da41-8d7b-12977e46ad98
2015-09-11Misc (re #1882): Update doxygen of PJSIP_MAX_URL_SIZE as apparently it is ↵Nanang Izzuddin
currently much more than for logging purpose, e.g: restricting Contact header length (thanks Marcus Froeschl for the feedback). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5176 74dad513-b988-da41-8d7b-12977e46ad98
2015-09-11Re #1881: Minor update on pjlib-util project to use default target platform ↵Nanang Izzuddin
version. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5175 74dad513-b988-da41-8d7b-12977e46ad98