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
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
95387d3785
Fixes with reason header call decline.
2017-04-07 14:43:24 +02:00
Sandrine Avakian
ca3e442d9f
Replacing most calls to sal_call_decline with sal_call_decline_with_error_info
2017-04-04 14:09:44 +02:00
Sandrine Avakian
92c8c0e4da
First commit for decline call with reason header support
2017-04-03 14:31:53 +02:00
Sandrine Avakian
ad337fffef
Adding new API int linphone_call_terminate_with_error_info(LinphoneCall *call, const LinphoneErrorInfo *ei) and other functions to handle RFC3326 reason header.
2017-03-27 15:27:42 +02:00
Simon Morlat
95098f055a
Make LinphoneErrorInfo a belle-sip object. Add new accessors, and make it able to take Reason headers in incoming requests (feature to be tested)
2017-03-22 14:45:24 +01:00
Ghislain MARY
5193bb34e1
Add API to resend a chat message that has not been delivered.
2017-02-21 10:52:17 +01:00
Ghislain MARY
0a4084bc4a
Merge branch 'master' into dev_rat
2016-10-11 09:58:10 +02:00
Jehan Monnier
4d20d10786
fix invalid reads in tunnel code
2016-10-04 13:23:41 +02:00
Ghislain MARY
1fce1b1581
Repair call where a connection loss occurs on the caller side by sending a new INVITE with a Replaces header.
2016-09-30 16:55:47 +02:00
Ghislain MARY
5aa030d578
Replace sal_op_is_ipv6() by sal_op_get_address_family().
...
This is necessary because in some cases the op cannot tell whether it is IPv6 or IPv4. And in such cases we can fallback to an other method to get the information (get_local_ip_for()).
2016-09-26 17:59:40 +02:00
Simon Morlat
1bc6f63db2
media_localip is guessed from signaling using call->dest_proxy. This ease the use of liblinphone on a machine with two interfaces (typically a one being a vpn).
...
Clean things around sal.c and sal_impl.c
2016-09-06 11:16:10 +02:00
Gautier Pelloux-Prayer
f6381d913a
license: update FSF address
2016-07-27 11:58:38 +02:00
Jehan Monnier
2a6375dce4
improve nat64 support for Apple platform
2016-06-07 14:30:05 +02:00
Simon Morlat
e4c674c2e3
implement the sending of out-of-dialog NOTIFYs, and add non-regression test
...
This fixes a crash producing all the time when receiving such out-of-dialog NOTIFY.
2016-05-27 23:03:05 +02:00
Jehan Monnier
966c7caa2d
-fix many memory leak
...
-unsubscribe in linphone_core_uninit
2016-03-10 18:58:44 +01:00
Gautier Pelloux-Prayer
808a826c0f
sal: fix sal_reason_to_sip_code prototype (returns int, not SalReason)
2016-03-07 14:25:46 +01:00
Simon Morlat
2f02f39756
fix build
2016-02-02 21:07:38 +01:00
Jehan Monnier
29e0109c53
-Publish are now implemented using LinphoneEvent API.
2016-02-02 18:54:39 +01:00
Jehan Monnier
58cb7a3f57
use belle-sip refresher with dialog terminated recovery capability
2016-01-28 17:48:11 +01:00
Jehan Monnier
a1c8d9f99c
make sure in case of SRTP DTLS enabled, ice reinvite is disabled & mandatory encryption is activated
2016-01-15 15:36:38 +01:00
Ghislain MARY
edd42fcf1b
Rework sal to be able multipart LinphoneContent objects.
2015-11-26 15:28:36 +01:00
Simon Morlat
2cd6f5f474
implement rtcp-mux, not tested yet.
2015-11-06 13:07:43 +01:00
Simon Morlat
4b7f92995a
fix compilation issue
2015-10-20 22:23:41 +02:00
Simon Morlat
177e400ddd
fix memory leaks and flaws around presence
2015-10-15 16:46:48 +02:00
Jehan Monnier
2712cb4834
Clear pending tcp/tls address of record in case of network change. Very useful for legacy SIP server with no sip instance support and limited number of air.
2015-07-29 17:09:04 +02:00
Jehan Monnier
4073c6e0d0
Restaure previous state in case of call update failure due to pending transaction
2015-07-23 09:20:47 +02:00
Jehan Monnier
e59db8daec
Answer 500 server internal error in case of unexpected request arriving at core level
2015-06-25 12:20:04 +02:00
Jehan Monnier
83f4d95545
implement compatibility mode for sdp cnx adde set to 0.0.0.0 in case of send only
...
param: [sip,cnx_ip_to_0000_if_sendonly_enabled] with default value 0
2015-03-27 14:17:39 +01:00
Guillaume BIENKOWSKI
56e58d0cee
Change the SDP removal mechanism for something a bit more tunable.
...
There is now an "SDP handling mode": you can choose between normal, simulate removal of SDP or simulate SDP error.
This allows for simulating 200 OK without SDP, for instance (a unit test is coming for this).
2015-02-18 15:16:08 +01:00
Simon Morlat
16180e2430
change the way payload type numbers are assigned, so that an application can support more payload type than the RTP profile table allows to contain.
...
Compliance with RFC3264 (offer answer model) is improved, by reusing numbers in case of reINVITEs.
Fix memory leaks
Move offer/answer related tests into a new test suite.
2015-01-21 22:38:46 +01:00
Simon Morlat
546b953c5d
fix severe bug (everything broken)
2015-01-15 21:34:14 +01:00
Guillaume BIENKOWSKI
f2a4cb60d2
Fix a crash when an absolute address is passed to linphone_core_invite.
...
See bug #2009 .
2015-01-15 11:37:30 +01:00
Jehan Monnier
d8ce5b8904
fix crash when tunnel mode is compiled but disabled
2014-12-02 12:11:55 +01:00
Simon Morlat
93493976b3
tester automatically creates unique accounts on flexisip server before running tests. This allows several developer to run the test suite simultaneously !
2014-12-01 15:25:54 +01:00
Simon Morlat
89ac410152
fix crash without tunnel, fix compilation on debian 6
2014-11-16 12:09:22 +01:00
Simon Morlat
d0095948b9
Allow the tunnel mode to work with any proxy config (except for sips destinations)
...
fix the tunnel tests, that were not working correctly.
2014-11-14 20:17:54 +01:00
Gautier Pelloux-Prayer
abe5a19431
Do not crash if SDP could not be parsed and had some unit tests. - avoid crash if missing SDP in REINVITE ACK - resume previous media parametrs instead of aborting call in case of invalid SDP in REINVITE
2014-11-06 17:25:36 +01:00
Simon Morlat
f4a4a6440b
Support for incoming UPDATEs within dialog.
...
For tests, the possibility to send an UPDATE with linphone_core_update_call() has been added thanks to a $
Added possibility to configure Supported SIP header.
2014-09-08 19:02:29 +02:00
Gautier Pelloux-Prayer
82ec76a4e1
Reuse previous nonce if outbound proxy realm is set to avoid reauthentication
2014-07-25 14:37:01 +02:00
Simon Morlat
0d5af07a7e
fix memory leaks
2014-06-10 16:30:47 +02:00
Simon Morlat
649a5a5fe8
fix memory leaks
2014-06-09 22:14:06 +02:00
Simon Morlat
10c9de93ca
implement early media forking at client side
2014-06-04 15:16:21 +02:00
Simon Morlat
a63a3f59cd
avoid sending dummy route headers as much as possible
2014-05-09 15:20:14 +02:00
Simon Morlat
7553aa6492
- linphone now puts Route headers in requests (except register) for outbound proxy configurations, according to RFC3261
...
This behavior can be reverted by putting [sip]->use_no_initial_route=1 in the configuration file.
- accept presence NOTIFY without bodies, instead of replying 415
- remove belle-sip warning at start due to stack not created early enough.
2014-04-25 23:13:26 +02:00
Gautier Pelloux-Prayer
4386f18b21
replace tabs with spaces and remove trailing spaces
2014-04-22 17:22:51 +02:00
Simon Morlat
274d50168e
implement digest authentication for anonymous calls (with id privacy)
2014-04-02 22:23:52 +02:00