The Wizard page handles custom SIP URIs, provides the related actions when opening Linphone, and proposes to set it up if required.
The Wizard can rely on tokens generated using the API; check out the related documentation.
When providing a token generated using the API to the Wizard URL (/wizard/{token}), the token settings will be applied depending on how it was configured:
If the token is provisioning an account, triggering a specific action, or trying to reach a specific SIP URI, the Open the app button will point to a custom sip-tphone schema URI (sips-tphone if SIPS is enforced) that your Tphone app will be able to handle, for example sip-tphone:john@sip.linphone.org?method=call&fetch-config=<base64 URL>. The executable name can be changed with the APP_WIZARD_APP_EXECUTABLE_NAME environment variable.
GET parameters¶You can also directly pass some of the configuration parameters in the page URL as GET parameters.
sip: Pass a SIP address to reachlinphone-action: Trigger a Linphone action when opening the app. Accepted values: call, show, bye, accept, decline.linphone-use-sips: Enforce the use of SIPSFor example:
> GET /wizard?sip=sip%3Ajohn%40sip.linphone.org&linphone-action=call
If a token is provided, it will overwrite all the GET parameters.