CallUserParameters
Call parameters. Can be passed as arguments to the VoxEngine.callUser method.
Props
analyticsLabel
analyticsLabel: string
| undefined
Sends custom tags along with the push notification of an incoming call.
callerid
callerid: string
CallerID to display to the callee. Usage of whitespaces is not allowed. Normally it is a phone number that can be used for callback. IMPORTANT: test numbers rented from Voximplant cannot be used as CallerID, use only real numbers.
conferenceCall
conferenceCall: false
| undefined
| true
Whether the call is coming from a conference. The default value is false
disableExtPlayoutDelay
disableExtPlayoutDelay: false
| undefined
| true
Whether to disable the RTP header extension to control playout delay if provided
disableExtVideoOffset
disableExtVideoOffset: false
| undefined
| true
Whether to disable the RTP header extension for transmission offset if provided
disableExtVideoOrientation
disableExtVideoOrientation: false
| undefined
| true
Whether to disable the RTP header extension for video orientation, 3gpp:video-orientation
, if provided. Browsers that do not support that extension display the video correctly, however, the battery consumption is higher
disableExtVideoTiming
disableExtVideoTiming: false
| undefined
| true
Whether to disable the RTP header extension for video timing if provided
displayName
displayName: string
| undefined
Name of the caller that is displayed to the user. Normally it is a human-readable version of CallerID, e.g. a person's name
extraHeaders
extraHeaders: {[header: string]: string}
| undefined
Optional custom parameters (SIP headers) that should be passed with a call (INVITE) message. Custom header names have to begin with the 'X-' prefix except the 'VI-CallTimeout': '60' which hangs up if there is no answer after the timeout (in seconds, minimum value: 10, maximum value: 400, default value: 60). The "X-" headers can be handled by a SIP phone or WEB SDK (e.g. see the incomingCall event). Example: {'X-header':'value'}
maxVideoBitrate
maxVideoBitrate: number
| undefined
Sets the maximum possible video bitrate for the customer device in kbps
pushNotificationTimeout
pushNotificationTimeout: number
| undefined
Push notification timeout in milliseconds.
scheme
scheme: {[id: string]: any}
| undefined
Internal information about codecs from the AppEvents.CallAlerting event
username
username: string
Name of the Voximplant user to call
video
video: false
| undefined
| true
Whether the call has video support. Optional. Please note that prices for audio-only and video calls are different!
videoOrientationExtension
videoOrientationExtension: false
| undefined
| true
Whether to send an RTP extension header to communicate video orientation information (a=extmap:12 urn:3gpp:video-orientation
). If false, browsers that do not support that extension are correctly displaying video; however, the battery consumption is higher. The default value is true.