Skip to content

[FEATURE] Periodic Push Notification Triggers for Expired SIP Registrations #4222

Description

@bshirazi

Feature Request: Periodic Push Notification Triggers for Expired SIP Registrations

Hi,

It has been recommended to increase the SIP registration expiry time on upstream SIP servers to provide better push notification support. However, increasing the expiry time is not always possible.

For example, suppose the maximum registration expiry time is one hour. If a mobile phone is switched off or has no Internet access for more than one hour, the SIP registration expires. In this situation, OpenSIPS(as push notification gateway) cannot trigger a push notification when an incoming call arrives, because the upstream SIP server does not send the INVITE to OpenSIPS anymore.

It would be useful to have a feature in OpenSIPS that allows it to periodically trigger a push notification even after the SIP registration has expired.
For example:

  • The SIP registration expires after 1 hour.
  • OpenSIPS sends a push notification trigger every hour.
  • The trigger could be repeated a configurable number of times, for example 12 times.
  • If the mobile client becomes reachable, it can re-register.
  • Once the client re-registers, the upstream SIP server can again send the INVITE to OpenSIPS(as push notification gateway) normally.

This could significantly improve push notification reliability for mobile SIP clients, especially when the device has been offline for an extended period.

Thanks.

Activity

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

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions