Skip to content

jambonz/sbc-call-router

Repository files navigation

sbc-call-router Build Status

A simple express-based web callback for routing INVITEs to the sbc-inbound or sbc-outbound app.

INVITEs are routed based on source address: if the source address is within one of the configured CIDRs for the internal network, then it is an outbound INVITE; otherwise it is an inbound INVITE.

Configuration

Configuration is provided via environment variables:

variable meaning required?
HTTP_PORT tcp port to listen on for API requests no
JAMBONES_NETWORK_CIDR Network CIDR yes
JAMBONES_LOGLEVEL log level no
JAMBONZ_TAGGED_INBOUND tagged inbound no
JAMBONES_INBOUND_ROUTE inbound route url no
JAMBONES_OUTBOUND_ROUTE outbound route url no
K8S service running as kubernetes service no

About

webapp for routing sbc calls to inbound or outbound app

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

 
 
 

Contributors 8