Commit graph

263 commits

Author SHA1 Message Date
Simon Morlat
39f9ec6a48 improve LinphoneEvent api:
- better error notification
- allow publish without expires
2014-04-11 10:00:13 +02:00
Simon Morlat
7aec150bf4 fix missing custom header processing in generic PUBLISH api 2014-04-10 19:43:16 +02:00
Simon Morlat
bd83f0b7ca fix crash while receiving a SIP message without content-type. 2014-04-09 00:00:22 +02:00
Simon Morlat
a8176a398d rework SRTP support so that recv and send key can be set and updated independently. 2014-04-08 23:41:14 +02:00
Jehan Monnier
9b4197fef9 add retry algo for vfu request + enable opus cbr by default 2014-04-05 09:45:06 +02:00
Simon Morlat
274d50168e implement digest authentication for anonymous calls (with id privacy) 2014-04-02 22:23:52 +02:00
Simon Morlat
3013fd8ae2 allow configuration of root_ca before provisioning, so that it can be used for https fetching 2014-03-26 17:51:47 +01:00
Ghislain MARY
1c3714327f Do not use raw attributes to get values. 2014-03-26 16:58:13 +01:00
Simon Morlat
266207c5f0 change behavior of linphone_core_get_sip_transports() if random port selection was specified.
Only linphone_core_get_sip_transports_used() will return the real port if random port selection was specified.
2014-03-26 11:30:07 +01:00
Simon Morlat
250495034e rely on belle-sip ability to choose SIP transport random port using bind(). 2014-03-25 22:48:17 +01:00
Simon Morlat
c25273e9ca add C function to disable chat 2014-03-25 12:48:50 +01: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
Ghislain MARY
681b445470 Prevent duplication of RTCP XR attribute in the medias when identical to the session one. 2014-03-19 16:07:05 +01:00
Ghislain MARY
9a4fd36948 Configure the RTCP XR parameters of the rtp session. 2014-03-19 16:07:04 +01:00
Ghislain MARY
4c3baa0528 Define RTCP XR structure in oRTP instead of sal. 2014-03-19 16:07:04 +01:00
Jehan Monnier
260e7e1d5c minimal SIP UPDATE support 2014-03-18 09:08:25 +01:00
Simon Morlat
c7f23e6494 set default value of video renderer 2014-03-17 11:40:36 +01:00
Simon Morlat
a0b7b1f3b0 rework implementation of SUBSCRIBEs delayed to successful registration.
In case of network errors, SUBSCRIBE could be sent before registration refresh, this should be fixed.
2014-03-11 17:25:07 +01:00
Simon Morlat
a45d28a328 implement receiving of in-dialog chat message 2014-03-10 17:25:44 +01:00
Simon Morlat
95030951d1 add new function to play a file locally, in or out of calls.
add new function to define a tone or wav file to be played automatically upon call errors
2014-03-04 22:58:56 +01:00
Ghislain MARY
8bc0b2e8a4 Handle RTCP XR SDP attribute parsing and creation. 2014-03-04 16:28:23 +01:00
Ghislain MARY
7e00357fd0 Fix compilation with belle-sip 1.3.1. 2014-03-04 14:32:05 +01:00
Simon Morlat
1af4a7c091 improve SDP<->SalMediaDescription conversion and offer answer algorithm 2014-02-28 16:31:05 +01:00
Ghislain MARY
ca5f624bc6 Divide huge function in smaller blocks. 2014-02-24 14:48:47 +01:00
Simon Morlat
161540a1cf cosmetic changes 2014-02-20 15:43:32 +01:00
Simon Morlat
519430c42e simplify creation of custom headers 2014-02-19 22:35:48 +01:00
Guillaume BIENKOWSKI
b57f8b1526 Added 302 redirection support.
+ removed macros for sal_op_get_contact compatibility
2014-02-19 10:50:36 +01:00
Simon Morlat
9d5c1e7403 add possibility to set/get subject in SDP 2014-02-18 17:30:52 +01:00
Simon Morlat
c88c845e0c better handling of sip chat message failures 2014-02-13 21:49:34 +01:00
Guillaume Beraudo
93f5e85967 Expose chat message reason based on LinphoneReason.
The response code is not exposed to allow mrtp in the future.
There is no possibility to retrieve the code or the sip reason phrase.
2014-02-13 17:20:04 +01:00
Simon Morlat
931c8ade5f Revert "Expose chat message response code and reason."
This reverts commit f021e9aa51.
2014-02-12 17:47:16 +01:00
Guillaume Beraudo
f021e9aa51 Expose chat message response code and reason. 2014-02-12 16:04:48 +01:00
Simon Morlat
bddbdc7cd8 provisioning in gtk app in progress 2014-02-12 14:25:52 +01:00
Jehan Monnier
aacd7bb5a2 protect call tester add_video against crash when call has fail 2014-02-10 17:35:08 +01:00
Simon Morlat
a96c066572 re-enable test "TLS with non tls server" (works with lastest belle-sip) 2014-02-07 18:44:39 +01:00
Jehan Monnier
af18f7293b replace belle_aip_header_extension by belle_sip_header 2014-02-07 14:58:53 +01:00
Simon Morlat
e708ccad51 custom header management improvement.
It is now possible to set custom contact.
Other custom headers passed to the sal override SIP headers that would created by default.
2014-02-06 17:27:58 +01:00
Jehan Monnier
5c7330b17f avoid 100 trying to reset op auth counters 2014-02-06 15:10:29 +01:00
Jehan Monnier
0dae0d3320 reset op auth count in case of io error 2014-02-04 11:29:24 +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
b999c757fc fix rare crash in sal
update oRTP
2014-01-28 21:22:28 +01:00
Simon Morlat
b5a6d4a2c6 implement custom headers sending in 200Ok 2014-01-22 18:03:55 +01:00
Simon Morlat
22e1427eb3 fix automatic resuming of calls after failed failed transfer 2014-01-21 12:17:39 +01:00
Simon Morlat
4e82aa626b better checking of incoming SDP, in order to avoid accept things we cannot support. 2014-01-08 12:06:36 +01:00
Simon Morlat
041e20edfb * fix incorrect behavior when the body of an INVITE cannot be understood or parsed.
Previously it was answering 200Ok.
* do not send 415 but 488 in case of incompatible codecs, which is more correct according to the RFC.
415 should be replied if the body cannot be understood (for example: is not application/sdp)
2014-01-06 23:24:00 +01:00
Ghislain MARY
d468050c8b Implement RFC3994: Indication of Message Composition for Instant Messaging. 2014-01-03 15:01:18 +01:00
Simon Morlat
e8d63aa3ba remove uri headers from Contact 2013-12-20 14:02:25 +01:00
Simon Morlat
eb93c8a62f fix crash when receiving SDP with many mlines 2013-12-19 17:22:24 +01:00
Simon Morlat
ffaf96828f Implement fully compatible IPv4/IPv6 mode.
Requires belle-sip upgrade.
2013-12-17 11:56:00 +01:00
Simon Morlat
95e3f26dca implement manual mode refresher for generic subscribe 2013-12-13 10:22:28 +01:00