Skip to content
Report Bugs Join the Community Ask Questions

Virtual Numbers(DIDs) Configuration

DIDs represent virtual numbers use to route calls from/to the PSTN through Gateways

The DIDs configuration can be provided using the file config/dids.yml located at the root of your Routr installation.

If using Redis this configuration will be store in the database.

DID Resource

Property Description Required
apiVersion Indicates the version of the resource (Not yet implemented) Yes
kind Defines the type of resource Yes
metadata.ref Reference to this resource Yes
metadata.gwRef Reference to parent Gateway Yes City of the DID No Country of the DID No
metadata.geoInfo.countryISOCode Country ISO code for the DID (ie.: US) No
spec.location.telUrl DID URI available in the location server Yes
spec.location.aorLink Address of record of SIP device for call routing Yes


- apiVersion: v1beta1
  kind: DID
    ref: DID0001
    gwRef: GW0001
      city: Columbus, GA
      country: USA
      countryISOCode: US
      telUrl: 'tel:17066041487'
      aorLink: 'sip:john@sip.local'