Skip to content

pjsip: Make presencestate_repeat_okay predictable. - #157

Merged
github-actions[bot] merged 1 commit into
asterisk:masterfrom
jcolp:presencestate-repeat-okay
Oct 1, 2026
Merged

github-actions[bot] merged 1 commit into
asterisk:masterfrom
jcolp:presencestate-repeat-okay

Conversation

@jcolp

@jcolp jcolp commented Sep 30, 2026

Copy link
Copy Markdown
Member

The PJSIP presencestate_repeat_okay test set the presence status one after another. Depending on the system this could result in a NOTIFY being skipped as a presence state update inside of Asterisk is merely a notification that it changed and the presence state has to be queried. If the presence state was updated to the second value it was then possible for the first value to be skipped.

This change removes the Python module as the test can be expressed solely through yaml and also makes the presence state updates sequential based on the update of the prior one being confirmed done via an AMI event.

@jcolp

jcolp commented Sep 30, 2026

Copy link
Copy Markdown
Member Author

cherry-pick-to: 24
cherry-pick-to: 23
cherry-pick-to: 22
cherry-pick-to: 20

The PJSIP presencestate_repeat_okay test set the presence status
one after another. Depending on the system this could result in
a NOTIFY being skipped as a presence state update inside of Asterisk
is merely a notification that it changed and the presence state
has to be queried. If the presence state was updated to the second
value it was then possible for the first value to be skipped.

This change removes the Python module as the test can be expressed
solely through yaml and also makes the presence state updates
sequential based on the update of the prior one being confirmed
done via an AMI event.
@github-actions

Copy link
Copy Markdown

Workflow Check completed successfully

@github-actions github-actions Bot added cherry-pick-testing-in-progress Cherry-Pick tests in progress cherry-pick-checks-failed Cherry-Pick checks failed cherry-pick-checks-passed Cherry-Pick checks passed and removed cherry-pick-test cherry-pick-testing-in-progress Cherry-Pick tests in progress labels Sep 30, 2026
@github-actions

Copy link
Copy Markdown

Workflow CPCheck completed successfully

@gtjoseph gtjoseph added merge-approved and removed cherry-pick-checks-failed Cherry-Pick checks failed labels Oct 1, 2026
@github-actions
github-actions Bot merged commit 0da7895 into asterisk:master Oct 1, 2026
60 of 63 checks passed
@github-actions

github-actions Bot commented Oct 1, 2026

Copy link
Copy Markdown

Successfully merged to branch master and cherry-picked to ["20","22","23","24"]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants