Commit graph

175 commits

Author SHA1 Message Date
Gautier Pelloux-Prayer
a14fa22cf6 Add linphone_proxy_config_is_phone_number in public API 2015-01-08 11:51:07 +01:00
Gautier Pelloux-Prayer
b8f297f6be Change linphone_proxy_ocnifg_normalize_number API to return a boolean value: TRUE if input was a phone number, FALSE otherwise
Conflicts:
	coreapi/linphonecore.h
2015-01-08 11:39:25 +01:00
Ghislain MARY
9a59eb8924 Fix linphone_proxy_config_is_server_config_changed() to return weak-equal if the identities are weak-equal but the proxies are equal. 2014-12-09 13:35:00 +01:00
Ghislain MARY
6b2be053e9 Improve change of identity of a proxy config.
- Add the function linphone_address_equal().
- The comparison of two proxy config addresses now returns one of these three values: equal, weak-equal or different.
- If the new proxy config identity is equal to the previous one, a call to linphone_proxy_config_done() does not
unregister and does not delete the sal op. If it's weak-equal the sal op is destroyed but the unregister is not
done. Finally, if it's different the unregister is performed and the sal op is destroyed.
2014-12-09 10:14:33 +01:00
Gautier Pelloux-Prayer
b65ccceacb Use ms_debug instead of ms_message for noisy flattening messages 2014-11-18 11:56:58 +01:00
Gautier Pelloux-Prayer
b84133da77 Unbreakable space should be also detected as valid for phone numbers (used by iOS to format contacts) 2014-10-29 16:55:01 +01:00
François Grisez
df4385b17c Fix registration issues when tunneling is enabled 2014-09-23 16:03:29 +02:00
François Grisez
10bc15409c Change the LinphoneTunnel C API
* The tunnel manager are now thre mode : disable, enable and auto
* Two new functions: linphone_tunnel_set_mode() and linphone_tunnel_get_mode()
* linphone_tunnel_enable(), linphone_tunnel_enabled(), linphone_tunnel_auto_detect()
and linphone_tunnel_auto_detect_enabled() are now deprecated.
2014-09-18 16:03:45 +02:00
Simon Morlat
e7c6cb8aea fix problem when creating new account on gtk UI. The proxy fields were not initialized with the proxy config default values. 2014-09-18 15:58:33 +02:00
Simon Morlat
df58cddb5d clean proxy config in linphone_core_destroy() 2014-09-17 13:21:57 +02:00
Simon Morlat
a08e2635b6 add setting to LinphoneCore to enable avpf even for calls out of proxies. 2014-09-17 11:09:37 +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
Simon Morlat
c6a3053756 fix incorrectly named functions and compilation errors due to merge 2014-09-08 19:05:43 +02:00
Gautier Pelloux-Prayer
aed5bd789a Improve tunnel test: check that SIP packet actually use the tunnel 2014-09-08 14:20:31 +02:00
Ghislain MARY
3bba8ea3d2 Normalize default proxy getter signature so that it can be automatically wrapped. 2014-08-28 16:26:21 +02:00
Simon Morlat
69750c29f4 fix refcount of proxy config 2014-08-27 14:22:29 +02:00
Simon Morlat
c68dd94acb allow notification of registration_state_changed callback for removed proxy configs. 2014-08-21 17:01:55 +02:00
Ghislain MARY
b6a9bdeed5 Use belle-sip reference counting for LinphoneProxyConfig and LinphoneCall objects. 2014-08-21 16:20:12 +02:00
Ghislain MARY
067c8a9527 For functions returning or taking an MSList as an argument, specify what the MSList contains in the documentation. 2014-08-14 14:44:59 +02:00
Gautier Pelloux-Prayer
66044e773d Factorization of linphone_configure_op for every linphone core requests 2014-07-29 12:23:18 +02:00
Gautier Pelloux-Prayer
82ec76a4e1 Reuse previous nonce if outbound proxy realm is set to avoid reauthentication 2014-07-25 14:37:01 +02:00
Jehan Monnier
117c833d57 fix crash when proxy config done is call first 2014-07-10 15:42:28 +02:00
Margaux Clerc
b5aeb7e755 Jni update proxyConfig wrapper 2014-07-08 16:01:59 +02:00
Simon Morlat
3d9c38aa8a add logs to print core version at proxy config initial registration and when creating calls.
Previously the version was only logged at startup, which seems not sufficient.
It is important to be able to check the version running.
2014-07-01 23:28:55 +02:00
Jehan Monnier
641e9fc746 fix invalid read for new proxy config initialization 2014-06-30 22:49:03 +02:00
Jehan Monnier
8639b1f83d make sure default value are not reset when proxy config is read from file 2014-06-30 20:58:09 +02:00
Simon Morlat
7cd96d33ba fix git version checking when not in a git tree
add linphone_proxy_config_pause_register()
make linphone_core_remove_proxy_config() really send unregister.
2014-06-27 17:13:17 +02:00
Jehan Monnier
d6fc5e8a36 fix presence id generation 2014-06-25 17:51:11 +02:00
Gautier Pelloux-Prayer
dda79c7bc4 Quality reporting: check it is enabled before processing call state changes 2014-06-13 11:31:26 +02:00
Gautier Pelloux-Prayer
4094aec87a removed minor warnings generated by doxygen due to outdated functions prototype 2014-06-05 17:38:15 +02:00
Gautier Pelloux-Prayer
11e43b1b28 fill media information when sending interval report too and added unit test for it (quality_reporting_interval_report) 2014-06-05 16:59:28 +02:00
Gautier Pelloux-Prayer
25186cc0ae Quality reporting: disabled interval report per default and add minimal value when set (120 seconds minimum) 2014-06-05 16:59:28 +02:00
Gautier Pelloux-Prayer
ce7a644616 Quality reporting: add possibility to send interval reports to a given spacing interval during a call 2014-06-05 16:59:28 +02:00
Gautier Pelloux-Prayer
22e2cb518f Quality reporting: rename parameters send_statistics to quality_reporting_enabled and statistics_collector to quality_repotring_collector 2014-06-05 16:59:27 +02:00
Simon Morlat
31d767f9e3 fix compilation error 2014-06-04 15:17:48 +02:00
Ghislain MARY
2498e3164a Initialize avpf parameters of proxy config with default values if available. 2014-06-03 15:06:20 +02:00
Simon Morlat
a5af301c13 fix memory leaks 2014-06-02 17:33:34 +02:00
Ghislain MARY
ad64b94401 Parse rtcp-fb attributes contained in SDP. 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
Simon Morlat
550af5a8c7 fix linphone_proxy_config_edit() calls unbalanced with linphone_proxy_config_done() calls.
This caused regressions, like for example linphone_core_clear_proxy_config() not sending any unREGISTER.
2014-05-26 22:10:05 +02:00
Jehan Monnier
cc5570cae5 proxy route parameter should not be used to check if proxy server address has changed 2014-05-21 10:17:43 +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
Jehan Monnier
2d1c999fc5 add proxy config setter for publish expiration 2014-04-23 12:50:16 +02:00
Simon Morlat
02918fba1b factorize call stats filling 2014-04-23 00:55:32 +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
0762b56a36 Quality reporting: let the config file choose if it should enable or not this feature (per account choice) 2014-04-17 16:38:51 +02:00
Simon Morlat
28f4a815f6 prevent concurrent registers using linphone_core_refresh_registers() being called multiple times. 2014-04-14 15:25:28 +02:00
Jehan Monnier
162f121348 better mgt of refresher in case of registration error 2014-04-14 10:38:22 +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
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