Skip to Content

Simplify setup for your users

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", "subdomain" : "pbx"} ] }

Whitelabel Apps

scloc: { "sipaccounts" : [ { "sipusername" : "user1" , "sippassword": "29de?8", "subdomain" : "pbx"} ] }

Additional parameters available are shown below

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

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


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