API reference

This page is generated from the KubeVoIP CRDs in the platform repository. Update the CRDs there, then regenerate this page.

NetworkProfile

  • API version: kubevoip.com/v1alpha1
  • Kind: NetworkProfile
  • Plural: networkprofiles
  • Scope: Namespaced
  • Short names: netprofile
FieldTypeRequiredConstraints
spec.externalAddressobjectyesvalue or source is required
spec.externalAddress.sourceenum: Serviceno-
spec.externalAddress.valuestringnomin length: 1
max length: 253
spec.localNetworksarray[string]no-

Status is managed by the KubeVoIP operator through the Kubernetes status subresource. Status fields are intentionally omitted from this generated reference because they can change while the resources are still alpha.

SIPUser

  • API version: kubevoip.com/v1alpha1
  • Kind: SIPUser
  • Plural: sipusers
  • Scope: Namespaced
  • Short names: sipuser
FieldTypeRequiredConstraints
spec.authUsernamestringyespattern: ^[a-z0-9](?:[a-z0-9-]*[a-z0-9])?$
max length: 40
spec.callerIdstringnomax length: 80
spec.dialPolicyRefobjectyes-
spec.dialPolicyRef.namestringnomin length: 1
spec.extensionstringyespattern: ^[0-9]+$
max length: 20
spec.gatewayRefobjectyes-
spec.gatewayRef.namestringnomin length: 1
spec.passwordSecretRefobjectyes-
spec.passwordSecretRef.keystringnomin length: 1
spec.passwordSecretRef.namestringnomin length: 1

Status is managed by the KubeVoIP operator through the Kubernetes status subresource. Status fields are intentionally omitted from this generated reference because they can change while the resources are still alpha.

SIPTrunk

  • API version: kubevoip.com/v1alpha1
  • Kind: SIPTrunk
  • Plural: siptrunks
  • Scope: Namespaced
  • Short names: siptrunk
FieldTypeRequiredConstraints
spec.gatewayRefobjectyes-
spec.gatewayRef.namestringnomin length: 1
spec.inboundobjectnotrusted inbound trunks require inbound.dialPolicyRef
spec.inbound.allowedSourceCidrsarray[string]no-
spec.inbound.dialPolicyRefobjectno-
spec.inbound.dialPolicyRef.namestringnomin length: 1
spec.outboundobjectno-
spec.outbound.authenticationobjectnoDigest authentication requires digest settings
Digest authentication requires digest.realm
digest settings require mode Digest
spec.outbound.authentication.digestobjectno-
spec.outbound.authentication.digest.passwordSecretRefobjectno-
spec.outbound.authentication.digest.passwordSecretRef.keystringnomin length: 1
spec.outbound.authentication.digest.passwordSecretRef.namestringnomin length: 1
spec.outbound.authentication.digest.realmstringnomin length: 1
max length: 253
spec.outbound.authentication.digest.usernameSecretRefobjectno-
spec.outbound.authentication.digest.usernameSecretRef.keystringnomin length: 1
spec.outbound.authentication.digest.usernameSecretRef.namestringnomin length: 1
spec.outbound.authentication.modeenum: None, Digestnodefault: None
spec.outbound.callerIdSecretRefobjectno-
spec.outbound.callerIdSecretRef.keystringnomin length: 1
spec.outbound.callerIdSecretRef.namestringnomin length: 1
spec.terminationUristringyesmin length: 1

Status is managed by the KubeVoIP operator through the Kubernetes status subresource. Status fields are intentionally omitted from this generated reference because they can change while the resources are still alpha.

CallRoute

  • API version: kubevoip.com/v1alpha1
  • Kind: CallRoute
  • Plural: callroutes
  • Scope: Namespaced
  • Short names: callroute
FieldTypeRequiredConstraints
spec.gatewayRefobjectyes-
spec.gatewayRef.namestringnomin length: 1
spec.matchobjectyes-
spec.match.calledNumberstringnopattern: ^[+0-9.*]+$
max length: 64
spec.priorityintegernominimum: 0
maximum: 1000000
default: 1000
spec.scopeRefobjectyes-
spec.scopeRef.namestringnomin length: 1
spec.targetobjectyesexactly one route target is required
Asterisk pool routes require extension
spec.target.asteriskPoolRefstringnomin length: 1
spec.target.extensionstringnopattern: ^[0-9]+$
spec.target.sipUserRefstringnomin length: 1
spec.target.trunkRefstringnomin length: 1

