Commit graph

214 commits

Author SHA1 Message Date
Simon Morlat
c329b10669 implement independant controls for media and sip network reachabilities. 2016-01-22 17:52:25 +01:00
Jehan Monnier
05af238d9a make sure list subscribe is only sent when proxy config is transitioned to RegistrationOk 2016-01-04 15:32:53 +01:00
Jehan Monnier
24cf297628 fix some warnings, update submodule ms2 2015-11-26 11:30:25 +01:00
Gautier Pelloux-Prayer
9333714b9e proxy.c: invoking linphone_core_remove_proxy_config with a proxy not registered will change registration state to LinphoneRegistrationNone before removal 2015-11-05 11:48:24 +01:00
Gautier Pelloux-Prayer
0f6874a96e proxy.c: remove debug statements 2015-11-03 14:34:43 +01:00
Gautier Pelloux-Prayer
22e116014c proxy.c: fix overflow in linphone_proxy_config_normalize_phone_number API resulting in invalid writes 2015-11-03 12:46:48 +01:00
Ghislain MARY
a5938f1abd Fix crash in linphone_proxy_config_set_identity(). 2015-10-27 16:32:06 +01:00
Gautier Pelloux-Prayer
3331ad4a10 proxy.c: fix crash in linphone_proxy_config_set_identity_address when addr is invalid 2015-10-27 16:21:00 +01:00
Gautier Pelloux-Prayer
725b866566 proxy.c: add new linphone_proxy_config_find_auth_info API 2015-10-16 13:52:29 +02:00
Gautier Pelloux-Prayer
c0d58391e9 proxy: fix linphone_proxy_config_set_route return code 2015-10-05 12:26:20 +02:00
Gautier Pelloux-Prayer
def7b77e15 proxy.c: linphone_proxy_config_set_route now returns -1 if route is invalid 2015-10-01 15:57:51 +02:00
Gautier Pelloux-Prayer
8a2f20ceae tester: add before_each / after_each methods to check memory leaks and fix various ones 2015-09-22 13:54:29 +02:00
Gautier Pelloux-Prayer
c0e4d5695d proxy.c: remove unused functions 2015-09-10 15:42:53 +02:00
Gautier Pelloux-Prayer
d638129f62 proxy.c: deprecate linphone_proxy_config_normalize_phone and use linphone_proxy_config_normalize_phone_number instead 2015-09-10 11:03:46 +02:00
Simon Morlat
13f0d85f68 implement automatic repairing of SIP dialogs broken by a network disconnection. 2015-09-08 21:20:25 +02:00
Gautier Pelloux-Prayer
af43ad8965 proxy.c: fix crash in linphone_core_interpret_url when username is NULL and do not copy parameters when using proxy's domain 2015-08-25 14:33:29 +02:00
Gautier Pelloux-Prayer
750a692fa1 proxy.c: notify display status when registration is in progress so that when previous registration failed and user forces refreshing the proxy config, he gets notified of it 2015-08-06 16:04:03 +02:00
Gautier Pelloux-Prayer
31a77583d7 proxy.c: we must also UNREGISTER when being in state RegistrationInProgress so that even if registration is pending we unregister properly 2015-07-30 15:03:53 +02:00
Jehan Monnier
2712cb4834 Clear pending tcp/tls address of record in case of network change. Very useful for legacy SIP server with no sip instance support and limited number of air. 2015-07-29 17:09:04 +02:00
Gautier Pelloux-Prayer
d9f41fff5a proxy config: modify linphone_proxy_config_get_contact and add linphone_proxy_config_get_identity_address returning LinphoneAddress and move all documentation to linphone_proxy_config.h 2015-07-29 13:26:53 +02:00
Gautier Pelloux-Prayer
75ecf665ab proxy: add linphone_proxy_config_normalize_phone_number and linphone_proxy_config_normalize_sip_uri to ease high level API usage 2015-07-17 16:37:44 +02:00
Gautier Pelloux-Prayer
d697939bbe proxy.c: fix crash regression from cddb9c3, list copy is actually required 2015-07-07 16:38:44 +02:00
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