Commit graph

276 commits

Author SHA1 Message Date
Simon Morlat
589d3cd540 appnaping improvements
- take a background task during the ice gatethering for incoming call
- add timestamps to gtk debug window, which was required to investigate the issue.

Requires up to date belle-sip
2015-02-06 19:31:42 +01:00
Ghislain MARY
c9376cc2dd Add parameter and API to allow ringing while in the incoming early media call state. 2015-02-06 19:03:03 +01:00
Ghislain MARY
0f12a36b67 Allow queuing several incoming calls instead of declining all of them except the first. 2015-02-06 15:30:05 +01:00
Simon Morlat
9b95f24fc3 avoid multiple warnings due to ms_is_multicast() not used correctly, make code stream type agnostic 2015-02-05 00:09:46 +01:00
Jehan Monnier
5dc7fa8d1a make sure multicast and unicast eraly media call forking work 2015-02-04 12:17:15 +01:00
Johan Pascal
219451388d Merge remote-tracking branch 'origin/master' into dev_dtls 2015-01-27 10:42:06 +01:00
Guillaume BIENKOWSKI
7acf4df883 Add a unit test for a no-sdp reinvite after a pause, and implement a correction to handle this case. 2015-01-23 14:30:38 +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
Jehan Monnier
d7437ef1f5 enable ice with tunnel 2014-12-22 21:47:35 +01:00
Guillaume BIENKOWSKI
b8e643f7b1 Fix reinvite in case of redirection: we should use the linphone_core_restart_invite function, which correctly handles the streams close/reopen 2014-12-03 12:29:03 +01:00
Ghislain MARY
4ac1ccdf05 Handle the callbacks associated with a chat message directly in the LinphoneChatMessage object instead of in the LinphoneCore object. 2014-11-24 16:16:17 +01:00
Guillaume BIENKOWSKI
8934000867 Fix message tester when no storage is used 2014-11-24 11:53:43 +01:00
Ghislain MARY
35189535a7 Convert LinphoneContent from a simple struct to a belle-sip object to ease generation of wrappers. 2014-11-18 16:42:16 +01:00
Simon Morlat
2e515642f0 fix bad call state notification (Released) when receiving a call with incompatible codecs.
Normally this should not trigger any notification.
Fix bug allowing two incoming calls to be notified if ICE is used.
2014-11-18 16:01:51 +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
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