Skip to content

Add restrict_presence_event_publisher ecallmgr system_config option#6748

Closed
timeodonovan wants to merge 1 commit into2600hz:4.3from
timeodonovan:restrict_presence_event_publisher
Closed

Add restrict_presence_event_publisher ecallmgr system_config option#6748
timeodonovan wants to merge 1 commit into2600hz:4.3from
timeodonovan:restrict_presence_event_publisher

Conversation

@timeodonovan
Copy link

When enabled it prevents all but the ecallmgr node handling a call from sending presence updates. This stops duplicate notifies being sent to devices which can result in them returning 500 errors, removing their subscriptions and subsequently breaking BLFs.

A caveat to this is that the initial state change will not be forwarded to subscribers when a device is dialling, as no ecallmgr node will be defined at this stage. This is usually for a very short period as the following state changes will be at the point where the call is being handled by an ecallmgr node.

@jamesaimonetti
Copy link
Member

@timeodonovan thanks, taking a look. Will address CI issues and merge to 4.3 when passing here.

jamesaimonetti pushed a commit that referenced this pull request Jan 19, 2022
…tion (#6748)

When enabled it prevents all but the ecallmgr node handling a call
from sending presence updates. This stops duplicate notifies being
sent to devices which can result in them returning 500 errors,
removing their subscriptions and subsequently breaking BLFs.

A caveat to this is that the initial state change will not be
forwarded to subscribers when a device is dialling, as no ecallmgr
node will be defined at this stage. This is usually for a very short
period as the following state changes will be at the point where the
call is being handled by an ecallmgr node.
@jamesaimonetti
Copy link
Member

Merged, thanks!

@timeodonovan timeodonovan deleted the restrict_presence_event_publisher branch July 17, 2023 14:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants