Commit graph

96 commits

Author SHA1 Message Date
Gautier Pelloux-Prayer
82ec76a4e1 Reuse previous nonce if outbound proxy realm is set to avoid reauthentication 2014-07-25 14:37:01 +02:00
Ghislain MARY
e41203a4c5 Fix compilation for Windows Phone 8. 2014-06-25 17:46:44 +02:00
Gautier Pelloux-Prayer
5cf381b667 add linphone_core_get_user_agent to retrieve local user agent 2014-06-24 14:17:11 +02:00
Ghislain MARY
6f95bbc5d2 Fix bug 0001279: Wrong usage of n_active_streams in the media descriptions.
Inactive streams are now allowed between active streams in the SDP.
2014-06-10 13:26:41 +02:00
Johan Pascal
3c918dfd8b Merge branch 'master' of git.linphone.org:linphone into dev_filetransfer 2014-06-09 13:40:06 +02:00
Jehan Monnier
ba5c902bba add option sip_update to linphonerc to disable SIP UPDATE 2014-06-03 10:24:44 +02:00
Ghislain MARY
0cd71d6548 Fix issue with rtcp-fb attributes in SDP of response. 2014-06-02 11:02:41 +02:00
Ghislain MARY
1a5f37eaba Allow activation of AVPF for a call based on the proxy configuration. 2014-06-02 11:02:40 +02:00
Ghislain MARY
2110281d2e Handle AVPF and SAVPF profiles. 2014-06-02 11:02:40 +02:00
Johan Pascal
c10b5f652b File transfer implemented following RCS5.1 recommendation
- memory leaks to be fixed
2014-05-29 00:10:49 +02:00
Simon Morlat
fbc8f77e3a allow crypto lines to be configured from linphonerc, and improve code handling SRTP crypto lines 2014-05-21 13:11:13 +02:00
Jehan Monnier
bb6d660594 rework proxy config management edit()/done() method to only send unregister message when really needed 2014-05-20 18:38:56 +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
ceb8533cf9 Merge branch 'quality_reporting'
Conflicts:
	coreapi/linphonecall.c
	mediastreamer2
	tester/call_tester.c
2014-04-22 14:42:20 +02:00
Gautier Pelloux-Prayer
f3efcb1286 Quality reporting: fix unit tests, and remove some trailing spaces 2014-04-17 16:58:50 +02:00
Gautier Pelloux-Prayer
1cba3da32d Quality reporting: fill 'from-tag' and 'to-tag' fields 2014-04-17 16:38:39 +02:00
Jehan Monnier
43aa6ef34f change encryption state management 2014-04-17 16:22:49 +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
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
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
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
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
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
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
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
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
Sylvain Berfini
f76c0ead31 Improved remote provisioning code + added test suite for it 2014-02-12 17:21:22 +01:00
Guillaume Beraudo
f021e9aa51 Expose chat message response code and reason. 2014-02-12 16:04:48 +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
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
Simon Morlat
092375c98a SDP offer answer fix: declined streams must remain as inactive in future offers. 2014-01-24 11:11:24 +01:00
Simon Morlat
22e1427eb3 fix automatic resuming of calls after failed failed transfer 2014-01-21 12:17:39 +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
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
Simon Morlat
c53381e0b5 add linphone_proxy_config_set_contact_uri_parameters() 2013-12-12 11:08:38 +01:00
Ghislain MARY
e67a8737dd Add configuration to enable/disable DNS SRV resolution. 2013-12-05 14:52:57 +01:00
Simon Morlat
6f9f860a2e allow multiple transports in gtk application, allow to configure transport per proxy (not yet finished) 2013-11-30 11:25:55 +01:00
Simon Morlat
a8d304fd8f * implement reporting of dtmf received via SIP info
* dtmf can be typed on keyboard with gtk app.
2013-11-28 11:59:35 +01:00
Simon Morlat
41f0390f93 generate SRTP keys more securely
simplify management of SalMediaDescription
take into account changes in local encryption keys while updating streams.
2013-11-27 16:50:25 +01:00
Jehan Monnier
e0256b1f7a fix compilation issue 2013-11-21 16:26:44 +01:00
Guillaume Beraudo
e8225e64b9 Basic client certificates API 2013-11-21 13:54:31 +01:00
Simon Morlat
82eaf99776 adapt to new resolver api. 2013-11-17 22:29:59 +01:00