Commit graph

261 commits

Author SHA1 Message Date
Simon Morlat
965add9d6e add new states LinphoneCallEarlyUpdating and LinphoneCallEarlyUpdatedByRemote to properly handle the early dialog UPDATE scenarios.
fix test suite.
2014-10-20 15:10:40 +02:00
Jehan Monnier
3c955d1680 add option sip,call_logs_use_asserted_id_instead_of_from to update call logs from value with value from P-Asserted-identity 2014-10-15 13:35:53 +02:00
Simon Morlat
3e1e3c93f4 fix crash when declining an update
refine conditions for refusing an UPDATE
2014-09-25 14:15:06 +02:00
Jehan Monnier
251ba960c5 add new functions linphone_core_add_listener to enable multiple vtable to be registered 2014-09-16 15:00:12 +02:00
François Grisez
37be673607 Add a private FirewallPolicy getter which return NoFirewallPolicy whether a tunnel is enabled 2014-09-15 15:55:10 +02:00
Simon Morlat
c8a7b144c6 fix problem when receiving a pause request after putting the other party in pause. 2014-09-12 14:38:47 +02:00
Simon Morlat
513ef5f7e7 fix uninitialized LinphoneContent 2014-09-12 12:10:49 +02:00
Guillaume BIENKOWSKI
2d9de5a1bd Handle NULL ringback tones + setup iOS tester correctly for AudioQueue and no ringback tone 2014-09-11 11:42:11 +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
Ghislain MARY
eaa1d6bb1d Add reference count handling to the LinphoneCallParams object. 2014-09-01 14:58:32 +02:00
Guillaume BIENKOWSKI
d28e18e058 Null-check the auth-info when it fails. In some cases it could be Nil 2014-08-26 11:34:31 +02:00
Simon Morlat
c68dd94acb allow notification of registration_state_changed callback for removed proxy configs. 2014-08-21 17:01:55 +02:00
Simon Morlat
b214e21ffe prevent receiving an incoming call when another is in the IncomingEarlyMedia state. 2014-07-01 22:51:01 +02:00
Simon Morlat
0d5af07a7e fix memory leaks 2014-06-10 16:30:47 +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
Simon Morlat
10c9de93ca implement early media forking at client side 2014-06-04 15:16:21 +02:00
Ghislain MARY
2110281d2e Handle AVPF and SAVPF profiles. 2014-06-02 11:02:40 +02:00
Simon Morlat
8c2e4d9e80 increment sdp session id when making a response to pause/resume request
don't accept linphone_core_update_call() outside of StreamsRunning state.
2014-05-30 12:06:26 +02:00
Jehan Monnier
078e2d461d change LinphoneEvent from/to management to only use op 2014-04-25 15:07:37 +02:00
Simon Morlat
39f9ec6a48 improve LinphoneEvent api:
- better error notification
- allow publish without expires
2014-04-11 10:00:13 +02:00
Simon Morlat
7bd50e004f allow usage of system-choosen random ports.
Implies a lot of refactoring in streams management.
2014-04-07 17:37:50 +02:00
Simon Morlat
5cff5bebe5 fix bad enum cast and invalid enum translation 2014-03-28 17:12:49 +01:00
Simon Morlat
c25273e9ca add C function to disable chat 2014-03-25 12:48:50 +01:00
Simon Morlat
546dcfb160 enable real early media sending for incoming calls. 2014-03-25 10:58:18 +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
Jehan Monnier
904db718b3 make sure multiple incoming calls with privacy enabled can be handled 2014-03-20 14:16:04 +01:00
Jehan Monnier
260e7e1d5c minimal SIP UPDATE support 2014-03-18 09:08:25 +01:00
Jehan Monnier
36a124d277 add comments about resetting ZRTP context in case of RE-INVITE 2014-03-18 09:08:25 +01:00
Simon Morlat
90b5d17172 split linphone_gtk_iterate and fix bad enum casting in chat message handling 2014-03-05 14:41:08 +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
Guillaume Beraudo
645447dcef Simplify client certificate configuration.
We can only handle one client certificate: allow setting direct path to
the chain and key files.
2014-02-28 12:55:01 +01:00
Guillaume BIENKOWSKI
493a1fec08 Fix failing custom header tests failing 2014-02-20 15:38:14 +01:00
Margaux Clerc
80165d9098 Update README 2014-02-19 16:33: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
5214931034 add new log to track auth info added interactively. 2014-02-14 18:04:16 +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
4325854123 fix double notification of auth_info_requested() 2014-02-11 11:28:56 +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
d777e00ac9 change behavior of LinphoneCall::camera_enabled
It is now an application preference, the core never modifies it.
It represents whether the camera is allowed to be sent (in case of video request).
2013-12-20 10:40:04 +01:00
Simon Morlat
ded4d06469 add linphone_core_start_refered_call() to allow application to control how to execute an incoming call transfer
belle-sip upgrade required.
2013-12-13 17:33:46 +01:00
Simon Morlat
95e3f26dca implement manual mode refresher for generic subscribe 2013-12-13 10:22:28 +01:00
Simon Morlat
b9f614744f fix crash in gtk app when updating sip ports
call linphone_call_fix_parameters() when INVITEs and reINVITEs, but not during early-media
2013-12-09 13:21:10 +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
Guillaume Beraudo
e8225e64b9 Basic client certificates API 2013-11-21 13:54:31 +01:00