Changes between Version 8 and Version 9 of Ticket #1941


Ignore:
Timestamp:
Sep 6, 2021 10:36:17 AM (9 months ago)
Author:
nanang
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #1941 – Description

    v8 v9  
    661. Set up !PushKit according to [https://developer.apple.com/library/content/documentation/Performance/Conceptual/EnergyGuide-iOS/OptimizeVoIP.html Apple's doc]. 
    772. 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 header params, for example: 
     83. 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: 
    99{{{ 
    1010Contact: <sip:alice@alicemobile.example.com;