1) Add force-publish-expires to set custom presence update expires delta (-1 means endless)

2) Check how many users are registered when receiving a PUBLISH AND Multiple Registrations is enabled:
	if there is more than just 1 AND you are sending a offline message: skip publishing it to everyone
	to prevent clients from thinking themselves has gone offline.
This commit is contained in:
Anthony Minessale
2010-10-21 12:50:19 -05:00
parent b430da3584
commit fd1736b38f
3 changed files with 58 additions and 25 deletions
+1
View File
@@ -548,6 +548,7 @@ struct sofia_profile {
sofia_presence_type_t pres_type;
sofia_media_options_t media_options;
uint32_t force_subscription_expires;
uint32_t force_publish_expires;
char *user_agent_filter;
uint32_t max_registrations_perext;
switch_rtp_bug_flag_t auto_rtp_bugs;