Commit graph

56 commits

Author SHA1 Message Date
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
Simon Morlat
87d4f5f895 imlement java synchronization of LinphoneFriend with LinphoneCore 2014-01-22 16:49:15 +01:00
Simon Morlat
b47a179309 add linphone_core_find_friend() 2013-10-31 17:34:58 +01:00
Ghislain MARY
10734524fe Add factory functions to create common linphone objects. 2013-10-08 14:28:16 +02:00
Ghislain MARY
d10ab0a250 Getter functions need to start with "get". 2013-10-07 11:20:04 +02:00
Simon Morlat
a0d580ceb9 fix macos build issue
remove useless code
2013-10-02 14:58:19 +02:00
Ghislain MARY
20dfd43aac More coherent friend API. 2013-09-19 11:15:29 +02:00
Ghislain MARY
cb1b69f2eb Add linphone_friend_get_name(). 2013-09-16 09:25:31 +02:00
Simon Morlat
26a522902e fix crash in presence unsubscription 2013-09-13 18:38:27 +02:00
Simon Morlat
bbedbf7652 update ms2 2013-09-13 16:48:50 +02:00
Simon Morlat
16da9c1b3b send username in contacts of publish
send unSUBSCRIBE when friend subscription is toggled off.
2013-09-13 15:15:07 +02:00
Ghislain MARY
d9684b0c3b Fix wrong warning being output when a friend is offline. 2013-09-05 11:27:40 +02:00
Simon Morlat
d85aeddbd1 logs cleanup 2013-07-31 23:58:53 +02:00
Jehan Monnier
ab6027703b make sure lf->initial_subscribes_sent reset when subscription is
invalidated
2013-07-24 22:54:10 +02:00
Jehan Monnier
9702eeb281 wait until linphone friend proxy config is registered before sending
first subscribe
2013-07-23 20:35:59 +02:00
Simon Morlat
0b2d04d624 many improvements
* re-send SUBSCRIBEs after network gets reachable again
* allow to set the default SUBSCRIBE expires using [sip] "subscribe_expires" property
* re-send initial SUBSCRIBE if remote peer lost the dialog context
2013-07-05 23:05:20 +02:00
Ghislain MARY
15952e46fb Use unref instead of explicit delete for presence objects. 2013-06-25 10:36:22 +02:00
Ghislain MARY
ee35e8e413 Remove linphone_friend_set_presence_model() and make linphone_friend_get_presence_model() return a const pointer because the user should not be able to change his friends' presence. 2013-06-25 09:58:20 +02:00
Ghislain MARY
14373bcb04 Prevent crash when adding a friend without entering a SIP URI. 2013-06-24 12:50:54 +02:00
Simon Morlat
866af779ab handle out of dialogs incoming NOTIFY.
Use in [sip]:
allow_out_of_subscribe_presence=1

to allow them for presence (unsecure)
2013-06-24 12:16:35 +02:00
Ghislain MARY
1b7f68b439 Change presence API a little bit to ease wrapping for other programming languages. 2013-06-21 17:06:08 +02:00
Ghislain MARY
a4340fc442 Update documentation about presence. 2013-06-19 17:22:26 +02:00
Ghislain MARY
8c9c96218a Use presence model to notify presence.
Use libxml2 to generate XML content.
2013-06-19 17:22:26 +02:00
Ghislain MARY
220c471369 Use xml parser to get presence status. 2013-06-19 17:22:26 +02:00
Simon Morlat
e5f1ae5773 add patch for vacation status 2013-06-12 22:19:26 +02:00
Simon Morlat
36e445f97f generic subscribe notify api in progress 2013-06-06 11:01:54 +02:00
Simon Morlat
bb0f07f6a0 add info api
refactor selection of proxy, identity, configurations of op
fix bug when automatically restarting a call after a 415 due to srtp
2013-05-16 16:30:38 +02:00
Simon Morlat
641ba75313 refine transport selection algorithm and set proper routes for all kind of operations: INVITE, MESSAGE, SUBSCRIBE. 2013-03-28 21:57:50 +01:00
Simon Morlat
3cd2dac98f refactoring and memory leak bugfixing. 2013-03-20 17:15:17 +01:00
Jehan Monnier
4842109900 remove contact as const char* from op->contact in case of bellesip 2013-03-07 18:44:14 +01:00
Sylvain Berfini
c3ebf99f5e Fix compilation for WP8 2013-02-27 17:28:15 +01:00
Jehan Monnier
1f9453fea6 Merge remote-tracking branch 'public/master' into belle-sip
Conflicts:
	.cproject
	.project
	Makefile.am
	configure.ac
	coreapi/Makefile.am
	coreapi/callbacks.c
	coreapi/linphonecore.c
2012-12-19 11:13:52 +01:00
Jehan Monnier
510f3b7200 implement presence 2012-12-13 18:05:16 +01:00
Sylvain Berfini
1cc0a418af Few changes in JNI interface for linphone friends + fix issue in linphone_friend_destroy 2012-10-05 17:32:38 +02:00
Jehan Monnier
e2d0579e6b First working version 2012-07-27 18:24:08 +02:00
Pierre-Eric Pelloux-Prayer
7c1668314b Fix crash when the entered uri is invalid 2011-10-25 12:23:09 +02:00
Simon Morlat
589903008b fix friend lookup method and update ms2 2011-09-28 13:33:38 +02:00
Simon Morlat
8e4aed0888 fix compil errors and fix make distcheck 2011-09-19 10:20:55 +02:00
Simon Morlat
2d0315761c add star icon in the uri bar to add contacts 2011-09-19 09:46:17 +02:00
Simon Morlat
a7a2f51283 fix un authenticated subscribes/notify at shutdown 2011-02-07 13:59:14 +01:00
Simon Morlat
a520cc02e0 Merge branch 'master' of git.sv.gnu.org:/srv/git/linphone 2010-10-15 14:53:50 +02:00
Simon Morlat
347b308d16 improve buddy matching 2010-10-15 14:53:20 +02:00
Jehan Monnier
f92683df3d fix for fried api dicumentation 2010-10-15 14:50:51 +02:00
Jehan Monnier
9205b33a17 Merge branch 'master' of git.savannah.nongnu.org:/srv/git/linphone 2010-10-14 21:45:19 +02:00
Jehan Monnier
1a4af622b4 put friend api info linphonefriend.h 2010-10-14 21:43:07 +02:00
Simon Morlat
d975effd31 bugfix and improvements in chat support 2010-10-14 19:24:15 +02:00
Simon Morlat
675f7bcd9e major redesign of liblinphone in progress 2010-08-16 17:08:28 +02:00
Simon Morlat
b62b65080a remove unused headers. 2010-03-31 14:37:09 +02:00
Simon Morlat
047809f6ec workaround bug in eXosip with unSUBSCRIBEs. 2010-03-17 09:42:33 +01:00
Simon Morlat
180a835ed6 fix bug causing double subscribe. 2010-03-16 16:28:14 +01:00