Commit graph

589 commits

Author SHA1 Message Date
Ghislain MARY
81688335c6 Merge branch 'dev_refactor_cpp' 2018-06-26 14:12:27 +02:00
Ronan Abhamon
9e0499000e fix(SalOp): fix crash in sal_op_get_address_family, host can be null if network is not available 2018-05-28 10:18:58 +02:00
Simon Morlat
ca911cc55b Reply 489 Bad Event if we receive a NOTIFY in a call for anything else than a "refer" event package. This commit is also made in dev_refactor_cpp branch. 2018-05-22 18:03:40 +02:00
Ghislain MARY
38c8ea534a Fix stack overflow. 2018-04-20 11:52:53 +02:00
Ghislain MARY
711495218a Revert "Revert "Merge branch 'dev_content_cpp' into dev_refactor_cpp""
This reverts commit 2686dca63a.
2018-04-12 11:47:14 +02:00
Simon Morlat
6368bc0ba0 Fix problem where address family is not guessed as it should (if we receive the INVITE just after sending the REGISTER but before receiving the response of the REGISTER). 2018-04-10 15:57:20 +02:00
Jehan Monnier
2686dca63a Revert "Merge branch 'dev_content_cpp' into dev_refactor_cpp"
This reverts commit d7890dbe74, reversing
changes made to e6158d8da5.
2018-04-05 12:08:44 +02:00
Simon Morlat
149a7304de Add new property in [sip] section called "tls_certificate_subject_regexp" providing a regexp to match with TLS certificate subjects:
subjectAltNames.DNS subjectAltNames.URI and CN.
If nothing is matched the TLS connection is rejected.
2018-04-01 21:29:12 +02:00
Sylvain Berfini
813ab614eb Use Header class instead of pair<string, string> in Content + improved tester 2018-03-27 11:48:40 +02:00
Sylvain Berfini
0dfd57b505 Clean code related to multiparts' Contents 2018-03-23 11:17:52 +01:00
Sylvain Berfini
8a30c727db Improved parameter use in ContentType 2018-03-21 14:23:23 +01:00
Sylvain Berfini
cf2b6ca2bf Fixed content type parameters between SalBodyHandler and Content 2018-03-21 10:51:19 +01:00
Sylvain Berfini
a8bdc5976d Fixed LIME 2018-02-06 14:01:27 +01:00
Ronan Abhamon
d41e2d5df5 fix(core): coding style, avoid spaces => use tabs instead, alignment... 2017-11-22 11:18:41 +01:00
Danmei Chen
eb0fa39f97 Add test for MD5 and SHA-256 in register_test. Tests SHA-256 are supported with flexisip 2017-11-21 17:10:02 +01:00
Ronan Abhamon
935e429609 fix(Core): clean some dirty code... 2017-10-11 14:09:22 +02:00
Jehan Monnier
6e734e6b0b Add Gruu implementation completion from master in dev_refactor_cpp branch 2017-10-10 11:58:48 +02:00
Ghislain MARY
6beb962517 Move the new sal code in the src folder, respect the file naming conventions and add missing license headers. 2017-10-05 10:52:09 +02:00
Ronan Abhamon
33d7a384af feat(General): remove LINPHONE_NAMESPACE 2017-10-02 12:31:36 +02:00
François Grisez
86b626d3fe Migration of Sal and SalOp into C++ classes 2017-09-29 17:19:52 +02:00
Ghislain MARY
076e744dcd Handle subject in INVITE + create body when creating the client group chat room. 2017-09-26 16:58:13 +02:00
Benjamin Reis
34f2e94230 do not crash on null reason header 2017-09-26 15:34:04 +02:00
Benjamin Reis
56efb47f2c Fix NULL reason header & missed call when time out 2017-09-26 15:17:01 +02:00
Jehan Monnier
e9a83366ea complete gruu implementation. 2017-09-26 14:12:02 +02:00
Simon Morlat
38466919d0 Fix unreliability with custom header handling.
Indeed, the ACK was clearing previous custom headers read from incoming INVITEs
2017-09-25 10:18:24 +02:00
Benjamin Reis
3a6f8976fd cast to fix build 2017-09-21 16:52:47 +02:00
Ronan Abhamon
b2a0cd770e fix(core): deal with new cpp flags 2017-09-20 12:45:17 +02:00
Simon Morlat
d3cef31cc5 Fix crash when trying to cancel a non-existing INVITE transaction 2017-09-18 16:09:05 +02:00
Simon Morlat
983fd3b343 stop transaction's retransmissions when a call is cancelled. 2017-09-08 15:16:51 +02:00
Jehan Monnier
1948fbcb07 Revert most of Ronan refactoring to avoid to much instability on master. 2017-09-08 15:13:34 +02:00
Jehan Monnier
252925a373 improve logging to make sure all logger are handler by liblinphone, including, ortp, bzrtp and belle-sip 2017-09-08 13:58:30 +02:00
Simon Morlat
3d283b2953 stop transaction's retransmissions when a call is cancelled. 2017-09-06 17:23:13 +02:00
Ronan Abhamon
1f46a5677f feat(core): many fixes 2017-09-05 15:02:19 +02:00
Ronan Abhamon
1c3bcf0b16 feat(core): big refactoring & full c address impl 2017-09-05 13:59:54 +02:00
Benjamin Reis
ab41ae3c45 add gruu support 2017-08-25 11:39:37 +02:00
Jehan Monnier
552be2a639 small rework of trace level management. 2017-08-23 09:21:24 +02:00
Ghislain MARY
7ceddff0b9 Do not rename files to compile them as C++. 2017-07-24 11:56:50 +02:00
Ghislain MARY
b9b283dcdb Compile source files as C++. 2017-07-21 17:06:41 +02:00
Ghislain MARY
b7658734f0 Handle TTL in DNS responses. 2017-07-19 10:27:04 +02:00
Simon Morlat
e4149d19a8 Add LinphoneCall callback to be notified about ACKs, in order to be able to add custom headers in sent ACKs and read custom headers in received ACKs. 2017-06-26 22:49:15 +02:00
Nicolas Follet
1e8abd208d add uri header getter in LinphoneAddress 2017-06-07 17:32:29 +02:00
Simon Morlat
94fa1c9a46 fix default error info when declining a call 2017-06-05 12:19:41 +02:00
Benjamin Reis
df716458bb set error info before calling the callback 2017-06-05 11:10:53 +02:00
Benjamin Reis
5d566fcc32 Add reason header to CANCEL and add tests for reason headers 2017-06-05 10:29:40 +02:00
Benjamin Reis
32b7ce6db0 Add reason heanders to request + tests 2017-06-01 16:56:51 +02:00
Erwan Croze
4b648c1158 Use of BCTBX_NO_BREAK instead of LINPHONE_NO_BREAK 2017-05-31 15:25:47 +02:00
Simon Morlat
74b638fc79 fix crash 2017-04-15 14:17:51 +02:00
Simon Morlat
6ac8f1505f fix crashes with new error info 2017-04-15 13:02:08 +02:00
Simon Morlat
7f57f6828c merge branch with reason header support and new ErrorInfo features.
Add JNI and java interfaces. Fix issues.
2017-04-14 15:28:58 +02:00
Sandrine Avakian
0024fab59d Merge branch 'master' into dev_loc 2017-04-11 13:29:35 +02:00