Configuration options

Program Call Behaviour

The configuration object is what defines your web calling behaviour. Here are the options you can set on a per-call basis :

Attribute Description Allowed Values Default Values
voxbone.WebRTC.authServerURL Server URL that processes authentication String “https://webrtc.voxbone.com/rest/authentication/createToken”
voxbone.WebRTC.preferedPop Bypass Ping mechanism and enforce POP to be used String (‘BE’, ‘LA’, ‘CN’) null
voxbone.WebRTC.configuration.uri Set the caller-id, domain name gets automatically stripped off Valid SIP URI “voxrtc@voxbone.com”
voxbone.WebRTC.configuration.display_name Add Display Name to the call String null
voxbone.WebRTC.configuration.dialer_string Digits to dial after call is established. Example = ‘1,2,3,1200ms,4,5,900ms,6,# String null
voxbone.WebRTC.configuration.digit_duration Gap between digits in milliseconds. Integer 100
voxbone.WebRTC.configuration.digit_gap duration of digits sent by the web application in ms. Integer 500
voxbone.WebRTC.audioComponentName id of the audio html tag String “peer-audio”
voxbone.WebRTC.auth.TTL Time to live for the auth hash key Integer 300
voxbone.WebRTC.auth.varname Variable name for the auth hash key String voxrtc_config
voxbone.WebRTC.configuration.post_logs If enabled allows voxbone webrtc sdk to push all the call logs to a voxbone defined backend, where they can be used for troubleshooting. Boolean false
voxbone.WebRTC.configuration.register Specifies if the SDK should try to register a SIP user Boolean false
voxbone.WebRTC.configuration.log_level Sets the JavaScript console log level (allows suppression) voxbone.Logger.log_level.INFO
voxbone.Logger.log_level.ERROR
voxbone.Logger.log_level.NONE
voxbone.Logger.log_level.INFO