Commit graph

192 commits

Author SHA1 Message Date
Gautier Pelloux-Prayer
cddb9c352e proxy.c: fix "ms_list_position: no such element in list." warning raised in linphone_core_clear_proxy_config by deleting default proxy config first 2015-07-07 16:06:14 +02:00
Gautier Pelloux-Prayer
9c961d9e86 proxy.c: add some valid characters to linphone_proxy_config_is_phone_number (iOS specific though) 2015-06-24 16:35:54 +02:00
Gautier Pelloux-Prayer
4c9c51ca3d Quality reporting: add test for custom route PUBLISH 2015-06-22 14:37:31 +02:00
Gautier Pelloux-Prayer
eb89a3f159 proxy.c: move documentation to header 2015-06-17 09:53:02 +02:00
Jehan Monnier
85e296de59 fix iso country code entry for +44 . UK becomes GB 2015-06-10 17:12:04 +02:00
Ghislain MARY
6565d85b1d Merge branch 'dev_xmlrpc' 2015-06-08 13:55:50 +02:00
Ghislain MARY
17cad99e4f Rework assistant for asynchronous XML-RPC requests. 2015-06-05 15:49:47 +02:00
Gautier Pelloux-Prayer
e8081ed765 proxy.c: fix quality reporting collector address check - sip:collector.linphone.org is a valid collector endpoint as well 2015-06-02 14:33:13 +02:00
Ghislain MARY
16eba02ebf Handle XML-RPC request in liblinphone directly instead of using libsoup. 2015-06-02 11:02:23 +02:00
Gautier Pelloux-Prayer
819e0f07dc proxy: fix normalize_number when having invalid prefix dial code 2015-05-28 17:30:52 +02:00
Gautier Pelloux-Prayer
38ed600456 proxy.c: add Jersey in dialplans 2015-05-28 15:46:01 +02:00
Gautier Pelloux-Prayer
6b134f5a33 proxy config: add tests for phone number normalization and fix API accordingly 2015-05-22 16:11:49 +02:00
Gautier Pelloux-Prayer
03287d93cf tester: do not execute TLS tests when it is not available, and avoid using TLS when it is not necessary 2015-05-21 11:28:12 +02:00
Gautier Pelloux-Prayer
02b9679551 proxy.c: linphone_proxy_config_normalize_number use now a default proxy config if none is provided 2015-04-30 11:23:41 +02:00
Jehan Monnier
83f4d95545 implement compatibility mode for sdp cnx adde set to 0.0.0.0 in case of send only
param: [sip,cnx_ip_to_0000_if_sendonly_enabled]  with default value 0
2015-03-27 14:17:39 +01:00
Simon Morlat
330a4ca99a implement replacing of international calling prefix by +, so that number get really normalized. 2015-03-16 14:47:22 +01:00
Simon Morlat
59758df62d add custom header API to proxy config 2015-02-05 20:34:38 +01:00
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