summaryrefslogtreecommitdiff
path: root/pjsip/include
AgeCommit message (Collapse)Author
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
2015-04-10Misc (re #1782): Add information to pjsip_endpt_send_request documentation ↵Riza Sulistyo
that the timeout param is not implemented yet. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5059 74dad513-b988-da41-8d7b-12977e46ad98
2015-04-08Re #1838: Enable application to provide its own external resolver ↵Riza Sulistyo
implementation. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@5055 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-19Re #1825: Implement new on_reg_started2 callbackRiza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4999 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-18Re #1823 (PJSUA2 Video API): Add Pjsua2 Video Window API and Pjsua API to ↵Liong Sauw Ming
set output window git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4996 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-17Re #1786: Add support to specify output window as well for video preview param.Liong Sauw Ming
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4995 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-02Fixed #1817: Automatically send BYE when sending CANCEL for INVITE is ↵Liong Sauw Ming
unsuccessful. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4986 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-02Fixed #1816: Restart media transport on following forked media.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4985 74dad513-b988-da41-8d7b-12977e46ad98
2015-02-11Close #1814: Add audio frame preview callbacks.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4982 74dad513-b988-da41-8d7b-12977e46ad98
2015-02-10Re #1782 (misc): Prevent buffer overrun in pjsip message/uri printingLiong Sauw Ming
Thanks to Sagi Iltus for the patch git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4979 74dad513-b988-da41-8d7b-12977e46ad98
2015-01-15Close #1810: Adding CA path support into SSL socket.Nanang Izzuddin
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4973 74dad513-b988-da41-8d7b-12977e46ad98
2014-12-18Re #1806: Implement SSL/TLS setting to set protocol operation.Riza Sulistyo
git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4968 74dad513-b988-da41-8d7b-12977e46ad98
2014-11-04Close #1802: Configurable randomized value range for auto re-registration ↵Nanang Izzuddin
interval. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4957 74dad513-b988-da41-8d7b-12977e46ad98
2014-10-27Fix #1801:Nanang Izzuddin
- put error check in re-registration attempt in pjsua_acc_modify(), - updated pjsua_acc_modify() docs about its behavior regarding unregistration and re-registration. git-svn-id: http://svn.pjsip.org/repos/pjproject/trunk@4955 74dad513-b988-da41-8d7b-12977e46ad98