OpenSIPS IMS - Community Edition - Configuration

December 17, 2024 ยท View on GitHub

The OpenSIPS IMS Community Edition scripts can be configured using environment variables. These variables are utilized by the OpenSIPS pre-processing script (via the -p parameter) at startup, so they must be exported in the environment where each component is running.

Note: Docker Open5GS already includes all these variables in the .env file, so you don't necessarily need to explicitely tune them unless really needed.

Environment Variables

The following environemnt variables are being used:

Environment VariableComponentsDescriptionDefault
MCCP/I/SMobile Country Code001
MNCP/I/SMobile Network Code01
DOMAINP/I/SRoot Domain handledmnc${MNC}.mcc${MCC}.3gppnetwork.org
IMS_DOMAINP/I/SIMS Domain handledims.${DOMAIN}
EPC_DOMAINP/I/SEPC Domainepc.${DOMAIN}
PCSCF_BIND_PORTPDiameter port used by P-CSCF3871
PCSCF_IPPIP of the P-CSCF172.22.0.21
ICSCF_BIND_PORTIDiameter port used by I-CSCF3869
ICSCF_IPIIP of the I-CSCF172.22.0.19
SCSCF_BIND_PORTSDiameter port used by S-CSCF3870
SCSCF_IPSIP of the S-CSCF172.22.0.20
MYSQL_IPSUsed by S-CSCF to store information about dialplan172.22.0.17
RTPENGINE_IPPUsed to communicate with RTPEngine172.22.0.16
PYHSS_BIND_PORTI/SDiameter port the HSS is listening on3875
PCRF_BIND_PORTPDiameter port the HSS is listening on3873
UPF_IPPUsed by P-CSCF to route traffic back through UPF172.22.0.8
* The components field contains one of the initials of the CSCF sub-component. ** The default variables are mainly provided by the Docker Open5GS project - in case you are using a different setup, make sure you set them accordingly.