sip.js.useragentcoreconfiguration.md

September 26, 2022 ยท View on GitHub

Home > sip.js > UserAgentCoreConfiguration

UserAgentCoreConfiguration interface

User Agent Core configuration.

Signature:

export interface UserAgentCoreConfiguration 

Properties

PropertyModifiersTypeDescription
aorURIAddress-of-Record (AOR).
contactContactContact.
displayNamestringFrom header display name.
hackViaTcpbooleanForce Via header field transport to TCP.
loggerFactoryLoggerFactoryLogger factory.
routeSetArray<string>Preloaded route set.
sipjsIdstringUnique instance id.
supportedOptionTagsArray<string>Option tags of supported SIP extensions.
supportedOptionTagsResponseArray<string>Option tags of supported SIP extensions. Used in responses.
userAgentHeaderFieldValuestring | undefinedUser-Agent header field value.
viaForceRportbooleanForce use of "rport" Via header field parameter.
viaHoststringVia header field host name or network address.

Methods

MethodDescription
authenticationFactory()DEPRECATED Authentication factory function.
transportAccessor()DEPRECATED: This is a hack to get around Transport requiring the UA to start for construction.