Skip to main content
Version: 1.x.x

Numbers

Numbers represent virtual numbers used to route calls from/to the PSTN through Gateways.

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

If using Redis this configuration gets stored in the database.

Number Resource

PropertyDescriptionRequired
apiVersionIndicates the version of the resource (Not yet implemented)Yes
kindDefines the type of resourceYes
metadata.refReference to this resourceNo
metadata.gwRefReference to parent GatewayYes
metadata.geoInfo.cityCity of the NumberNo
metadata.geoInfo.countryCountry of the NumberNo
metadata.geoInfo.countryISOCodeThe Country ISO code for the Number (i.e., US)No
spec.location.telUrlNumber URI available in the location serverYes
spec.location.aorLinkAddress of record of SIP device for call routingYes

Example

- apiVersion: v1beta1
kind: Number
metadata:
ref: Number0001
gwRef: GW0001
geoInfo:
city: Columbus, GA
country: USA
countryISOCode: US
spec:
location:
telUrl: 'tel:17066041487'
aorLink: 'sip:john@sip.local'