Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Apple Push Notifications - apns-expiration #198

Open
wpichler opened this issue Sep 12, 2024 · 0 comments
Open

Apple Push Notifications - apns-expiration #198

wpichler opened this issue Sep 12, 2024 · 0 comments

Comments

@wpichler
Copy link

Hi all,

i'd like to discuss the use of the apns-expiration Parameter on Background Push Notifications for ReRegister Expire Wakeup.

My Flexisip Proxy do currently send here a zero value - which means for the apple Push Service No Store - do send immediate - if not possible - forget about it.

This does cause the following problem:
 - Device does register - next ReRegister should be in about an hour
 - Device does enter airplane mode (or simple no connection at all)
 - Flexisip does send Background Push to device to get ReRegister
 - Device does not get it
 - Flexisip does Expire the SIP Register (<- So far it is ok)
 - But from this point the device wont get the Push as soon as it again gets an network connection, so it won't register

Why do you use a zero value for the Background Push ? If the expiration would be +1 Day or something like this, then the Background Push would get stored, and as soon as the device comes up again it would get delivered. The app gets the wake up - and will Reregister.

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

No branches or pull requests

1 participant