Commit graph

223 commits

Author SHA1 Message Date
Jehan Monnier
5faff1286e Improve publish management, specially etag passing accros event.
Improve presence tester.
Add tester with ACk losses
2016-04-15 12:10:14 +02:00
Gautier Pelloux-Prayer
1f8eb3317b proxy.c: fix potential crash in linphone_proxy_config_is_phone_number 2016-04-05 15:21:58 +02:00
Gautier Pelloux-Prayer
b105e0b38b proxy: add linphone_proxy_config_set_ref_key and linphone_proxy_config_get_ref_key 2016-04-05 11:56:48 +02:00
Gautier Pelloux-Prayer
3f495448e1 proxy.c: replace + with most generic icp if none set 2016-04-04 13:35:13 +02:00
Ghislain MARY
f7abf57253 Fix some memory leaks. 2016-03-09 18:14:02 +01:00
Gautier Pelloux-Prayer
0feee4b5bb proxy.c: do not normalize phone number in linphone_proxy_config_normalize_sip_uri 2016-03-09 17:03:11 +01:00
Simon Morlat
d3e3740a64 fix crashes around presence and publish.
Documentation was not consistent with actual code was doing. LinphoneEvent becomes a true belle_sip_object_t, which now evidences memory leaks.
update ms2
2016-02-06 11:51:06 +01:00
Simon Morlat
2f02f39756 fix build 2016-02-02 21:07:38 +01:00
Jehan Monnier
29e0109c53 -Publish are now implemented using LinphoneEvent API. 2016-02-02 18:54:39 +01:00
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