summaryrefslogtreecommitdiff
path: root/pjsip
AgeCommit message (Collapse)Author
2016-02-18Misc (Re #1882): Add compile time option (PJMEDIA_HAS_DTMF_FLASH) to ↵Riza Sulistyo
enable/disable DTMF flash as specified in rfc2833. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5242 74dad513-b988-da41-8d7b-12977e46ad98
2016-02-05Fixed #1902:Nanang Izzuddin
- Crash when endpoint has multiple worker threads and SIP TCP transport is disconnected during incoming call handling. - Deprecated pjsip_dlg_create_uas(), replaced by pjsip_dlg_create_uas_and_inc_lock(). - Serialized transaction state notifications (of 'terminated' and 'destroyed') in case of transport error. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5241 74dad513-b988-da41-8d7b-12977e46ad98
2016-02-04Misc (re #1882): Added exception catch in Call destructor.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5240 74dad513-b988-da41-8d7b-12977e46ad98
2016-01-27Misc (Re #1882): When server sends blank realm on the Authentication ↵Riza Sulistyo
challanges, the stack doesn't include the realm param. And hence, the server will reject the request. This patch will include the blank realm on the next request. Thanks to Keith Hanaway for the report. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5237 74dad513-b988-da41-8d7b-12977e46ad98
2016-01-05Re #1882 (misc): Crash when answering call with reason field is set. Thanks ↵Riza Sulistyo
to Dan Wright for the report. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5232 74dad513-b988-da41-8d7b-12977e46ad98
2015-12-31Re #1882 (misc): close socket on error after calling pj_sock_getsockname() ↵Liong Sauw Ming
as it was closed above on error after calling get_published_name() Thanks to Dusan Klinec for the patch git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5230 74dad513-b988-da41-8d7b-12977e46ad98
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-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 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-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-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-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-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-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-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-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-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-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-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-09Fix #1883: Check transport validity after getting transport manager lock in ↵Nanang Izzuddin
{{{pjsip_transport_add/dec_ref()}}} as transport may already be destroyed by other thread. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5173 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-25Re #1881: Fixed compile warnings on VS2015 about declaration hides previous ↵Nanang Izzuddin
declaration. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5170 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-21Re #1881: Add Visual Studio 2015 support.Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5168 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-21Re #1879: Fix bug in resetVideoCodecParam when not using Video build config.Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5167 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-21Re #1879: Riza Sulistyo
- Implement set video codec param in PJSUA2 API - Fix bug in videoCodecEnum and updateCodecInfoList git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5165 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-10Misc (re #1843): Fixed compile warnings of unused variable.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5157 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-07Fixed #1878: Compile time option for TCP/TLS transport to not create a listenerLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5152 74dad513-b988-da41-8d7b-12977e46ad98
2015-08-06Fixed #1875: Assertion in rescheduling PJSIP retransmissionLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5147 74dad513-b988-da41-8d7b-12977e46ad98
2015-07-31Fixed #1873: Only reset account transport pointer after a successful ↵Nanang Izzuddin
unregistration. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5143 74dad513-b988-da41-8d7b-12977e46ad98
2015-07-30Re #1863: Add missing video Device API.Riza Sulistyo
- refresh device list, lookup dev, cap name, set/get capabilities git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5139 74dad513-b988-da41-8d7b-12977e46ad98
2015-07-30Fixed #1861: Add support for video capture orientation on AndroidLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5138 74dad513-b988-da41-8d7b-12977e46ad98
2015-07-14Re #1864: fixed assert and crash when remote remove and add back media lines ↵Nanang Izzuddin
in SDP: - reverted back r5124 (of this ticket) and r4373 (of #1626) - applied another fix for #1626 as in described in the ticket desc - also fixed a related add/remove media issue: - we send an offer with 2 audio and 1 video in SDP - remote answers with only 1 audio in SDP - when we send a re-offer/re-INVITE, we have 5 media lines in our SDP (3 audio + 2 video, note 1 audio and 1 video are disabled) - call settings are actually maintained (2 active audio + 1 active video), just better to avoid the additional disabled media. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5135 74dad513-b988-da41-8d7b-12977e46ad98
2015-07-14Fixed #1869: Destroy STUN session when cleaning up STUN server resolutionLiong Sauw Ming
Thanks to Itay Bianco for the patch git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5133 74dad513-b988-da41-8d7b-12977e46ad98
2015-07-13Fixed #1867: Add pjsua callback to notify when STUN resolution completesLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5131 74dad513-b988-da41-8d7b-12977e46ad98
2015-07-07Re #1861: Fixed compile error of 'undeclared identifier ↵Nanang Izzuddin
PJMEDIA_VID_DEV_MAX_DEVS' when video is disabled. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5128 74dad513-b988-da41-8d7b-12977e46ad98
2015-07-06Close #1865: Start NAT type detection after first STUN server resolution ↵Nanang Izzuddin
succeeds to avoid blocked main thread when STUN server is down. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5127 74dad513-b988-da41-8d7b-12977e46ad98
2015-07-03Re #1861: Changed pjsua API for setting the orientation using a more generic ↵Liong Sauw Ming
API, pjsua_vid_dev_set_setting() instead git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5125 74dad513-b988-da41-8d7b-12977e46ad98
2015-07-01Fixed #1864: Assertion in PJSIP when remote remove and add back media lines ↵Liong Sauw Ming
in the SDP Thanks to Brian Walker for the report and patch testing. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5124 74dad513-b988-da41-8d7b-12977e46ad98
2015-07-01Re #1863: Initial implementation of PJSUA2 Video Codec API and Video Device API.Riza Sulistyo
- Codec management (enum codec, set prio, get param, set param) - Device management (enum dev, dev count, dev info). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5123 74dad513-b988-da41-8d7b-12977e46ad98
2015-06-29Misc (re #1843): Check malloc return value on libRegisterThread.Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5121 74dad513-b988-da41-8d7b-12977e46ad98
2015-06-29Misc (re #1843): Fix doc in endpoint class regarding the call to libDestroy.Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5120 74dad513-b988-da41-8d7b-12977e46ad98