Platform resources
NetworkProfiledefines shared external addressing and local networks.SIPGatewaymanages Kamailio registration, routing, and SIP edge behavior.MediaRelaymanages RTPengine replicas and media port ranges.AsteriskPoolmanages private Asterisk application pods.SIPUserrepresents a phone identity registered through Kamailio.SIPTrunkrepresents provider-neutral inbound and outbound trunk policy.CallScopegroups searchable routes.DialPolicydefines which scopes a caller can search.CallRouteroutes calls to users, trunks, or Asterisk applications.
Routing model
KubeVoIP separates caller permission from route matching:
CallScopeis a bucket of routes, such asinternalorexternal.DialPolicyis the ordered list of scopes a caller may search.CallRouteis one callable pattern inside a scope.
When a SIP user places a call, Kamailio finds that user’s DialPolicy, searches
the referenced scopes in order, and then chooses the best CallRoute inside
the first matching scope. Lower route priority wins, and ties sort by resource
name.
That means two users can see different dial plans without duplicating the whole
platform. For example, extension 100 can use a policy with internal and
external scopes, while extension 101 can use a policy with only the
internal scope.
Minimal internal calling example
An internal-only setup needs:
- one
CallScope, for exampleinternal; - one
DialPolicythat referencesinternal; - one
SIPUserper phone, each pointing at the policy; - one
CallRouteper reachable extension.
For Alice on 100 and Bob on 101, the route for Bob would match 101 and
target sipUserRef: bob. The route for Alice would match 100 and target
sipUserRef: alice.
External and application routes
CallRoute targets can also point at:
trunkReffor provider-neutral outbound SIP trunking;asteriskPoolRefplus an extension for application calls such as Echo.
Put those routes in a separate scope, such as external or applications, when
not every caller should be allowed to use them.
See the API reference for generated field details.