Sip Proxy Route Configuration (proto)

extensions.filters.network.sip_proxy.v3alpha.RouteConfiguration

[extensions.filters.network.sip_proxy.v3alpha.RouteConfiguration proto]

{
  "name": ...,
  "routes": []
}
name

(string) The name of the route configuration. Reserved for future use in asynchronous route discovery.

routes

(repeated extensions.filters.network.sip_proxy.v3alpha.Route) The list of routes that will be matched, in order, against incoming requests. The first route that matches will be used.

extensions.filters.network.sip_proxy.v3alpha.Route

[extensions.filters.network.sip_proxy.v3alpha.Route proto]

{
  "match": {...},
  "route": {...}
}
match

(extensions.filters.network.sip_proxy.v3alpha.RouteMatch, REQUIRED) Route matching parameters.

route

(extensions.filters.network.sip_proxy.v3alpha.RouteAction, REQUIRED) Route request to some upstream cluster.

extensions.filters.network.sip_proxy.v3alpha.RouteMatch

[extensions.filters.network.sip_proxy.v3alpha.RouteMatch proto]

{
  "domain": ...,
  "header": ...,
  "parameter": ...
}
domain

(string, REQUIRED) The domain from Request URI or Route Header.

header

(string) The header to get match parameter, default is “Route”.

parameter

(string) The parameter to get domain, default is “host”.

extensions.filters.network.sip_proxy.v3alpha.RouteAction

[extensions.filters.network.sip_proxy.v3alpha.RouteAction proto]

{
  "cluster": ...
}
cluster

(string, REQUIRED) Indicates a single upstream cluster to which the request should be routed to.