Status is managed by the KubeVoIP operator through the Kubernetes status subresource. Status fields are intentionally omitted from this generated reference because they can change while the resources are still alpha.

CallScope

  • API version: kubevoip.com/v1alpha1
  • Kind: CallScope
  • Plural: callscopes
  • Scope: Namespaced
  • Short names: scope
FieldTypeRequiredConstraints
spec.gatewayRefobjectyes-
spec.gatewayRef.namestringnomin length: 1

Status is managed by the KubeVoIP operator through the Kubernetes status subresource. Status fields are intentionally omitted from this generated reference because they can change while the resources are still alpha.

DialPolicy

  • API version: kubevoip.com/v1alpha1
  • Kind: DialPolicy
  • Plural: dialpolicies
  • Scope: Namespaced
  • Short names: dialpolicy
FieldTypeRequiredConstraints
spec.gatewayRefobjectyes-
spec.gatewayRef.namestringnomin length: 1
spec.scopesarray[object]yes-
spec.scopes[].namestringyesmin length: 1

Status is managed by the KubeVoIP operator through the Kubernetes status subresource. Status fields are intentionally omitted from this generated reference because they can change while the resources are still alpha.

MediaRelay

  • API version: kubevoip.com/v1alpha1
  • Kind: MediaRelay
  • Plural: mediarelays
  • Scope: Namespaced
  • Short names: relay
FieldTypeRequiredConstraints
spec.imagestringnomin length: 1
spec.mediaobjectyesstart must not exceed end
media range cannot exceed 2000 ports
spec.media.endintegernominimum: 1
maximum: 65535
spec.media.startintegernominimum: 1
maximum: 65535
spec.networkobjectno-
spec.network.externalAddressstringnomin length: 1
max length: 253
spec.network.modeenum: Service, HostNetworknodefault: Service
spec.network.replicaOverridesarray[object]no-
spec.network.replicaOverrides[].externalAddressstringyesmin length: 1
max length: 253
spec.network.replicaOverrides[].replicaintegeryesminimum: 0
spec.network.serviceobjectno-
spec.network.service.annotationsobjectno-
spec.network.service.externalTrafficPolicyenum: Cluster, Localnodefault: Cluster
spec.network.service.typeenum: ClusterIP, LoadBalancernodefault: ClusterIP
spec.networkProfileRefobjectyes-
spec.networkProfileRef.namestringnomin length: 1
spec.replicasintegernominimum: 1
maximum: 32
default: 1

Status is managed by the KubeVoIP operator through the Kubernetes status subresource. Status fields are intentionally omitted from this generated reference because they can change while the resources are still alpha.

AsteriskPool

  • API version: kubevoip.com/v1alpha1
  • Kind: AsteriskPool
  • Plural: asteriskpools
  • Scope: Namespaced
  • Short names: astpool
FieldTypeRequiredConstraints
spec.applicationsobjectno-
spec.applications.echoExtensionstringnopattern: ^[0-9]+$
default: 600
spec.imagestringnomin length: 1
spec.replicasintegernominimum: 1
maximum: 32
default: 1

Status is managed by the KubeVoIP operator through the Kubernetes status subresource. Status fields are intentionally omitted from this generated reference because they can change while the resources are still alpha.

SIPGateway

  • API version: kubevoip.com/v1alpha1
  • Kind: SIPGateway
  • Plural: sipgateways
  • Scope: Namespaced
  • Short names: sipgw
FieldTypeRequiredConstraints
spec.databaseSecretRefobjectyes-
spec.databaseSecretRef.namestringnomin length: 1
spec.externalAddressstringnomin length: 1
max length: 253
spec.imagestringnomin length: 1
spec.internalAddressstringnomin length: 1
max length: 253
spec.mediaRelayRefobjectyes-
spec.mediaRelayRef.namestringnomin length: 1
spec.networkProfileRefobjectyes-
spec.networkProfileRef.namestringnomin length: 1
spec.replicasintegernominimum: 1
maximum: 32
default: 1
spec.serviceobjectno-
spec.service.annotationsobjectno-
spec.service.externalTrafficPolicyenum: Cluster, Localnodefault: Cluster
spec.service.typeenum: ClusterIP, LoadBalancernodefault: ClusterIP

Status is managed by the KubeVoIP operator through the Kubernetes status subresource. Status fields are intentionally omitted from this generated reference because they can change while the resources are still alpha.