Changes between Version 8 and Version 9 of Ticket #1941
- Timestamp:
- Sep 6, 2021 10:36:17 AM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #1941 – Description
v8 v9 6 6 1. Set up !PushKit according to [https://developer.apple.com/library/content/documentation/Performance/Conceptual/EnergyGuide-iOS/OptimizeVoIP.html Apple's doc]. 7 7 2. Upon startup, request for push tokens. 8 3. Send REGISTER to SIP server with additional specific header or header params to tell the SIP server about the PN (Push Notification) info (server URI, tokens, etc). You can use {{{pjsua_acc_config.reg_hdr_list}}} or {{{pjsua_acc_config.reg_contact_params}}} (the later is available in ticket #1965).[[br]]Note: [https://tools.ietf.org/html/rfc8599 RFC 8599: Push Notifications in the Session Initiation Protocol (SIP)] suggests to put it in Contact headerparams, for example:8 3. Send REGISTER to SIP server with the push token info, the info may be added as a specific header, Contact header params, or Contact URI params, to tell the SIP server about the PN (Push Notification) info (server URI, tokens, etc). You can use {{{pjsua_acc_config.reg_hdr_list}}}, {{{pjsua_acc_config.contact_uri_params}}}, or {{{pjsua_acc_config.reg_contact_params}}} (the later is available in ticket #1965).[[br]]Note: [https://tools.ietf.org/html/rfc8599 RFC 8599: Push Notifications in the Session Initiation Protocol (SIP)] suggests to put it in Contact URI params, for example: 9 9 {{{ 10 10 Contact: <sip:alice@alicemobile.example.com;