Riza Sulistyo
6fc67568cc
Misc (re #1782 ): Check if the transport being shutdown in on_accept_complete and on_connect_complete callback
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@5000 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-19 05:07:01 +00:00
Riza Sulistyo
c6e9001cc7
Re #1825 : Implement new on_reg_started2 callback
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4999 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-19 04:59:23 +00:00
Sauw Ming
0341f920b9
Re #1823 (PJSUA2 Video API): Add Pjsua2 Video Window API and Pjsua API to set output window
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4996 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-18 08:25:24 +00:00
Sauw Ming
90ef3ff840
Re #1786 : Add support to specify output window as well for video preview param.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4995 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-17 09:59:42 +00:00
Sauw Ming
833a87f30b
Fixed #1821 : Remove unnecessary locking in pjsip transaction and add new API to create a group lock with handler in a single atomic instruction
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4992 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-06 06:09:22 +00:00
Sauw Ming
cc00ea00b6
Fixed #1819 : Use expiration field to indicate registration/unregistration in registration callback
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4989 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-03 07:52:36 +00:00
Sauw Ming
8bdb64895d
Re #1818 : Fixed destruction of locked mutex in sip transport
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4988 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-03 04:29:54 +00:00
Sauw Ming
5c8c73b410
Fixed #1817 : Automatically send BYE when sending CANCEL for INVITE is unsuccessful.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4986 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-02 09:43:20 +00:00
Nanang Izzuddin
d785a202ec
Fixed #1816 : Restart media transport on following forked media.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4985 74dad513-b988-da41-8d7b-12977e46ad98
2015-03-02 03:04:19 +00:00
Nanang Izzuddin
68e6d49698
Close #1814 : Add audio frame preview callbacks.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4982 74dad513-b988-da41-8d7b-12977e46ad98
2015-02-11 05:15:29 +00:00
Sauw Ming
59c9efa175
Fixed #1813 : Problem with media reinitialisation when using ICE
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4980 74dad513-b988-da41-8d7b-12977e46ad98
2015-02-11 02:13:04 +00:00
Sauw Ming
dff6489f6b
Re #1782 (misc): Prevent buffer overrun in pjsip message/uri printing
...
Thanks to Sagi Iltus for the patch
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4979 74dad513-b988-da41-8d7b-12977e46ad98
2015-02-10 03:20:04 +00:00
Sauw Ming
4d14f25e70
Re #1782 (misc): Fixed inaccurate TX packet loss percentage and stats calculation.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4977 74dad513-b988-da41-8d7b-12977e46ad98
2015-01-23 04:00:34 +00:00
Sauw Ming
d29d511fb2
Re #1797 : Fixes assert if 422 response is received (thanks to Brian Walker for the report)
...
If 422 is received, INVITE will be automatically retried, but the
provisional media has been cleaned up.
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4976 74dad513-b988-da41-8d7b-12977e46ad98
2015-01-22 08:48:32 +00:00
Sauw Ming
ad90ef5f8f
Re #1782 (misc): Do not include SDP when sending 181 response (patch provided by Joshua Colp)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4975 74dad513-b988-da41-8d7b-12977e46ad98
2015-01-21 04:12:27 +00:00
Sauw Ming
e287ca6645
Fixed #1811 : contact_use_src_port and TLS server certificate verification issue (thanks to Viktor Krikun for the report)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4974 74dad513-b988-da41-8d7b-12977e46ad98
2015-01-19 08:04:56 +00:00
Nanang Izzuddin
869db13381
Close #1810 : Adding CA path support into SSL socket.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4973 74dad513-b988-da41-8d7b-12977e46ad98
2015-01-15 06:55:02 +00:00
Sauw Ming
e5c1d8da5b
Fixed #1808 : Crash in pjsip_inv_terminate() (thanks to Brian Walker for the patch)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4970 74dad513-b988-da41-8d7b-12977e46ad98
2014-12-23 03:56:28 +00:00
Nanang Izzuddin
e3d0777494
Fixed #1807 : Crash when shutting down library while having subscription transactions on going.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4969 74dad513-b988-da41-8d7b-12977e46ad98
2014-12-19 14:22:35 +00:00
Riza Sulistyo
24bae56fbc
Re #1806 : Implement SSL/TLS setting to set protocol operation.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4968 74dad513-b988-da41-8d7b-12977e46ad98
2014-12-18 04:40:35 +00:00
Sauw Ming
92ec2fb3a7
Fixed #1805 : Make UAS as refresher in session timer when UAC doesn't support it (thanks to Glenn Walbran for the patch)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4967 74dad513-b988-da41-8d7b-12977e46ad98
2014-12-05 04:03:06 +00:00
Nanang Izzuddin
2c22ed498c
Misc (re #1782 ): Fixed bug of missing SIP header "Supported: outbound, path" after a registration failure (thanks Mateusz Olejnik for the report).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4965 74dad513-b988-da41-8d7b-12977e46ad98
2014-11-28 10:17:55 +00:00
Nanang Izzuddin
9dc0a0c2ad
Misc (re #1782 ): Fixed exchanged timer I timeout value (for absorbing any additonal ACK before shifting tsx state to terminated) between reliable vs unreliable transports.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4964 74dad513-b988-da41-8d7b-12977e46ad98
2014-11-28 08:16:51 +00:00
Nanang Izzuddin
1ad1e9aeff
Fix #1804 : Call should use local IP in Via sent-by when the account is not using STUN.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4963 74dad513-b988-da41-8d7b-12977e46ad98
2014-11-25 09:53:14 +00:00
Nanang Izzuddin
80c294ea24
Misc (re #1782 ): Print log message when SIP UDP transport is destroyed.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4958 74dad513-b988-da41-8d7b-12977e46ad98
2014-11-07 02:32:35 +00:00
Nanang Izzuddin
e9268d219f
Close #1802 : Configurable randomized value range for auto re-registration interval.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4957 74dad513-b988-da41-8d7b-12977e46ad98
2014-11-04 08:00:15 +00:00
Riza Sulistyo
467195baa5
Fixed #1797 : Clean up provisional media is executed when there is an ongoing SDP negotiation.
...
Scenario:
1. re-invite got 491, state tsx changed to completed
2. cleanup prov med executed
3. re-invite again with video
4. timer tsx to shift tsx no 1, from completed -> terminated trigger provisional cleanup
5. provisional video transport in no 3 got cleanup
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4956 74dad513-b988-da41-8d7b-12977e46ad98
2014-10-31 12:14:28 +00:00
Nanang Izzuddin
17b5606964
Fix #1801 :
...
- 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: https://svn.pjsip.org/repos/pjproject/trunk@4955 74dad513-b988-da41-8d7b-12977e46ad98
2014-10-27 07:36:08 +00:00
Nanang Izzuddin
53f6dd8cf1
Fix #1800 : Fixed crash in SIP resolver when DNS server return a lot of addresses (> PJSIP_MAX_RESOLVED_ADDRESSES).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4954 74dad513-b988-da41-8d7b-12977e46ad98
2014-10-24 03:28:05 +00:00
Sauw Ming
f5e88e06b2
Re #1782 (misc): Fixed return value of AudioMedia::getTxLevel()/getRxLevel()
...
to be in the range of 0-100, as stated in the doc
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4950 74dad513-b988-da41-8d7b-12977e46ad98
2014-10-17 03:25:37 +00:00
Sauw Ming
942dab3b10
Fixed #1797 : Clean up provisional media after re-invite/update
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4948 74dad513-b988-da41-8d7b-12977e46ad98
2014-10-17 00:47:31 +00:00
Riza Sulistyo
0e1496442d
Misc (re #1782 ): Fixed unregistration sent twice when calling pjsua_acc_modify with reg_uri is blank.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4947 74dad513-b988-da41-8d7b-12977e46ad98
2014-10-16 10:39:35 +00:00
Riza Sulistyo
6a7710568b
Misc (re #1782 ): In case if STUN server is configured and NAT-traversal is in process user can delete this server from setting list. In that case in internal_stun_resolve_cb we should check that STUN server is available. (Thanks to Max Bondarenko for the patch).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4945 74dad513-b988-da41-8d7b-12977e46ad98
2014-10-10 10:44:10 +00:00
Nanang Izzuddin
e656e8fe86
Fixed #1796 : Avoid infinite registration loop caused by contact rewrite.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4944 74dad513-b988-da41-8d7b-12977e46ad98
2014-10-10 10:33:23 +00:00
Riza Sulistyo
24ae05be91
Misc (re #1782 ): Avoid assertion when updating keep alive. Assert scenario: register, switchoff network adapter and immediately request unregister. This issue is intermittent. (Thanks to Alexander Fotyanov for the patch).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4942 74dad513-b988-da41-8d7b-12977e46ad98
2014-10-09 03:51:51 +00:00
Riza Sulistyo
8ee9d28843
Misc (re #1782 ): Change field name unregWaitSec to unregWaitMsec, as it represents millisecond data. (Thanks to Chris Updegraft for the feedback).
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4939 74dad513-b988-da41-8d7b-12977e46ad98
2014-10-06 04:12:42 +00:00
Sauw Ming
492e963751
Re #1782 (misc): Only perform unregistration in pjsua_acc_modify() if the reg_uri is valid
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4938 74dad513-b988-da41-8d7b-12977e46ad98
2014-10-03 05:58:32 +00:00
Sauw Ming
cede6c06f2
Re #1782 (misc): Fixed bug caused by wrong order of code made in r4933 (thanks to Brian Walker for noticing this)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4937 74dad513-b988-da41-8d7b-12977e46ad98
2014-10-02 02:45:33 +00:00
Sauw Ming
f3a2d1f439
Fixed #1795 : Assertion if ending 100rel session when invite on early state
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4936 74dad513-b988-da41-8d7b-12977e46ad98
2014-10-01 06:45:02 +00:00
Sauw Ming
52f4f59f2d
Re #1782 (misc): Do not copy the public address and bound address if pjsua_acc_modify()'s new setting doesn't change those
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4935 74dad513-b988-da41-8d7b-12977e46ad98
2014-10-01 04:21:55 +00:00
Sauw Ming
2f57395545
Re #1782 (misc): Clone sdp attribute fmtp and rtpmap before adding it in process_pending_reinvite()
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4934 74dad513-b988-da41-8d7b-12977e46ad98
2014-10-01 02:48:55 +00:00
Sauw Ming
0212050955
Re #1782 (misc): Fixed missing add_ref() in pjsip_tsx_retransmit_no_state() (thanks to Itay Bianco for the patch)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4933 74dad513-b988-da41-8d7b-12977e46ad98
2014-10-01 01:33:22 +00:00
Nanang Izzuddin
89f6d46b2c
Close #1793 : Avoid call setting flags PJSUA_CALL_UNHOLD, PJSUA_CALL_UPDATE_CONTACT, and PJSUA_CALL_NO_SDP_OFFER to be sticky or reused in the next calls of pjsua_call_reinvite/update().
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4929 74dad513-b988-da41-8d7b-12977e46ad98
2014-09-24 08:26:33 +00:00
Riza Sulistyo
fba6e8859e
Fixed #1791 : Fixed possible crash when trying to cancel sdp negotiation upon receiving UPDATE response.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4926 74dad513-b988-da41-8d7b-12977e46ad98
2014-09-22 07:08:14 +00:00
Riza Sulistyo
e90ea2f3d8
Re #1788 : Add support to allow INVITE/reINVITE with unknown body.
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4924 74dad513-b988-da41-8d7b-12977e46ad98
2014-09-17 12:11:45 +00:00
Sauw Ming
5ee3d807c8
Fixed #1783 : Restart ICE if a mid-dialog re-INVITE contains no offer
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4923 74dad513-b988-da41-8d7b-12977e46ad98
2014-09-15 09:04:21 +00:00
Sauw Ming
c1a554e478
Fixed #1786 : Add support to specify video format when opening video preview
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4921 74dad513-b988-da41-8d7b-12977e46ad98
2014-09-15 08:59:46 +00:00
Sauw Ming
fbe4d76141
Fixed #1785 : Add support for sending initial INVITE/re-INVITE/UPDATE without SDP
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4920 74dad513-b988-da41-8d7b-12977e46ad98
2014-09-09 08:31:37 +00:00
Sauw Ming
55b4ffdb87
Re #1784 : Revert API change
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4919 74dad513-b988-da41-8d7b-12977e46ad98
2014-09-09 04:25:03 +00:00
Sauw Ming
3225cba870
Fixed #1784 : Remove the usage of nested structs/unions in PJSUA2 (unsupported by SWIG C++)
...
git-svn-id: https://svn.pjsip.org/repos/pjproject/trunk@4918 74dad513-b988-da41-8d7b-12977e46ad98
2014-09-09 04:10:59 +00:00