sbc-rtpengine-sidecar

April 1, 2023 ยท View on GitHub

This application was created with the create drachtio command. This documentation was generated at the time when the project was generated and describes the functionality that was initially scaffolded. Of course, you should feel free to modify or replace this documentation as you build out your own logic.

Configuration

Configuration is provided via environment variables:

variablemeaningrequired?
AWS_REGIONaws regionno
AWS_SNS_PORTtcp port to listen on for AWS SNS requestsno
DTMF_ONLYrun in DTMF only modeno
RTPENGINE_DTMF_LOG_PORTlistening port for rtp events from rtpengineyes
RTPENGINE_URLrtpengine websocket urlno
DRACHTIO_HOSTip address of drachtio server (typically '127.0.0.1')no
DRACHTIO_PORTlistening port of drachtio server for control connections (typically 9022)no
DRACHTIO_SECRETshared secretno
JAMBONES_CLUSTER_IDcluster idno
JAMBONES_LOGLEVELlog level for application, 'info' or 'debug'no
JAMBONES_REDIS_HOSTredis hostno
JAMBONES_REDIS_PORTredis portno
JAMBONES_SBCSlist of IP addresses (on the internal network) of SBCs, comma-separatedno
OPTIONS_PING_INTERVALSIP OPTIONS intervalno
K8Sservice running as kubernetes serviceno

SIP Request Handling

Based on the options that you have chosen,this application handles the following incoming SIP requests:

OPTIONS

The generated application responds with 200 to incoming OPTIONS messages (you should implement your own logic as appropriate).

Tests

Well, you chose not to generate the test suite when you generated the project so we got nothing for you. You may want to go back and re-generate the project using the --test flag to get an initial docker-based test suite. Just a suggestion.