Commit graph

83 commits

Author SHA1 Message Date
Benjamin Reis
32b7ce6db0 Add reason heanders to request + tests 2017-06-01 16:56:51 +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
b297a4cb1d Rework chat handling.
- Add content type information in LIME encrypted message
 - Single entry point for all types of chat messages that are first decrypted if necessary and then handled according to their content type
 - Add possibility to send chat messages with a content type that is not 'text/plain'
 - Encrypt IMDN
2017-01-31 12:25:12 +01: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
Sylvain Berfini
2af5925e6f Added API to set RootCA by buffer instead of file 2016-09-20 14:20:52 +02:00
Gautier Pelloux-Prayer
f6381d913a license: update FSF address 2016-07-27 11:58:38 +02:00
Jehan Monnier
026bbe8db3 Implement support of dialog created by Notify matching subscription 2016-05-11 14:54:38 +02:00
Sylvain Berfini
889c2e1974 Added method to configure ssl_config for sal and http provider 2016-03-23 16:23:03 +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
Sandrine Avakian
1f624ada80 Updating echo cancellation and adding MSFactory into Sal structure. 2016-01-20 15:12:12 +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
Jehan Monnier
a919e56787 no longer associate http proxy to sips only but allow https 2015-09-25 15:30:03 +02:00
Jehan Monnier
4a21150da7 merge add http proxy for sip 2015-09-24 16:48:19 +02:00
Simon Morlat
ed2385ce28 Refactoring of states, handling of media direction, late offering and so on.
Almost working except one test.
2015-09-03 21:39:58 +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
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
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
François Grisez
df8d324aa7 Change naming convention of variables 2014-09-18 16:03:45 +02:00
François Grisez
32cd807f61 Change the implementation of sal_enable_tunnel and sal_disable_tunnel 2014-09-15 11:32:42 +02: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
Simon Morlat
ec0a93b632 prevent unnecessary lookup in pending auth list 2014-08-27 12:04:59 +02:00
Jehan Monnier
ba5c902bba add option sip_update to linphonerc to disable SIP UPDATE 2014-06-03 10:24:44 +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
Simon Morlat
269f8d1c4e add new API to obtain full details about failures (calls, registration, events).
Fix bug when receiving a 487 after cancelling call, resulting in a call waiting tone to be played.
2014-03-21 18:15:28 +01:00
Jehan Monnier
260e7e1d5c minimal SIP UPDATE support 2014-03-18 09:08:25 +01:00
Simon Morlat
a45d28a328 implement receiving of in-dialog chat message 2014-03-10 17:25:44 +01:00
Jehan Monnier
0eef5c5ecb rework behavior for 403/401/407 auth failure to avoid loop and make sure retry are always done 2014-01-30 16:18:38 +01:00
Simon Morlat
b5a6d4a2c6 implement custom headers sending in 200Ok 2014-01-22 18:03:55 +01:00
Simon Morlat
a610adecf4 add supported header 2013-12-09 12:19:49 +01:00
Simon Morlat
fed415507f enhance event API to be notified of publish states.
lp-gen-wrappers is in progress
2013-09-17 14:03:52 +02:00
Simon Morlat
f9e0782528 enable generic publish not to be refreshed automatically 2013-09-16 20:31:16 +02:00
Simon Morlat
c413a81e39 bugfixes in Event api when refreshing subscribes
fix test suite
2013-09-13 16:10:34 +02:00
Jehan Monnier
92abb3d3e5 an op is considered as secure if both from and to uri are sips 2013-09-09 12:41:17 +02:00
Simon Morlat
aeb7876482 transition to belle-sip automatic contact and new nat-helper. 2013-08-30 21:29:29 +02:00
Simon Morlat
6e6e33ae23 - few renamings
- robustify releasing of calls
2013-07-30 16:56:54 +02:00
Jehan Monnier
7a6d1c2946 better test in case of io error 2013-07-16 19:29:56 +02:00
Simon Morlat
83268b313b * fixes for dialog serialization
* fix crash when receiving a NOTIFY after a SUBSCRIBE is terminated
2013-07-05 16:12:56 +02:00
Ghislain MARY
8c9c96218a Use presence model to notify presence.
Use libxml2 to generate XML content.
2013-06-19 17:22:26 +02:00
Jehan Monnier
500d97e548 add privacy settings at proxy level 2013-06-13 08:35:49 +02:00
Jehan Monnier
b7a487bef4 add privacy support 2013-06-10 17:39:53 +02:00
Simon Morlat
5183b21761 change info api so that INFO message can only be sent through calls (as requested by the RFC) 2013-06-06 21:01:53 +02:00
Simon Morlat
36e445f97f generic subscribe notify api in progress 2013-06-06 11:01:54 +02:00
Simon Morlat
2391436cd2 add option to allow to set contact in MESSAGE requests (specific for a SIP server) 2013-05-23 14:37:52 +02:00
Simon Morlat
4cc7c7c074 info api in progress, but test is failed due to flexisip not forking info 2013-05-17 22:23:27 +02:00
Simon Morlat
bb0f07f6a0 add info api
refactor selection of proxy, identity, configurations of op
fix bug when automatically restarting a call after a 415 due to srtp
2013-05-16 16:30:38 +02:00
Jehan Monnier
9448260574 fix wrong passwd use case 2013-05-15 12:38:33 +02:00
Simon Morlat
9ac3d64c86 - implement contact +sip.instance parameter, with random uuid generated and store in linphonerc
- add user-agent string in response
2013-05-09 18:04:11 +02:00