Skip to Content
SessionCloud Portal

Simplify setup for your users

For the portal’s saved SIP accounts, CSV import, QR codes and desktop links, use User Provisioning. Save credentials first, then generate setup valid for 72 hours and one use. The standalone portal QR generator has been removed; this page remains a reference for existing static-code integrations.

The formats below describe static credential-bearing QR codes. They do not expire or become single-use automatically, and browser-only codes cannot be recovered from the saved-user library.

If you don’t have your own provisioning server you can still use QR codes to save users entering credentials. Simply embed the credentials in the QR code in the format specified below and email the QR code to your end user. They will simply scan the code and the softphone will be ready to use.


Generic Apps

scloc:providerId| { "sipaccounts" : [ { "sipusername" : "user1" , "sippassword": "29de?8", "domain" : "pbx.example.com"} ] }

Whitelabel Apps

scloc: { "sipaccounts" : [ { "sipusername" : "user1" , "sippassword": "29de?8", "domain" : "pbx.example.com"} ] }

Additional parameters available are shown below

scloc: { "sipaccounts" : [ { "sipusername" : "user1" , "sippassword": "29de?8", "domain":"pbx.example.com" , "authusername": "629456", "transport" : "UDP", "srtp" : "Enabled" , "messaging" : "Enabled", "video" : "Enabled" , "callrecording" : "Enabled" } ] }

Use domain for the full SIP domain (FQDN) of the account. The legacy key subdomain is still accepted for backwards compatibility but new integrations should use domain.

Multiple SIP accounts may be passed as separate entries in json array

For provisioned BYO PBX accounts, the project’s SMS setting in Provisioning > Advanced > Messaging controls messaging availability, even when the QR code contains a different messaging setting. For the forthcoming carrier integration, see SMS for BYO PBX.


XMPP Accounts

XMPP messaging accounts can be included in the QR code alongside SIP accounts. Add an xmppaccounts array to the JSON payload:

scloc: { "sipaccounts" : [ { "sipusername" : "user1", "sippassword": "29de?8" } ], "xmppaccounts" : [ { "jid": "user1@chat.example.com", "password": "xmpp_password", "domain": "chat.example.com" } ] }

Example with all optional XMPP parameters:

scloc: { "sipaccounts" : [ { "sipusername" : "user1", "sippassword": "29de?8" } ], "xmppaccounts" : [ { "jid": "user1@chat.example.com", "password": "xmpp_password", "domain": "chat.example.com", "server": "xmpp.example.com", "port": 5222, "resource": "", "usetls": true, "verifycert": true, "priority": 5, "displayname": "User One", "accountname": "Work XMPP" } ] }
ParameterRequiredDescription
jidYesXMPP address (e.g. user@chat.example.com)
passwordYesXMPP account password
domainYesXMPP service domain
serverNoServer host override. If blank, resolves via DNS SRV
portNoXMPP server port (default: 5222)
resourceNoXMPP resource identifier for multi-device support
usetlsNoEnable TLS encryption (default: true)
verifycertNoVerify server TLS certificate (default: true)
priorityNoXMPP presence priority, -128 to 127 (default: 5)
displaynameNoDisplay name for the XMPP account
accountnameNoFriendly label for the XMPP account

Multiple XMPP accounts may be passed as separate entries in the array. The softphone will automatically connect to the XMPP server after scanning the QR code.

Last updated on