mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 13:12:03 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user