summaryrefslogtreecommitdiff
path: root/pjsip/include
AgeCommit message (Collapse)Author
2017-01-11Re #1960: Use boolean field to indicate whether the info is empty (instead ↵Liong Sauw Ming
of relying on bzero and memcmp) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5522 74dad513-b988-da41-8d7b-12977e46ad98
2017-01-11Fixed #1960: Export SIP transport TLS state and TLS certificate info to PJSUA2Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5518 74dad513-b988-da41-8d7b-12977e46ad98
2016-12-06Fixed #1983: Add option to update call Via addressLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5493 74dad513-b988-da41-8d7b-12977e46ad98
2016-12-06Fixed #1982: Add option to reinitialize call media transportsLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5490 74dad513-b988-da41-8d7b-12977e46ad98
2016-10-27Fixed #1975: Add support to select elliptic curve and signature algorithm ↵Liong Sauw Ming
for TLS git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5472 74dad513-b988-da41-8d7b-12977e46ad98
2016-10-24Misc (re #1945): Avoid calling memchr() or memcpy() with NULL pointer ↵Nanang Izzuddin
(thanks Kal from the patch). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5468 74dad513-b988-da41-8d7b-12977e46ad98
2016-10-07Fixed #1967: Add function pjsip_tdata_get_dlgLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5456 74dad513-b988-da41-8d7b-12977e46ad98
2016-10-07Fixed #1965: Add support to specify Contact params specific to REGISTER requestsLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5455 74dad513-b988-da41-8d7b-12977e46ad98
2016-10-04Fixed #1962: Premature STUN socket destruction when there's an error during ↵Liong Sauw Ming
STUN server resolution git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5442 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-30Re #1959: Add reference counter to pjsip_inv_session to avoid race condition.Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5435 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-12Fixed #1951: Add callback to configure SRTP setting and key in pjsua/pjsua2Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5417 74dad513-b988-da41-8d7b-12977e46ad98
2016-08-05Re #1910: Implement option to regularly send video keyframe in the beginning ↵Riza Sulistyo
of video call session. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5410 74dad513-b988-da41-8d7b-12977e46ad98
2016-07-26Misc (re #1945): Updated array limit checks and docs in ↵Nanang Izzuddin
pjsip_evsub_register_pkg() and pjsip_endpt_add_capability(). Thanks Alexei Gradinari for the patch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5397 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-30Fixed #1929: Fixed memory leak when using sip_auth_client since it's also ↵Liong Sauw Ming
used by other components, such as sip_dialog, publishc, and pjsua_im. Application should use the new API pjsip_auth_clt_deinit() to release the pool. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5373 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-24Fix #1938: Wrong registration renewal flag info in PJSUA registration ↵Nanang Izzuddin
callback when unregistration fails. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5356 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-21Close #1934: Add reference counting APIs to event subscription.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5351 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-08Close #1926: Support IPv6 address resolution without DNS resolver.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5337 74dad513-b988-da41-8d7b-12977e46ad98
2016-06-07Re #1929: Avoid memory pool growing when doing re-Registration.Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5336 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-31Re #1918:Nanang Izzuddin
- Fixed issue of cannot make/receive call after previous call initialization fails due to STUN error, reproducing steps: 1. Configure an account with acc->cfg.media_stun_use set PJSUA_STUN_RETRY_ON_FAILURE. 2. Start pjsua with STUN servers A and B configured. On startup, both STUN servers A and B are available, so PJSIP will use STUN server A 3. Both STUN server A and B become unavailable 4. Make an outgoing call. 5. Pjsua first tries with STUN server A, fails 6. Pjsua then retry with STUN server B, still fails 7. PJSIP then aborts the call with error (which is desired!) 8. Both STUN server A and B become available again 9. User tries to dial or receive an incoming call, but cannot because the last STUN server status is stored and used in making/receiving call without retrying to resolve STUN server. - Fixed deadlock issues. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5326 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-27Re #1923: Delay call-hangup triggered from simulated onIncomingCall() to ↵Riza Sulistyo
avoid assertion. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5323 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-19Fixed #1921: Add support to handle IPv6 transports in pjsua_transport API ↵Liong Sauw Ming
and transport keep alive Also: - add more detailed transport info for TCP and TLS transport - fixed pjsua sample app which tries to get IPv4 local address from IPv6 transport. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5308 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-19Re #1918: Fixed continous looping when trying to resolve STUN server due to ↵Riza Sulistyo
lock handling. Also move the unusable server to the least prioritize to be chosen on the fallback process. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5307 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-13Fixed #1918: Add API to update STUN servers and option to retry STUN for ↵Liong Sauw Ming
media on failure git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5297 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-10Fixed #1914: onCreateMediaTransport() callback might not be called on PJSUA2.Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5288 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-10Close #1915: Added API pjsip_udp_transport_start2() that can create both ↵Nanang Izzuddin
IPv4 and IPv6 SIP UDP transports. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5284 74dad513-b988-da41-8d7b-12977e46ad98
2016-05-09Fixed #1914: Ignore STUN error after pjstun_get_mapped_addr2().Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5283 74dad513-b988-da41-8d7b-12977e46ad98
2016-04-19Re #1882 (misc): Add implementation to call Endpoint::onSelectAccount() callbackLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5278 74dad513-b988-da41-8d7b-12977e46ad98
2016-04-04Re #1908: Implement new API to open speaker only in pjsua/pjsua2.Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5273 74dad513-b988-da41-8d7b-12977e46ad98
2016-02-25Fix #1311: Updated pjsip_tpmgr_acquire_transport2() to look up from ↵Nanang Izzuddin
transport hash table (instead of always create a new one) when transport selector is set to TCP/TLS listener (thanks George Joseph for the patch). git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5246 74dad513-b988-da41-8d7b-12977e46ad98
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-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
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-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-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-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-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-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-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-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-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): 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
2015-06-25Re #1861: Initial implementation of video orientation supportLiong Sauw Ming
- Utility to resize and rotate video frame - Support for iOS + sample - pjsua API to set video device's orientation git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5118 74dad513-b988-da41-8d7b-12977e46ad98
2015-06-17Fixed #1858: Remove extension tags (such as "100rel", "timer", "PRACK"), ↵Nanang Izzuddin
from Supported & Allow headers in outgoing messages (request & response), when the extension is disabled in the invite session. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5109 74dad513-b988-da41-8d7b-12977e46ad98
2015-05-28Re #1855 (Pjsua2 Video Preview API): Add Pjsua2 Preview API and sample usage ↵Riza Sulistyo
in pjsua2 app for android. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5102 74dad513-b988-da41-8d7b-12977e46ad98
2015-05-18Fixed #1853: Add callback for dropped data in SIP transportLiong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5097 74dad513-b988-da41-8d7b-12977e46ad98
2015-05-11Fixed #1851: Runtime configuration of TCP and TLS keep alive intervalsLiong Sauw Ming
Thanks to Michele Cicciotti for the patch. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5090 74dad513-b988-da41-8d7b-12977e46ad98
2015-05-11Re #1843 (misc): Fix pjsip_tls_setting_copy to copy the ca_list_path field ↵Liong Sauw Ming
as well (thanks to Michele Cicciotti for the patch) git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5089 74dad513-b988-da41-8d7b-12977e46ad98